keyboard shortcuts - Disable Chromium Ctrl+T, Ctrl+N, Ctrl+W, Alt+F4, etc on Linux in kiosk mode? -
is there way disable chormium's shortcut keys in linux? i've tried --app
, --kiosk
flags don't disable shortcuts, can still create new (though unusable) tab ctrl+t , can create new (fully functional) window ctrl+n. also, chromium appears it's own check alt+f4 because though have disabled in window manager close chromium. how disable shortcuts within chromium? window manager matchbox, started xorg + nodm (the default lightdm+openbox system didn't allow me auto-restart session or rid of alt+tab).
this embedded system using node.js in background handle hardware io, need network connection function want ensure users locked out of browsers (the various ctrl+alt+f* shortcuts have been removed, chromium remains in making real kiosk system). alt+f4 isn't major concern (though nice rid of) because when chromium crashes nodm automatically restart , handles alt+f4 reasonably (black screen, flashing white, it's - it's not security concern severely ugly "feature" people might stumble accross).
i don't think chromium has inbuilt interface disabling os keyboard shortcuts alt+f4, intercept key-presses javascript , should enough stop key-presses working.
to enable such script on pages, you'd need greasemonkey, chromium has support out of box, can read here.
Comments
Post a Comment