I search for a way to lock the controls (mouse and keyboard) while still showing the applications on the screen. I think about something where I press an key combination to de/-activate the mode and to deactivate I need a password
Asked
Active
Viewed 109 times
1
-
1We've been given no details as to your OS/product/release, are you hoping we guess correctly? Why not tell us? – guiverc Apr 22 '23 at 07:42
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Apr 23 '23 at 02:08
1 Answers
0
You can do this with the xtrlock
package, which is available from the Ubuntu official repositories.
First, install it with:
sudo apt install xtrlock
Then, create your keyboard shortcut in:
Settings -> Keyboard -> Keyboard Shortcuts -> Custom Shortcuts -> Add Shortcut and add:
sh -c 'sleep 1 && xtrlock'
in the shortcut's "command" field.
Finally, you activate it with your chosen key shortcut and deactivate it with simply pressing Enter then typing your password and then press Enter again.

Raffa
- 32,237