Here’s a new howto explaining the steps to compile, install and enable the gnome-globalmenu-0.7 series from trunk 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 (dependencies install).
Globalmenu works with “real” gtk applications. That means globalmenu will not work with firefox and openoffice.
Big thanks to rainwoodman and lviggiani for their awesome work on this very useful application.
1. Get the required packages to build vala and gnome-globalmenu :
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 libnotify-dev
2. Before installing vala 0.5.6, be sure to remove any previous versions :
sudo apt-get remove vala
or from source folder of your older vala source code folder, do :
sudo make uninstall
3. Get, compile and install vala 0.5.6 :
cd ~/
wget -c http://download.gnome.org/sources/vala/0.5/vala-0.5.6.tar.bz2
tar xjvf vala-0.5.6.tar.bz2
cd vala-0.5.6/
./configure
make
sudo make install
sudo ldconfig
4. Grab the latest, compile and install it :
cd ~/
svn checkout http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome-globalmenu-0.7
cd gnome-globalmenu-0.7
./autogen.sh --prefix=/usr
make
sudo make install
5. If you had globalmenu before and have this line in your ~/.gnomerc or ~/.profile : remove it
export GTK_MODULES=globalmenu-gnome
6. If global menu it isn’t already in your panel, just right clisk in an empty part of your panel, select ‘add to panel”, then in the choice menu choose “Global Menu Panel Applet”.
7. Globalmenu can now be enabled via the preferences dialog of the applet. Right Click on the applet, choose “Preferences” and then check the first option : “Enable Global Menu For GTK Applications”.
That’s all.
Last post update : 2009-01-17 17:19:54. Updated vala version to 0.5.5 required from at least rev 2110.






english
français
[...] 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 [...]
I believe you meant to refer to gnome-globalmenu-0.7 in the GM installation section, not 0.6. I caught it and made the change when I installed it but some of your readers may not realize the difference.
@BostonPeng : Thanks for pointing out this little error (due to a bad copy and paste I guess). This has been corrected.
isn’t there an error in this How-to? you talk about installing vala 0.5.3 but you actually give instruction to install vala 0.5.1.
@tomas.splatch : Thank you for pointing out this another copy and paste error, fixed now
I love this applet mate but you need to update the repository with new version for make the installation easier for all, not everyone like to compile and I know ppl that use ubuntu and they never open a terminal!
@MastroPino : Unfortunately, I’m not the guy who maintain the ppa repository. Hopefully, the guy will update it soon.
After Step 5 I had to remove the old applet from the panel and reboot (logout / login might have done just as well) before I could get the new applet to show up on the panel.
hi,
i’ve followed your instructions,
but at step #4, when i type : make
the error messages appeared:
http://s.itb.ac.id/~latuconsina/error
what should i do??
thanks a lot . .
@abz : It looks like you’re using an ancient glib here. What is your distribution and glib version ?
@Mac Factor : Thanks for pointing that out. I’ll add a note about that, it may happens if you upgrade frmo a quite old version. And, yes, logout/in is enough.
ayoli,
i’m using Ubuntu Hardy 8.04.2
glib?? can you give me detail name of package? (libglib* or glib* ?)
sorry, i’m newbie
thx a lot . .
@abz : weird, it should work with hardy, I’m sure some people managed to compile globalmenu on hardy.
My glib (but I’m on Intrepid) is :
ii libglib2.0-dev 2.18.2-0ubuntu2Maybe remove your sources and try again all the process and, if it still fails, post an issue on the globalmenu site here.
[...] here’s how I installed it on my Ubuntu 8.10, make sure you have root access: Based on: ayoli’s guide and [...]
Followed all steps and sucessfully compiled and installed GM, but while adding it to a panel I get the hit to enable it via preferences. So I click preferences which shows me a minimal dialog, resizing this the dialog doesnt contain any widgets (settings).
Any clue?