sometimes one want’s to lock they keyboard against any hacking attempts by the baby, while watching documentaries about animals

su - root
apt update
apt install xtrlock

# test it
bash -c "sleep 1 && xtrlock"

# when the mouse is moved the lock appears and no input can be done

# how to unlock/quit the program:

# switch to another terminal Ctrl+Alt+F1
su - root
ps uax|grep xtrlock
pkill xtrlock

vim /usr/local/bin/lockkbmouse

#!/usr/bin/env bash
sleep 1 && xtrlock

chmod +x /usr/local/bin/lockkbmouse


average rating 0 / 5. based on ratings 0

not rated yet