Documentation
RPI Distribution Setup
NPM Packages
Search…
Table of Contents
Tutorials to go through
Raspberry Pi
Raspberry Pi
USB Drives
P5.js
Pins
Build an MQTT Server Using Raspberry Pi
Static IP
Scripts
Distribution Setup
HDMI Hotplug
CM4 Setup
PM2
Startup Script
Systemd Services
Display Rotation
Raspberry Pi Display
Sleep Prevention
Kiosk Mode
RTC
Programming
Programming
Homelab
Upcoming projects
Services
Reference
Interesting Open Source Projects
Projects
Projects
3D Printing
Klipper
Input Shaper
CAD
Non-Ender 3 Pro
Voron
ESP32/8266
ESPTOOL
ESP MQTT
Alamods
Alamods
PR21472
Page 1
arduino cli
Quality Statistics
CSS-Tricks
Powered By
GitBook
Sleep Prevention
Prevent the Raspberry-Pi From Sleeping
1. In Raspberry Pi terminal paste the following command
sudo nano /etc/lightdm/lightdm.conf
2. Insert the following at the bottom of the lightdm.conf file
lightdm.conf
xserver-command=X -s 0 dpms
3. Save, exit, and reboot
Previous
Raspberry Pi Display
Next
Kiosk Mode
Last modified
1yr ago
Copy link