You are not logged in.
Hello arch family, I'm new to linux
I'm using Arch Linux with Gnome as DE and lightdm as display manager.
I have a keyboard shortcut with the
xset dpms force off command for turning off the laptop monitor.
When I execute this command display goes off but when I press any key it turns up to the lightdm login screen
I just want to turn off the screen not log out from the desktop.
here is
~/.xscreensaverfile:
newLoginCommand: light-locker-command -l
timeout: 0:10:00
fade: True
unfade: False
fadeSeconds: 0:00:03
fadeTicks: 20
dpmsEnabled: True
dpmsStandby: 0:10:10
dpmsSuspend: 0:30:00
dpmsOff: 4:00:00How should I configure this file to do so?
Thanks
Offline
Check your journal, this is likely a bug in gnome or lightdm.
What could happen is that the display turns off, drops power, gets unregistered, you end up with effectively a headless system and something™ cannot deal with that and crashes.
This has nothing to do with xscreensaver (unless you really just wait a long time and the foced off is insignificant) and DPMS neither somehow causes a session termination.
Offline