Im working with a kiosk software, and it can easly be exited with the escape key. Theres no way to disable this behaviour, why I would want to simply disable the escape key completely.

I tried with executing:

xmodmap -e "keycode 9 ="

from .Xsession, but that does not help. (Im sure that .Xsession runs, because there is other commands in .Xsession which are run correctly).

link|improve this question
Maybe some system setting is being applied after your .Xsession. For example, here's a workaround for gnome. – Gilles Nov 15 '10 at 20:31
feedback

1 Answer

up vote 0 down vote accepted

As a hack, you could use a global shortcut program like Xbindkeys, and bind the escape key to /bin/true, which does nothing.

link|improve this answer
Thanks, works perfectly. – sebastian nielsen Nov 15 '10 at 9:08
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.