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?
6 Answers
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.
-
3Oy - 2 and 1/2 years later and still no context menu or something to bring it back.– CramerTVApr 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?– BenKoshyJan 22, 2017 at 5:05
-
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.
-
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!– baluNov 28, 2014 at 20:44
-
I'm glad I could help :) The accepted answer also works for me on build 3065.– jeremijaDec 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).– baluDec 1, 2014 at 14:32
-
It's called
View: Toggle Menu
, notView -> Hide Menu
- maybe that's why you can't find it? P.S. I've never tried i3, but I really like i3lock :)– jeremijaDec 1, 2014 at 14:36 -
You can simply press "alt+v" ,you will see menu bar then click "show menubar".
-
2
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.
(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,
-
1This 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
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!