PDA

View Full Version : [ubuntu] how to permamently disable or change default key bindings



detl_
January 19th, 2013, 05:46 PM
Hi,
I want to know how I can modify the default keybindings on my Ubuntu 12.10 system using Unity window manager.
I want to disable 'move window' keybinding ALT-F8 and ALT-F7.
I changed it in keyboad->shortcuts but every time I reboot my machine the default settings seem to be back.

Does somebody has got an idea what I can do ?

thank you,
detlef

stinkeye
January 19th, 2013, 06:22 PM
Run each command in terminal...

gsettings set org.gnome.desktop.wm.keybindings begin-resize []
gsettings set org.gnome.desktop.wm.keybindings begin-move []

To revert changes use...

gsettings reset org.gnome.desktop.wm.keybindings begin-move
gsettings reset org.gnome.desktop.wm.keybindings begin-resize

detl_
January 21st, 2013, 08:24 PM
Hi,
thank you. I added these lines to my .profile.
One thing is still open for me:

When I check the keys I can find 'panel-main-menu' is bound to ALT+F1.
This I also want to 'free' for my application. If I set it to [] however,
this has got no effect.
Seems there is another key binding config for unity ?

Maybe you know that.
Thanks in advance.

detlef

stinkeye
January 23rd, 2013, 05:38 AM
The gsettings command

gsettings set org.gnome.desktop.wm.keybindings panel-main-menu []
should disable alt+F1 in dconf and
ccsm > Gnome Compatibilty
230510

However there is another setting to disable in
ccsm > Ubuntu Unity Plugin
230511