R
R
Roman Mirilaczvili2017-01-14 21:18:41
linux
Roman Mirilaczvili, 2017-01-14 21:18:41

How to disable the monitor due to idle time while watching movies in Ubuntu 14.04?

Во время просмотра фильмов через плагин Adobe Flash (24.0) с веб-сайтов мешает отключение монитора спустя время, указанное в настройках сбережения энергии (10 минут). Приходится время от времени шевелить мышью, чтобы монитор не погас.
Как настроить чтобы при полноэкранном режиме не включался режим сбережения энергии?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
K-700A, 2017-01-14
@2ord

Look here .
Disabling Ubuntu Screen Lock During Video
We've all experienced this problem. when the screen goes blank while watching a video Ubuntu, or any other distribution. In this case, you do not need to completely disable the screen lock, there is a more elegant solution. You can disable the lock only while video playback applications are running.
To do this, Ubuntu has a Caffeine program. This program will monitor when applications from its list are running and temporarily disable the screen lock. To install the program, use the command:
$ sudo apt-get install caffeine
Then add the caffeine-indicator program to startup. Now an icon will appear in the system tray, the program will automatically detect the launch of the video and disable the screen lock. But the definition does not always work, then you can manually click on the program icon and select Activate. The icon will turn into a coffee cup with steam rising, which means disabling the Ubuntu screen saver.
But that's not all. Caffeine does not always correctly detect HTML5 video playback. But there is a solution here too. There is a script that does a much better job of disabling screen fading while watching a video. It detects when Flash, HTML5, or any other video is played and only then disables the screen lock.
You can download the script from GitHub at the link:https://github.com/iye/lightsOn/blob/master/lightsOn.sh
Further, for convenience, it is better to copy it to the bin folder:
$ cp ~/Downloads/lightsOn.sh /bin/ Grant
execution rights:
$ chmod ugo+ x /bin/lightsOn.sh
And it remains to add the script to autoload.

A
Alexey Sundukov, 2017-01-14
@alekciy

If you manage to find a normal solution, unsubscribe in this thread.
PS I tried different methods, as a result, I spat and simply turned off the transition to energy-saving mode. As I understand it, there is simply no such functionality in an adequate form.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question