Views:
621
Votes: 1
✅ Solution
Tags:
command-line
screen
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/1134773
Title:
Turning screen off when running in without window manager running
ID:
/2019/04/17/Turning-screen-off-when-running-in-without-window-manager-running
Created:
April 17, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
I would simply close the laptop lid to keep dust off the keyboard and power off the screen.
As no desktop manager is running you need to edit /etc/systemd/logind.conf
and change this line:
#HandleLidSwitch=suspend
to this:
HandleLidSwitch=ignore
Save the file and use systemctl restart systemd-logind