PDA

View Full Version : [gnome] Disable keyboard accelerators?


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

jrib
June 18th, 2009, 11:51 AM
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, 06:41 AM
Thanks a lot. It works :)

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

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

jrib
June 8th, 2011, 09:33 PM
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 :)