Hi guys,
I managed to find a simple solution for Linux users who use Gnome3, Cinnamon or other Gnome based desktop.
If you are using Gnome3, you can get a global menu like the one in Unity, and you will not see the menu bar on the top. See the instructions
here.
If you are using Cinnamon (like I do), the things are a little bit more complicated, as there is no global menu for Cinnamon. So, open the link above, and complete the first 4 steps (downloading and compiling global menu). From this point, you can hide the menu for all your GTK apps (not recommended from my point of view) by pasting this line into your terminal:
- Code: Select all
extern GTK_MODULES=globalmenu-gtk
The better alternative is to hide the menu bar only for sublime text, so you can open sublime text using this command:
- Code: Select all
GTK_MODULES=globalmenu-gtk /usr/lib/sublime-text-2/sublime_text
(I installed Sublime Text through ppa, this is why I have this path, but in case you just downloaded it, replace /usr/lib/sublime-text-2/sublime_text with the path to the executable)
It is easier to create an executable with this command, so you don't have to paste it all the time. For example, I created two executables for Sublime Text, one that opens it with the menu bar, and the other one that opens it without the menu bar.