Difference between revisions of "XFCE: screensaver bug fix"

Line 2: Line 2:
 
The screensaver is always on, no matter which settings you set, and it will result in a black screen after 10mn of inactivity....
 
The screensaver is always on, no matter which settings you set, and it will result in a black screen after 10mn of inactivity....
  
Solution: You have to disable '''xset'''
+
=Install Caffeine=
 +
Original article: http://www.omgubuntu.co.uk/2013/12/screensaver-stopper-caffeine-gets-first-update-two-years
  
 +
==Installation==
 +
<syntaxhighlight lang="bash">
 +
sudo add-apt-repository ppa:caffeine-developers/ppa
 +
sudo apt-get update && sudo apt-get install caffeine
 +
</syntaxhighlight>
 +
 +
==Execution==
 +
You can start caffeine by running:
 +
<syntaxhighlight lang="bash">
 +
caffeine &
 +
</syntaxhighlight>
 +
 +
You should see a new icon (cup of coffee) close to the calendar / time in the up-right corner.
 +
 +
 +
 +
 +
=Disable Xset=
 +
Solution 1: You have to disable '''xset'''
 
Original solution found at http://linux-mymemory.blogspot.se/2013/04/cant-disable-screen-saver-under-xubuntu.html  
 
Original solution found at http://linux-mymemory.blogspot.se/2013/04/cant-disable-screen-saver-under-xubuntu.html  
  

Revision as of 22:26, 20 April 2014

XFCE has a weird bug... The screensaver is always on, no matter which settings you set, and it will result in a black screen after 10mn of inactivity....

Install Caffeine

Original article: http://www.omgubuntu.co.uk/2013/12/screensaver-stopper-caffeine-gets-first-update-two-years

Installation

sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update && sudo apt-get install caffeine

Execution

You can start caffeine by running:

caffeine &

You should see a new icon (cup of coffee) close to the calendar / time in the up-right corner.



Disable Xset

Solution 1: You have to disable xset Original solution found at http://linux-mymemory.blogspot.se/2013/04/cant-disable-screen-saver-under-xubuntu.html


Disable Xset

Check your current settings:

xset q

Disable xset screensaver + blinking:

bash -c "xset s noblank; xset s off"

Then, you can check the results by running:

xset q

You should have the following lines (or alike):

Screen Saver:
  prefer blanking:  no    allow exposures:  yes
  timeout:  0    cycle:  600


Make it disable forever

To resolve this situation once and for all you must do:

  • Start menu -> Settings -> Session and startup -> Application Autostart
  • Add a new item:
bash -c "xset s noblank; xset s off"