Disable Ubuntu screensaver during video playback

Despite all the codecs and video drivers are installed and updated, while playing streaming video (including YouTube) on Ubuntu 13.10 the screensaver is activated as if the computer were unused.

To avoid the screensaver during streaming there are two solutions: increase the timeout or install Caffeine (alternatively you could also write a script that moves the mouse every few seconds !!). The first solution, there is no need for me to tell you, it is quite inconvenient, because from time to time we would have to set the screensaver timeout, so let's see how to install and 'configure' Caffeine.

Caffeine installation

Let's open our terminal and add the Caffeine repository

sudo add-apt-repository ppa: caffeine-developers / ppa

 

then we update and install the application:

sudo apt-get update sudo apt-get install caffeine

 

at the end we should find ourselves a beautiful one Cup of coffee as an icon between the applications in the top bar and, if this is not the case, we restart the session.

caffeine-menu


The configuration is very simple. By clicking on the icon we have the two fundamental options activate / deactivate Screensaver e Pref Renze. With the first option we decide if the screensaver should activate or not and works with any application we are using. Through the preferences, instead, we can add the applications with which Caffeine will activate automatically, thus deactivating the screensaver. For example, to ensure that the screensaver is automatically deactivated during streaming video playback, we add the browser used (Firefox, chromium-browser, ..) or add the program used to watch videos locally (Rhythmbox, etc). If the program (process) has been added correctly, the icon will appear on the left.


caffeine-programs
The Caffeine icon will vary from a simple cup, with active screensaver, to a steaming cup if the screensaver has been deactivated.



UPDATE: Caffeine also works on Ubuntu derivatives and on versions prior to 13.10. By doing a test on Kubuntu 12.04, Caffeine needs 2 dependencies to work:

sudo apt-get install python-glade2 gir1.2-notify





Caffeine on Launchpad

Share
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
💣 Don't get away Xiaomi Mi Electric Scooter Pro 2 Global on offer for only 375 € with Mi Band 5 as a gift and free shipping from Europe!

Receive the latest posts by email

Enter the email and choose the inscriptions on the new page

InTheBit.it
Added devices
  • Compare Smartphone (0)
Compare
0