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.


1 Answer 1


LightDM locking is controlled by the light-locker. Starting it with option --no-lock-on-suspend and then issuing command xset dpms force suspend should turn off the screen without locking the session.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.