How do I disable the F10 (application menu) keybinding in Ubuntu 11.10? [duplicate]
11.04
Disabling the F1 shortcut
In a gnome-terminal open up Edit ➜ Keyboard Shortcuts.
-
Scroll down to the Help/Contents shortcut, click where it says "F1" and hit Backspace:
Disabling the F10 shortcut
-
Install the compizconfig-settings-manager package.
- Warning: What are some of the issues with CCSM and why would I want to avoid it?
-
Open up CompizConfig Settings Manager.
- Hit Super to open the Dash, type "Compiz" and hit Enter.
Type "unity" in the Filter entry and select the Ubuntu Unity Plugin.
-
Click the button to the right of Key to open the first panel menu and uncheck the Enabled checkbox.
-
That disabled the global F10 shortcut, now disable gnome-terminal's F10 shortcut:
-
In a gnome-terminal open up Keyboards Shortcuts (Edit ➜ Keyboard Shortcuts) and
uncheck Enable the menu shortcut key (F10 by default)
-
-
F10 is mapped to menubar_accel by something in Ubuntu. Gnome? Metacity? Not sure what exact thing it is that steals it, but the key doesn't make it to Eclipse.
- Run gconf-editor, browse to /desktop/gnome/interface then scroll down to menubar_accel and delete the F10 value. [Stolen from here]
Disable F10 in gnome-terminal in 12.04
Type this in the console:
mkdir -p ~/.config/gtk-3.0
cat<<EOF > ~/.config/gtk-3.0/gtk.css
@binding-set NoKeyboardNavigation {
unbind "<shift>F10"
}
* {
gtk-key-bindings: NoKeyboardNavigation
}
EOF
Then close all terminal sessions. Now it should work as it should (in mc
for example).
- https://bugs.launchpad.net/ubuntu/+source/unity/+bug/726639/comments/18
- https://bbs.archlinux.org/viewtopic.php?pid=1017546#p1017546
start gconf-editor
and follow /apps/gnome-terminal/keybindings/help
Description:
"Keyboard shortcut key for launching help. Expressed as a string in the same format used for GTK+ resource files. If you set the option to the special string "disabled", then there will be no keyboard shortcut for this action."
I am new to Linux and this F10 key drives me crazy. All above tricks didn't work, but I found now a solution (for Ubuntu 11.10 with Gnome 3 classic desktop). In a terminal, enter the following command:
gsettings set org.gnome.desktop.interface menubar-accel ""
With dconf-editor it can be found that the F10 is really gone. Note that these kind of tricks seem to be highly Gnome / Ubuntu version dependent.
For exiting mc (with F10 key). Disable "Key to open the first panel menu" in unity compiz plugin (ccsm)