XFCE: screensaver bug fix

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


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


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"