Comment installer globalmenu 0.6 sur Ubuntu Intrepid
Voici un nouveau tutoriel expliquant les étapes pour compiler, installer et activer gnome-globalemenu-0.6 sur votre bureau.
Ceci a été testé sur Ubuntu Intrepid Ibex, mais devrait également fonctionner avec Hardy. Cela devrait aussi fonstionner avec les autres distributions exception faite de la première étape.
Globalmenu fonctionne avec des “vraies” applications gtk. Ce qui signifie que globalmenu ne fonctionnera pas avec firefox et openoffice.
Autre chose : globalmenu ne neccecite plus de patcher libgtk, bonne nouvelle
Grand merci à rainwoodman pour son boulot énorme sur cet applet bien utile.
A new version of this guide is now available here
If you want a deb install way, read DJPeng post here
note: pour failiter je parlerai de “panel” au lieu de dire “tableau de bord” (trop long
WARNING : Si vous voulez utiliser une revision inférieure à 1532, il vous faut vala 0.4.0
Premièrement, nous devons installer un certain nombre de dépendances et autre paquets de developpement pour pouvoir compiler et installer vala 0.4.0 et gnome-globalmenu-0.6 :
Les distributions non ubuntu devront trouver les paquets correspondants dans les dépots de leur distribution.
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
Etape suivante, on télécharge, extrait, compile et 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# (checkinstall ne fonctionne pas ici)
sudo ldconfig
Maintenant, on peut récupérer le code source de gnome-globalmenu :
cd ~/ svn checkout -r 1718 http://gnome2-globalmenu.googlecode.com/svn/trunk/ gnome-globalmenu-0.6 cd gnome-globalmenu-0.6On configure puis compile :
./autogen.sh ./configure --prefix=/usr make sudo make install# (checkinstall ne fonctionne pa ici)editer ou créer le fichier ~/.gnomerc (fonctionne aussi avec le fichier ~/.profile si vous préferez) :
gedit ~/.gnomercMettez la ligne suivante dedans puis sauver
export GTK_MODULES=globalmenu-gnome
Déconnectez vous de votre session gnome puis reconnectez vous.
Ciquez avec le bouton droit de la souris sur une partie vide du panel et choisissez “ajouter au tableau de bord” depuis le menu.
Descendez jusqu’à trouver “Global Menu Panel Applet”, sélectionnez le, puis cliquez sur “ajouter” (ou glissez-déposez sur le panel)
Et voila
Bugs connus :
- fait planter l’applet fast-user-switch
- Bug avec les sous menus d’eclipse. Vous pouvez désactiver en ajoutant la ligne export GTK_MENUBAR_NO_MAC=eclipse au fichier ~/.gnomerc
- Les raccourcis du menu raccourcis du menu par defaut (quand aucune fenêtre n’est sélectionnée) ne fonctionnent pas.
Discussions et support :
Sujet anglophone : http://ubuntuforums.org/showthread.php?t=241868
Sujet francophone : http://forum.ubuntu-fr.org/viewtopic.php?id=151539
News
Voici le patch de lviggiani (de ubuntuforums.org) qui apporte de nouvelles fonctionalités telles que le titre de l’application, un selecteur de fenêtre au clic sur le titre de l’application et qui résoud aussi quelques bug d’apparence avec certains themes.
Vous pouveer trouver ce patch ici : http://ubuntuforums.org/showpost.php?p=6217707&postcount=2289
Super nouvelle : lviggiani est maintenant un dev participant au projet globalmenuTout ses patches ont été appliqué au trunk. N’hésitez pas à mettre à jour votre globalmenu et faire part de vos impressions (here, ubuntuforums thread and google code page of the project).






english
français
Great news
Glad to see this dev team growing, I’m editing my post now !
I know rainwoodman is somewhat busy, hope you’ll have time to let me know about the new features, dep, build method, ...
So I can keep a clean how to install and help.
Cheers.
OMG. great job man. Thanks for your post very much. I used to using global menu, but since I turned to use Ubuntu 8.04 I couldn’t install it anymore. I’m so happy now. Thanks again!
@truonglq : thank you, glad it helps you
btw, it seems that my eclipse has no problem with globalmenu. I ran it smoothly. However, i couldn’t edit or view any file (*.ctp, *.php).
It always show this error : “An error has occurred. See error log for more details”.
I thought there was a conflict between them. So I followed your recommend to add “export GTK_MENUBAR_NO_MAC=eclipse” in my .gnomerc file, but nothing happened. Eclipse still works with globalmenu and I still can not edit file in eclipse.
Could you please help me to solve this problem?
oops, I solved my problem. I ran Eclipse with no conflict with Globalmenu. Thanks, though.
@truonglq : To clarify : when adding an export line to ~/.gnomerc it is required to logout gnome then login.
Or you can just create a launcher for eclipse with this command :
export GTK_MENUBAR_NO_MAC=eclipse && eclipseThis eclipse bug is known, and devs may correct it in the next serie (0.7).
It could be interesting to mention at the end of the how-to that il you get an error like “xxxxxxxxxxxxx.so.0 is missing” when trying to compile the applet, just after vala’s compilation, you can do sudo ldconfig and retry.
Not everybody know that “trick”.
@Puxbunny : Ok,
I will.donesorry to ask such a dumb question, but I am kinda new for ubuntu.
I some how managed to install the global menu applet using a deb file i found somewhere. NOw the problem is “apart from firefox and openoffice there are many apps (even gnome apps like konqueror and kmail) that have their own menus and are not integerated with the global menu.
Could you please tell me whether its a goofup from my side or its supposed to happen.
and also tell me how do i update the changed that you guys made on a day to day basis
can i run a specific command that will update the applet or something.
Thanks in advance
@m.gupt11 : konqueror, kmail and other apps that have their name stating with a ‘k’ are not gnome apps. they are KDE apps and globalmenu doesn’t handle kde apps.
If you want a browser and mail client for gnome try epiphany and evolution.
As for the updates, the devs do not provide packages atm, so the only way is to build the app as described in this how to.
[...] was following this tutorial to try to get GlobalMenu working before I found the PPA so I already had Vala installed. There are [...]
error during installation
checking for vala = 0.5.1… ./configure: line 2613: syntax error near unexpected token ‘VALACBIN,’
what do this mean?
@hafizmi : Sorry, no idea.
If you’ve manage to compile and install vala 0.5.1, then it could either a broken revision or compatibility issue.
Maybe try another revision.
Hi,
check this out:
http://ubuntuforums.org/showpost.php?p=6287990&postcount=2362
WARNING:
you need libgnome-menu-dev (ubuntu package) to compile recent trunk.
New feature available. See here:
http://ubuntuforums.org/showpost.php?p=6295337&postcount=2375