disable all hotkeys with dconf-editor
- by Gijs
I'm building a deb package that will create a kiosk user account. When you login to this account, the browser automatically starts and navigates to a pre-given website. Also all the hotkeys should be disabled except for one you defined.
Now I'm at the part that the browser starts and my disable script is excecuted on logon but for exaple, I can still close the browser with Alt + F4.
And when i check the dconf-editor for the hotkeys, for every single one the bind is deleted, but mine for close isn't added. Like you can see in the printscreen.
I disabled all these keys with this code, one line for evere hotkey
gsettings set org.gnome.desktop.wm.keybindings begin-resize []
So this seams to work, but at the bottom of my disable script this line should be executed.
gsettings set org.gnome.desktop.wm.keybindings close ['<Alt>b']
Does anyone know why i'm able to unbind all these hotkeys in my dconf-editor but they are able to still do their job? And when it is possible to unbind them, why cant I bind mine?
I searched the web for a solution but couldn't find one fitting my needs, I hope some of you know the answer to this.
Regards
Gijs