100

I accidentally unchecked View -> Show Menubar which hides the menubar for gnome-terminal, and there doesn't appear to be a keyboard shortcut to show the menubar again.

alt text

How can I make gnome-terminal show the menubar again?

Isaiah
  • 59,344

3 Answers3

160

Right click anywhere inside the terminal, and you'll get a similar pop up menu that lets you reenable it.

alt text


If you're running an application that controls the terminal via the Ncurses library (which are most TUI applications, like vi), you need Shift + Right-Click, or to exit or suspend the application first. (I.e. ^Z (control-Z) to suspend, then right click to get this menu, and select Show MenuBar, then finally enter % and ↵ Enter to resume.)

nteodosio
  • 144
  • 8
Jorge Castro
  • 71,754
  • 1
    and... once the menu appears, go into Edit->Profile Preferences->General and click "Show menubar by default in new windows". THis applies to at least GNOME Terminal 2.31.3 – Robert Lugg Nov 09 '18 at 21:30
  • it does not work in tmux. I need to open new tab/window and then context menu works. – rofrol Feb 20 '19 at 22:07
  • Mine was already checked. Unchecked and checked and still, no menu is shown. – Pedro77 Feb 27 '20 at 12:27
25

You can also make it via terminal command line:

gnome-terminal  --show-menubar

If you read the man gnome-terminal you can find this:

  --show-menubar
                 Turn  on  the menu bar for the last-specified window; applies
                 to only one window; can be specified once for each window you
                 create from the command line.
2

To add to Jorge Castro's answer (I can't comment on answers yet), holding shift while right clicking gives you (or me at least) that same context menu when running tmux or vi.