disable all hotkeys with dconf-editor

Posted by Gijs on Ask Ubuntu See other posts from Ask Ubuntu or by Gijs
Published on 2014-08-20T21:59:47Z Indexed on 2014/08/20 22:33 UTC
Read the original article Hit count: 510

Filed under:
|
|
|
|

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.

enter image description here

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

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about gnome