I have installed Ubuntu 13.10 on VirtualBox 4.3.6, running on Windows 7. I have installed the VirtualBox Guest Additions on Ubuntu.
I have used this .deb file to install Sublime Text, which seems to work fine except that it has no menu bar unless started with sudo
privileges.
Using AltV to try to enable the menu shows only a Hide Menu option, so it clearly thinks it is currently being displayed.
I am seeing this behaviour for both Sublime Text 2 and Sublime Text 3.
Does anyone have any idea what the problem may be?
I have found this question that relates to similar symptoms, but the problem wasn't resolved.
If you are starting from a desktop shortcut you can edit the .desktop file's Exec line to be something like
Exec=env UBUNTU_MENUPROXY=0 /usr/bin/sublime-text
See here for an example of how a similar problem was solved for eclipse.
Here is a simple solution that worked for me
Close the Sublime Text 3, if it is open. Open and edit the file ~/.config/sublime-text-3/Local/Session.sublime_session
to make sure that, "menu_visible" is "true" in all places in that file.
"menu_visible": true,
Source: http://www.thefourtheye.in/2014/01/un-hiding-menu-bar-in-sublime-text-3.html
I solved in Ubuntu16.04!
Sublime installation path is /opt/
sudo gedit /usr/share/applications/sublime_text.desktop
Add env UBUNTU_MENUPROXY=0
in Exec=
before /opt/
*
as shown in fig.
![](https://www.manongdao.com/static/images/pcload.jpg)
Wipe out any saved Sublime editor settings, probably in ~/.sublime or similar.
For Ubuntu create this file sublime
in /usr/bin/
#!/bin/bash
env UBUNTU_MENUPROXY=0 /opt/sublime/sublime_text $@ 2>/dev/null &
Then chmod +x sublime
. Put it in your executable path and you're good to go! If you have sublime in a different location you'll have to set that at this part '/opt/sublime/sublime_text'
You'll want to have errors routed to null since Glib throws up warnings (it's a known Ubuntu issue).
press Ctrl + Shift + p then type vmenu
Select Toggle menu
and enter.
then check it.