How do I block all the keyboard shortcuts in linux
How do I block all the keyboard shortcuts in linux? Can these shortcuts be generated from some script? If yes, how can I trap these events so that system does not process those key events.
I read ab开发者_如何学运维out XGrabKeyboard for trapping all key events but not sure this will work for touch screens as well.
If your goal is to block ctrl+alt+del, just edit /etc/inittab and comment this line:
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
精彩评论