Skip to content

Instantly share code, notes, and snippets.

@cmnstmntmn
Created February 17, 2015 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmnstmntmn/4ab88488c372973ebdec to your computer and use it in GitHub Desktop.
Save cmnstmntmn/4ab88488c372973ebdec to your computer and use it in GitHub Desktop.
Open a root terminal in raspberry Pi. Now you need to edit your script that's starting X. In the default build with lightdm.
Open "lightdm.conf" file located in,
/etc/lightdm/lightdm.conf
Add below line in to SeatDefault section.
[SeatDefaults]
xserver-command=X -s 0 -dpms
Restart your Raspberry Pi.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment