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?

1
  • Wow, yeah I just realised the menu is gone now that I want to change projects - this is so very unusable. None of the suggestions below worked for me on Ubuntu 16 LTS with ST3 updates all applied.
    – danjah
    May 17, 2016 at 10:39

6 Answers 6

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.

3
  • 3
    Oy - 2 and 1/2 years later and still no context menu or something to bring it back.
    – CramerTV
    Apr 5, 2016 at 0:55
  • @Blossoming_Flower - thx - do you also know how to make the menu permanently appear, rather than only being visible when you hover over it with a mouse?
    – BenKoshy
    Jan 22, 2017 at 5:05
  • Link is also dead.
    – Eray Erdin
    May 1, 2020 at 13:29
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.

7
  • Interestingly, compared to the OP, I had the reverse problem: As of build 3065, it seems they removed the View -> Hide Menu entry. Your solution was the only one that actually made the menu disappear. Thank you so much!
    – balu
    Nov 28, 2014 at 20:44
  • I'm glad I could help :) The accepted answer also works for me on build 3065.
    – jeremija
    Dec 1, 2014 at 10:45
  • Ok, this is really strange. Maybe it has something to do with the fact I'm using a tiling window manager (namely, i3).
    – balu
    Dec 1, 2014 at 14:32
  • It's called View: Toggle Menu, not View -> Hide Menu - maybe that's why you can't find it? P.S. I've never tried i3, but I really like i3lock :)
    – jeremija
    Dec 1, 2014 at 14:36
  • No, it's really not there. :(
    – balu
    Dec 1, 2014 at 15:36
16

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

1
  • 2
    Not on Linux: if the menu bar is hidden, Alt+something does nothing.
    – Tobia
    Dec 19, 2016 at 11:09
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,

1
  • 1
    This duplicates another answer and adds no new content. Please don't post an answer unless you actually have something new to contribute.
    – DavidPostill
    Dec 5, 2015 at 22:24
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .