Skip to content

Instantly share code, notes, and snippets.

@danpecher
Created August 15, 2013 10:33
Show Gist options
  • Save danpecher/6239871 to your computer and use it in GitHub Desktop.
Save danpecher/6239871 to your computer and use it in GitHub Desktop.
Sublime Text 2 - hide gtk menubar
#!/bin/bash
sudo apt-get install git-core valac-0.14 libvala-0.14-dev libgtk-3-dev gobject-introspection libgirepository1.0-dev libgtk2.0-dev autotools-dev automake autoconf intltool libtool
git clone git://github.com/gnome-globalmenu/gnome-globalmenu.git
cd gnome-globalmenu
git checkout gnome-3
autoreconf --force --install --verbose
./autogen.sh --prefix=/usr
make
sudo make GTK2_MODULES_DIR=/usr/lib/gtk-2.0/modules GTK3_MODULES_DIR=/usr/lib/gtk-3.0/modules GLIB_COMPILE_SCHEMAS=/bin/true install
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
# and then GTK_MODULES=globalmenu-gtk /path/to/sublime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment