PDA

View Full Version : [gnome] Disable keyboard accelerators?



Fzang
June 3rd, 2009, 02:20 PM
Is it possible to disable keyboard accelerators in GNOME (or whatever controls it)?

jrib
June 18th, 2009, 04:51 PM
Is it possible to disable keyboard accelerators in GNOME (or whatever controls it)?

Add the following to your gtkrc (use ~/.gtkrc or ~/.gtkrc.mine if your ~/.gtkrc sources it) [1]:



gtk-enable-accels = 0
gtk-enable-mnemonics = 0


Also, for firefox, set the following to 0 in about:config [2]:



ui.key.generalAccessKey
ui.key.chromeAccess
ui.key.contentAccess
ui.key.menuAccessKey


[1] http://library.gnome.org/devel/gtk/stable/GtkSettings.html
[2] http://kb.mozillazine.org/About:config_entries

Fzang
June 19th, 2009, 11:41 AM
Thanks a lot. It works :)

jrib
June 19th, 2009, 02:17 PM
Yep, I have to disable it so the alt-* emacs keybindings for gtk text entries work right

erjoalgo
June 9th, 2011, 02:30 AM
Dude, all you need to do is disable the menu bar on the terminal where you are using emacs.
*facepalm*

jrib
June 9th, 2011, 02:33 AM
Dude, all you need to do is disable the menu bar on the terminal where you are using emacs.
*facepalm*

no one is using emacs :)