


To disable both left and right CTRL keys (to prevent something like CTRL+ W, CTRL+ T, etc.), then with: xmodmap -e "keycode 133 = "īoth left and right SUPER keys (Windows Keys) (to prevent opening the start menu and such fancy stuff)Īnd then finally with xmodmap -e "keycode 105 = " I disabled the ALT key (to prevent ALT+ F4, etc.).Īnd optionally, we can disable F1 too, so that the Chrome Support Page doesn't open, with: xmodmap -e "keycode 67 = "įinally, let Chromium or Chrome lock the rest down for us using Kiosk Mode: chromium-browser -kiosk Īnd right click is already disabled in kiosk mode, so we don't need to change anything there. Knowing the keycodes, I used: xmodmap -e "keycode 37 = " Under Linux, I used xmodmap -pke to find out which key is mapped to which code. If you don't use the CTRL and ALT keys in the browser at all, you can disable them in the OS itself. I know this question is quite old, but I found a solution that works for me (and probably many others too).
