5

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?

Jacobm001
  • 11,898
  • 7
  • 46
  • 56
cventu
  • 153
  • 4
  • 2
    Have you tried this http://raspberrypi.stackexchange.com/questions/2059/disable-screen-blanking-in-x-windows-on-raspbian/2079#2079 – 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

1 Answers1

4

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

rob
  • 2,803
  • 2
  • 21
  • 31