Wednesday, January 8, 2014

Disable Suspend mode on Raspberry Pi

The file /etc/lightdm/lightdm.conf is the configuration of LighDM, display manager. To disable Suspend mode, edit the file with the command:

$ sudo nano /etc/lightdm/lightdm.conf

Scroll down to [SeatDefaults] section, uncomment and edit the command "xserver-command=X" to enter X server command to run:
xserver-command=X -s 0 -dpms

-s 0 sets screen-saver timeout time in minutes.
-dpms disables DPMS (display power management services).


Restart your Raspberry Pi.

No comments: