Here’s a new howto explaining the steps to compile, install and enable the gnome-globalmenu-0.6 on your desktop.
This has been tested on Ubuntu intrepid ibex but it should work on hardy too. It should also work with other distributions, except for the first step.
Globalmenu works with “real” gtk applications. That means globalmenu will not work with firefox and openoffice.
Another note : globalmenu doesn’t require anymore to patch libgtk, good news 🙂
Big thanks to rainwoodman for his awesome work on this very useful applet.
A new version of this guide is now available here
If you want a deb install way, read DJPeng post here
WARNING : If you use revisions prior to 1532 you will need vala 0.4.0
Firstly, we need to install some dependencies and developper packages to compile and install vala 0.4 and gnome-globalmenu 0.6 :
Non ubuntu distributions only need to find the corresponding deps and dev packages in their distribution repositories.
sudo apt-get install build-essential flex bison gnome-common libglib2.0-dev gtk-doc-tools autoconf2.13 automake1.9 libgtk2.0-dev libdbus-glib-1-dev libwnck-dev libpanel-applet2-dev libgnome-menu-dev
Next step, we download, extract, compile and install vala :
cd ~/ wget -c http://download.gnome.org/sources/vala/0.5/vala-0.5.1.tar.bz2 tar xjvf vala-0.5.1.tar.bz2 cd vala-0.5.1/ ./configure make sudo make install # (for some reason, checkinstall doesn't work here) sudo ldconfig
Now, we can grab globalmenu source code and compile again :
cd ~/ svn checkout -r 1718 http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome-globalmenu-0.6 cd gnome-globalmenu-0.6
Now, we run configure and compilation :
./autogen.sh ./configure --prefix=/usr make sudo make install # (for some reason, checkinstall doesn't work here)
edit ou create ~/.gnomerc file (also work with ~/.profile file if you prefer) :
gedit ~/.gnomerc
Put the following line in the file, then save :
export GTK_MODULES=globalmenu-gnome
log out gnome, then log in again
Right click on an empty part of your panel, choose “Add to panel” from the popup menu. Scroll down until you see “Global Menu Panel Applet”, select it and click “add” (or drag and drop it on the panel)
And voila 🙂
Known bugs and issues :
- Crashes fast-user-switch applet
- Very buggy with eclipse. you can disable eclipse by adding the line export GTK_MENUBAR_NO_MAC=eclipse to your ~/.gnomerc file
- Shortcuts from places menu in default menu (when no window is focused) don’t work.
Support and discussions :
http://ubuntuforums.org/showthread.php?t=241868
News
Here’s lviggiani (from ubuntuforums.org) patch that brings new functionalities like the application title, a window selector on click on application menu, and that fixes apparence bugs with some themes.
You can find it here : http://ubuntuforums.org/showpost.php?p=6217707&postcount=2289
Great news : lviggiani is now a globalmenu dev and, all his patches have been merged to trunk. Feel free to update your build and tell us how does it work for you (here, ubuntuforums thread and google code page of the project).



Pingback: Peng’s links for Monday, 24 November « I’m Just an Avatar