Sample Header Ad - 728x90

"xset dpms force off" also logout from desktop

2 votes
1 answer
1519 views
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.
Asked by Milad ABC (173 rep)
Jun 30, 2018, 07:45 PM
Last activity: Nov 15, 2020, 01:37 PM