Linux Lite Forums

Software - Support => Other => Topic started by: ?XO on February 09, 2022, 06:18:21 AM

Title: [How To] make screen blank and lock?
Post by: ?XO on February 09, 2022, 06:18:21 AM
I am back on my linux lite laptop, and want to run it 24/7, the issue i have is on windows i used to lock screen with (power button + L) which i was able to lock, as it was already in shortcuts. But another thing i was having on windows was pressing the power button only to turn off screen as it is always on, after pressing super + L screen goes black but i can still see screen backlight. i tried to make shortcut for making screen blank i was unable to use it with power button, and other keys were able to turn of screen when i was logged in not on lock screen. How can i do it?
Title: Re: [How To] make screen blank and lock?
Post by: ?XO on February 09, 2022, 06:26:09 AM
xset dpms force off && xflock4
did the work :p
Edit: but i have to do this twice to make screen blank on first try screen turns back on and after unlocking and locking again with shortcut it works.