Pass F10 to the application in Gnome-terminal
Solution 1
Go to Edit->Keyboard
Shortcuts
And uncheck "Enable the menu shortcut key"
to turn it off.
Reference link : here.
Solution 2
On Ubuntu 20.04.1, Gnome version 3.36.8 it is:
Gnome terminal's "hamburger menu icon"
> Preferences
> "General" tab
> Uncheck the item labeled "Enable the menu accelerator key (F10 by default)"
Just a remark: on the same system, a dconf / gsettings setting exists:
/org/gnome/terminal/legacy/
shortcuts-enabled
Its default value is true
. Currently it does not seem to impact / conflict with the choice made in the terminal preferences UI. Nevertheless I believe it may be useful to remain mindful of its existence... Just in case one day it may start to interfere again ;)
Solution 3
The best way I found in gnome 4 on a Fedora 35 to disable F10 shortcut :
gsettings set org.gnome.Terminal.Legacy.Settings menu-accelerator-enabled false
Hope it helps :)
Related videos on Youtube
DragonZ
Updated on September 18, 2022Comments
-
DragonZ over 1 year
I'm running old Debian machine: Distributor ID: Debian Description: Debian GNU/Linux 5.0.2 (lenny) Release: 5.0.2 Codename: lenny
I open terminal and run Midnight Commander in it. Now I need to quit by pressing F10. But When I do this I'm getting terminal menu:
How to get MC menu and not terminal one by pressing F10?
-
Greenonline over 2 yearsDoes this answer your question? Why does F10 in gnome-terminal open the right-click menu?. It seems to be generating duplicate answers.
-
-
vic-3 over 5 yearsUbuntu 18.04 edit->preferences->general (uncheck) enable the menu accelerator key (F10 by default)
-
John Greene about 4 yearsNow F10 no longer works in allow application to receive that F10 keystroke value. Debian 11, Gnome-Terminal 3.30.2