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.

Your Answer

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

Browse other questions tagged or ask your own question.