Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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).

share|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
add comment

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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