90

The newest version of ST3 allows linux users to remove their menu bar, but I fail to see how to bring it back. In Windows, pressing Alt shows the menu, but not so in Linux. How can I get it back? Is there a shortcut I can set, or make it so that Alt shows it?

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
timetofly
  • 2,171

6 Answers6

116

See Show Menu in Sublime:

Ctrl+Shift+p then type vmen

I have yet to figure out how to make it a key binding. Will update when/if I do.

Edit: see jeremija's answer below to see how to set a hotkey.

timetofly
  • 2,171
49

If you wish to add a hotkey you can edit your Default (Linux).sublime-keymap file:

  • press CTRL+SHIFT+P
  • typing key bindings user
  • select Preferences: Key Bindings - User

This should open the Default (Linux).sublime-keymap file. Add this line:

{"keys": ["ctrl+alt+m"], "command": "toggle_menu"}

If your .sublime-keymap file was empty, you should wrap the above in JSON array brackets [ and ], like so:

[
    {"keys": ["ctrl+alt+m"], "command": "toggle_menu"}
]

After you save the file, Sublime should reload the hotkey bindings automatically and you should be able to use the CTRL+ALT+M hotkey to toggle the menu bar.

I still miss the ability to show the menu just by pressing ALT+LETTER to open the specific menu automatically, but this (along with the Command Palette) helps a lot.

jeremija
  • 591
16

You can simply press "alt+v" ,you will see menu bar then click "show menubar".

Chintan
  • 161
  • 1
  • 2
6

Close Sublime.

Edit ~/.config/sublime-text-3/Local/Session.sublime_session

Change all instances of menu_visible to be true, e.g.: "menu_visible": true

Close, save, and restart Sublime.

3

(OpenSuse 13.2)

In the file /home/.config/sublime-text-3/Local/Session.sublime_session

locate this line (around 165) and change the "false" to "true" like this:

"menu_visible": true,

Atakan
  • 39
1

I found a solution. In terminal:

sudo gedit /usr/share/applications/sublime_text.desktop

Add env UBUNTU_MENUPROXY=0 in Exec= before /opt/* as shown in fig.

Enjoy!

Ref: https://stackoverflow.com/a/38388249/6815550