35

I am using Ubuntu 12.04 LTS and I got the Sublime Text editor from here.... http://sublimetext.com/3

I've googled this a lot and even after doing Alt+V I don't see an option to 'Show Menu'.

Here is a section of my .config/sublime-text-3/Local/Session.sublime_session:

"menu_visible": true,
"output.find_results":
{
    "height": 0.0
},

and

"distraction_free":
{
    "menu_visible": true,
    "show_minimap": false,
    "show_open_files": false,
    "show_tabs": false,
    "side_bar_visible": false,
    "status_bar_visible": false
},

But I can see the menu bar neither in default state nor in Distraction Free mode

I'm at a loss as to how to see the menu bar. I have an unregistered version by the way.

Chnossos
  • 9,971
  • 4
  • 28
  • 40
user3490188
  • 499
  • 2
  • 6
  • 14

12 Answers12

88
  • Invoke the command palette with CTRL + SHIFT + P
  • Type menu
  • Select View: Toggle Menu
Chnossos
  • 9,971
  • 4
  • 28
  • 40
  • 1
    I do Ctrl+Shift+P and when I type menu nothing appears. – user3490188 Apr 03 '14 at 19:49
  • Some research shows it is some kind of bug with ubuntu, try looking at [some related topics](http://www.sublimetext.com/forum/viewtopic.php?f=3&p=29721). [Try this too](http://www.thefourtheye.in/2014/01/un-hiding-menu-bar-in-sublime-text-3.html). – Chnossos Apr 03 '14 at 20:01
  • It's strange. I tried F10, and the menu comes up but it is at the top of the screen and not where Sublime Text is. Setting menu_visible:true did not work in Session.sublime_session. It HAS to be a bug. – user3490188 Apr 03 '14 at 20:19
  • This works fine with Sublime Text 3 on elementary OS. :) – Munshi Azhar Dec 14 '19 at 03:15
10

If the above solution doesn't work for someone, try:

dconf reset -f /org/compiz/
setsid unity

This should work ! I was having this problem with other apps too... So I just reset the whole thing.

10

Press Ctrl + Shift + p

Search for menu

Click on view: Toggle Menu

It will work

linktoahref
  • 7,812
  • 3
  • 29
  • 51
Swadesh Ranjan Dash
  • 544
  • 1
  • 4
  • 17
9

Apparently there is an undocumented toggle_menu command, so you can bind a key to it. But Alt alone does not seem to work - I guess because it's a modifier key for SLT.

.../User/Default (Linux).sublime-keymap:

[
    { "keys": ["f10"], "command": "toggle_menu"}
]
dualed
  • 10,262
  • 1
  • 26
  • 29
8

Simple pressing Alt works for me. I'm using sublime text 3

i474232898
  • 781
  • 14
  • 25
7

In Windows, you can press the Alt key and menu will reappear .

In Linux, You need to press Ctrl + Alt + P then menu will appear in center of the screen then you need to choose View -> Hide/Show Menu menu entry.

Then this will be permanently set as default.

linktoahref
  • 7,812
  • 3
  • 29
  • 51
Manoj Sharma
  • 1,467
  • 2
  • 13
  • 20
7

For me it worked this way:

I am using ubuntu 18.05 lts

ctrl+shift+p and then you get a search bar with all options. Type view and select View: Toggle menu

it will appear back automatically.

Suraj Thakur
  • 71
  • 1
  • 1
2

In case there are other Linux/Ubuntu/Gnome Desktop Environment n00bs out there, like me, note that the menus may appear at the top of the screen rather than the top of the window, as per the screen shot below:

Gnome Desktop Environment menu for Sublime Text 3

0

For Linux, folow below steps

  1. Close sublime text
  2. Go to /home/-user-directory-/.config/sublime-text-version-/Local/
  3. vim/edit Session.sublime_session
  4. Look for the last line with “menu_visible”:false,
  5. change value to true
  6. Save the file
  7. Reopen sublime text
0

I was having the same problem. And the solutions didn`t wok: there wasn't view -> Hide/Show Menu; neither there wasn't View: Toggle menu.

From this post below I found a comment from @MattDMo explaining the following:

"The default Adaptive theme doesn't show the menu, just the hamburger. To get the menu back, go to Preferences -> Select Theme… and choose anything other than Adaptive.sublime-theme."

how to show the menu bar in sublime text 4 (windows)

Rodolfo Bugarin
  • 605
  • 6
  • 12
0

Go to Preferences -> Settings. To the file on the right in the curly braces add the following. Was the only way that I found to use a theme other than default and get the menu bar back.

"themed_title_bar": false,

0

None of the options worked for me (Win 11), only solution is to uninstall including manually removing any remaining Sublime folders as in, Users<UserName>\AppData\Local and Users<UserName>\AppData\Roaming, then reinstall...

Also note... Ctr + Shift + P doesn't show any Toggle Menu option (but does after you fix it)...

Note 2... problem happened after installing theme but affected all themes so changing theme didn't fix it, I tried several...

Mike
  • 99
  • 1
  • 3