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).
Hi, thanks for the tuto. I face the same issue as Armen does (graphical corruption inthe Menu Bar).
This tuto http://maketecheasier.com/turn-your-ubuntu-hardy-to-mac-osx-leopard/2008/07/23#comment-2948 explains this can be solved by clicking right into preference : Drag the globalmenu to the left just beside the Apple icon. Right click on the globalmenu and select ‘Preferences’. Tick the box beside …
But when i click right i’m only able to Remove, move and lock from/to the panel.
@OlivierSeres : Unfortunately, preferences aren’t yet implemented in this version of globalmenu.
Preferences and gconf integration should come before the end of the year I hope.
I installed, everything went smooth but i cant see the applet in the “add to panel” windows…???
Hi Ayoli,
you might want to add my latest patch I posted here…
http://ubuntuforums.org/showpost.php?p=6210426&postcount=2282
@lviggiani : I’m not sure adding your patch in this how to is a good idea because it is already much complicated for many people.
hope you will be able to help rainwoodman with gconf and/or something else (there are so many issues to solve
)
I will add a link to your post with a line to explain at the end of my post.
And oh, looks like great work, bravo
I manage to install it where I had the same problem Batman had. Now that I Add to Panel, I get this message:
The panel encountered a problem while loading “OAFIID:GlobalMenu_PanelApplet”.
Any ideas?
I forgot to add this is amd64.
Does not work for firefox and non-gnome apps…
@Ayoli:
Hi thank you for that.
Yes I’m playing around with gconf and schemas to see what I can do…
In the mean while I have posted and updated patch that:
1) Fixes a bug with some themes
2) Improves the window list menu
3) Include the “no menu” optional step in your tutorial
People can find it here:
http://ubuntuforums.org/showpost.php?p=6217707&postcount=2289
Thank you so much, lviggiani! Your patch fixes the problem I was having with the menu bar not displaying properly.
OlivierSeres, you should try and recompile the the applet using this patch.
@lviggiani : keep up the good work ! I’ve added few words about your patch and a link to it at the end of the post.
How can i remove/deinstall everything?
cd gnome-globalmenu-0.6or wherever you have checkout the globalmenu source code, then :
sudo make uninstallshould do the trick.
Thanks, it worked. I had to deinstall because, for example on Xsane, I didnt have the bar with File, View, etc.
@Ayoli:
Hi, rainwoodman gave me access to the source code so I could upload my contribute. Even for the future.
Currently my latest work is already merged in trunk (comprising “no menu” fix).