¡@

Home 

python Programming Glossary: xinput

How do I 'lock the keyboard' to prevent any more keypresses being sent on X11/Linux/Gnome?

http://stackoverflow.com/questions/10740067/how-do-i-lock-the-keyboard-to-prevent-any-more-keypresses-being-sent-on-x11-li

This can be done easily with a shell script using xinput # bin sh do_it # need error checking there. We should also restrict.. # deactivated by checking other properties. keyboard_ids xinput list sed rn 's . id 0 9 . slave s keyboard. 1 p' for keyboard_id.. in keyboard_ids do # 121 is Device Active . # use xinput watch props device_id to see some properties. xinput set int..