Disabling the F10 Key (menu accelerators) in Gnome Terminal

By | 2007/07/16

As promised today I will show you how to disable the gnome-terminal F10 key so you can better use it within applications like htop.  I don’t recall why I didn’t post this when I found it a few weeks ago.. probably just busy with work.  I’ll try to do better next time 🙂

To disable the F10 “feature” in gnome-terminal you have two options.  I’ll outline both.

The first option is to open the gnome-terminal and select “Edit” from the File menu, and then select “Keyboard Shortcuts”.

Within the next window check the boxes for:

Disable all menu access keys (such as Alt-f to open File menu)

Disable menu shortcut key (F10 by default)

At this point the changes should be available and the F10 key should be unused by gnome-terminal.

For the second option, you’ll need to launch the gconf-editor.  You can do this like so:

press ALT-F2.  This will open the "Run Application" dialog box for gnome.

In the field provided type "gconf-editor" and hit ENTER.

Well then need to navigate our way to the following two addresses to change what the default value may be.



What these paths mean, if it isn’t clear, is to navigate on the left-side column to “apps” > “gnome-terminal” > “global” and find the check boxes for “use_menu_accelerators” and “use_mnemonics”.

In my testing you may need to uncheck both of them for the change to work.  The change should be immediate.  The F10 key should now be available for use in htop and other similar applications that try to bind the F10 key but are unable because the focus is stolen by gnome-terminal.

Note: on some machines neither of these disable the key, and there is a public bug posted for them.  It’s late and I don’t have the bug number, but I’ll get it for you.  If you experience the same issue please add your information to the bug report.

12 thoughts on “Disabling the F10 Key (menu accelerators) in Gnome Terminal

  1. Scott Severance

    I hide the menubar and scrollbar. That seems to do the same thing. Plus, the terminal is keyboard-driven. Who needs a menubar or scrollbar? Why not have more screen space for real work?

  2. rusty

    An app that I basically haven’t been able to use at all under gnome-terminal because of it grabbing the function keys was Midnight Commander. Now I can.

    Thank You,


  3. Joe A

    I also have disabled the menu bar, and the F10 key just inserts a ‘~’ symbol. Amen to more screen space

  4. Serkan Çal??

    Actually we can use ‘q’ for that in htop but this is useful for some other applications like mc. Thank you Malcolm.

  5. asd

    How do I disable Alt+f for a GTK app?
    Better yet, how do I disable all Alt+letter sequences?

  6. Gew

    Yeah, I’d like an answer to asd’s question as well.
    ALT+F is ‘forward’ (jump to next word) in bash language.
    I like that behaviour to be present during eg. gnome-terminal sessions.

  7. pir187

    Thank you, now I can use mc and YaST the way I want to.

  8. alphanovember

    Wish this worked in 11.04, because every time one logs out it gets reset (though the boolean value doesn’t reflect it).

  9. thankyoo

    Thank you very much have been searching for this for a long time

Comments are closed.