Thanks to plenty of clear and sufficient advices about getting rid off 'screen saver', I can say I am pretty experienced in that field (at least theoretically)... However I did not solve the problem yet!

The thing is, that this solution (which seems to be the best one) after few moments of waiting, gives me a black&white picture - a perfect one to make sb feel dizzy. It looks like some kind of repeatable, deformed-checker pattern.

Poking the mouse or pressing any key makes it disappear and recovers the normal screen.

Could you please give me any hints to check out what actually went wrong?

I am running the latest distribution of Raspbian on Raspberry Pi 2.0. In the background there are an Apache, FTP and MySQL servers running and also Chromium in the kiosk mode.


  • 1
    Did you make these entries in the global config file in /etc or in your home directory /home/pi? Nov 26, 2012 at 22:34
  • Thanks for the response. I have tried both ways, but only second one brought me to any noticeable change - I mean appearance of psychedelic checkers in place of normal black screen.
    – FJaskolski
    Nov 26, 2012 at 23:40
  • 2
    To be clear you have tried adding the following 3 lines (without the number and right parenthesis) lines to your /etc/X11/xinit/xinitrc file: 1) xset s off 2) xset -dpms 3) xset s noblank The first specifically disables the screen saver Nov 26, 2012 at 23:50

1 Answer 1


I end up with this solution - it is rather an work-around, but at least it does the job.

You need to create two files. First one, i.e. disableSS.desktop:

[Desktop Entry]
Exec=sh /home/user/disableSS.sh

It basically just runs a shell script from the defined path. It should be placed in your /home/user/.config/autostart/ folder.

And the second one, disableSS.sh:

xset s off
xset -dpms
xset s noblank
setterm -blank 0

Those lines prevent the screen from blanking, but just temporarily (for actual session). This is the reason of wrapping them into a script and launching them with every Raspbian start. Place the 2nd file in your /home/user/ folder.

Again: I cannot guarantee this solution is the best one, but it works fine for me.

After implementing above, the issues with screen never occurred again.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.