4

I am using a Raspberry Pi connected to a TV (monitor) to show some information; it is inactive most of the time. My problem is that the screen turns off every five minutes.

This is what I tried with no success:

  1. Set blank time and power down time as follows in /etc/kbd/config

    BLANK_TIME=0
    POWERDOWN_TIME=0

  2. Added these lines to /etc/xdg/lxsession/LXDE/autostart

    @xset s noblank
    @xset s off
    @xset -dpms

  3. Added these lines to /etc/xdg/lxsession/LXDE/autostart

    xset s off
    xset -dpms
    xset s noblank

Any idea on how can I solve this?

  • 2
    Have you tried this raspberrypi.stackexchange.com/questions/2059/… – Steve Robillard Dec 22 '15 at 15:15
  • for my raspbian/jessie based Pi the @xset lines are in ~/.config/lxsession/LXDE-pi/autostart and work correctly – rob Dec 22 '15 at 15:28
  • 1
    Like @rob said, you need to add those lines to LXDE-pi/autostart not LXDE/autostart – dhruvvyas90 Dec 22 '15 at 17:12
  • Thanks rob, I moved those lines to LXDE-pi and it is working fine now. If you want to make your comment an answer I will be glad to accept it – cventu Dec 22 '15 at 17:56
3

Paths seem to have changed in the Jessie Raspbian.

Try putting the

@xset s noblank
@xset s off
@xset -dpms

lines in the ~/.config/lxsession/LXDE-pi/autostart file not the LXDE/autostart

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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