Have a Question?
401 TIP: Keep Official 7″ Raspberry Pi Touchscreen On
One of the challenges that I ran in to was to disable the blanking of the Official 7″ Raspberry Pi Touchscreen. Disabling it in the GUI was easy, but disabling it from a SSH session for a GUI based install was difficult. Until I looked at the source code for rasp-config and saw how the Raspberry Pi Foundation did it.
All you need to do is add, or edit one file and reboot. Here are the steps:
sudo nano /etc/X11/xorg.conf.d/10-blanking.conf
Once in the file add or edit the following lines:
Section "Extensions" Option "DPMS" "Disable" EndSection Section "ServerLayout" Identifier "ServerLayout0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" Option "BlankTime" "0" EndSection
All that is left is a reboot and you are off to the always on Office 7″ Raspberry Pi Touchscreen.