This question is different from Keyboard shortcut for Lockscreen not working.
Ubuntu version: 18.10.
In Settings > Devices > Keyboard, lock screen is set to SUPER+L (aka WINDOWS+L).
As a user, when I press the lock screen shortcut, I want the screen to be locked and all currently running applications to be out of view, so that anyone else cannot view my screen when I am away from my computer.
Expected result
- All running applications disappear from view and are replaced with a lock screen (either a screensaver or a login screen).
- All keyboard input is restricted to the password field of the login screen.
- All mouse input is restricted to login fields, and to the icons in the top right of the screen (accessibility, network, power off).
Actual result
- All running applications are still visible
- The computer does not appear to respond to keyboard input
- I cannot type anything in a running terminal that was in focus
- I cannot ALT+TAB to another application.
- I can move the mouse, but reaction to mouse input is restricted to the icons in the top right.
- When I click on one of the items, it appears as if there are 2 identical dropdowns overlayed, with a few pixels off, and the view switches between them, so it looks like there is a ghost image.
Workaround
- Pressing SUPER+L, followed by CTRL+ALT+F1, turns the screen black.
- When I move the mouse, the screen turns on, and I see the lock screen.
systemctl suspend -i
is the command to turn the system to sleep state. – vanadium Dec 12 '18 at 13:55systemctl suspend -i
, the screen blanks. – Amedee Van Gasse Dec 12 '18 at 16:30