开发者

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜