Tag Info

New answers tagged


At least on Debian-based systems such as Ubuntu there is a utility called xtrlock (1) available through the package repositories. This utility locks the keyboard and mouse until the password is entered while leaving windows visible. I find it useful for computers running information displays and the like.


First use xinput list to get the device ID for your mouse, and then use xinput --set-prop [ID#] "Device Enabled" "0" and xinput --set-prop [ID#] "Device Enabled" "1" to disable and enable the mouse. Source

Top 50 recent answers are included