Sign up ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I'm using Raspbmc. I'd like the display to actually go to sleep (not simply just screensaver) after 15 minutes, but I can't seem to find any option for that in the settings. Am I missing something?

share|improve this question
There are many people in the same boat. They discuss this issue in detail, and have several fixes. They use the tvservice command, with some work arounds. Have a look, hope it helps. – Impulss Jan 22 '13 at 4:20

2 Answers 2

Case 1 : for x11 with no auto start X

$ vim ~/.xinitrc

xset s off # don't activate screensaver
xset -dpms # disable DPMS (Energy Star) features.
xset s noblank # don't blank the video device

Case 2 : for X11 with auto start X

Follow the instructions for Case 1, then

$ vim /etc/lightdm/lightdm.conf

xserver-command=X -s 0 -dpms

cd ~/.config
mkdir autostart
cd autostart
vim screensaver.desktop

[Desktop Entry]

Case 3 : bash without X

$ sudo vim /etc/kbd/config


$ sudo /etc/init.d/kbd restart
share|improve this answer
Hey @Gilles, welcome to RPi.SE. Great answer. It would be even better if you could add a link to your references and/or add some commentary to help beginners along the way. – Alex Chamberlain Aug 30 '13 at 7:14
This just disables the screensaver entirely. How do you set X to use a screensaver after a specific amount of time? – AgentME Feb 27 at 7:49

There is an undocumented option in /boot/config.txt that might help you:


Tried and tested under Raspbian "Jessie" (not Raspbmc). The display goes to sleep after about 10 minutes of inactivity. Source:

[Note that the Pi itself cannot sleep like grown-up PC-s do.]

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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