Page 1 of 1

Tutorial: Install Gnome2 GlobalMenu applet (from source)

PostPosted: Feb 4th, '12, 17:10
by marcuskoze
This post is written by a not-so-experienced-in-compiling-from-source user for others in the same situation. The goal is to install the gnome2-globalmenu applet.

I've had some adventure trying to compile the gnome2-globalmenu applet from source, so I thought I'd share the steps that lead me to the results here, so you would skip over the dependency-hunt.

Pre-requisits on default mageia-1 installation

Before considering compiling (installing) the applet, you have to install the following requirements. You could do this in various ways:

1. Open a terminal (from the menu Applications -> Tools -> Terminal) and type (or select it, copy it (CTRL+C) and paste it in the terminal with CTRL+INS) the following commands to install everything that the applet needs:

Code: Select all
urpmi make gcc intltool libgtk+2.0-devel libwnck-devel libgnome-menu-devel libpanelappletmm-devel libnotify libnotify-devel libxfce4panel-devel


2. Use the graphical interface tool (from the menu Applications -> Install & Remove Software) to install these packages:

    * make
    * gcc
    * intltool
    * libgtk+2.0-devel
    * libwnck-devel
    * libgnome-menu-devel
    * libpanelappletmm-devel
    * libnotify
    * libnotify-devel
    * libxfce4panel-devel

The actual applet installation

* Download the source code from http://code.google.com/p/gnome2-globalm ... loads/list
* Extract the files from the archive (right-click on it and choose Extract here)
* Open the terminal and go to the location where you extracted directory
Code: Select all
cd /path/to/where/you/extracted/the/source

* Type the following commands (in order, wait for each to finish before running the next one):

    Code: Select all
    ./configure

    Code: Select all
    make

    The next command will need to be run with greater priviledges than your normal user, so type
    Code: Select all
    su -
    , type your root password and run this command:
    Code: Select all
    make install

* Now we need to restart the gnome-panel in order to include the globalmenu applet in the list of available applets. When you restart the panel, it should dissapear for a moment and come back again, so don't panic when you see it vanishing :) Run this command in the terminal:
* After the panel has re-appeared, right-click on the panel where you wish to add the global menu and click on the **Add to panel...** option.
* From the list, select the Global Menu Panel Applet
* For the global-menu to take effect, you'll need to close all your open applications and re-open them, but I strongly recommend you log-out and log-in again for a proper loading of the applet.

I've got a glitch for the first time I right-clicked on the applet for the preferences, it only showed the option tabs (with no options at all), but i noticed that closing the preferences panel, log-out and log-in again (considering you didn't do this after the installation completed) solves it.

I've attached a screenshot of my achievement :)

Many thanks go to the mageia community who opened my eyes and presented the urpmf and urpmq tools, they're indeed your friends :)

Re: Tutorial: Install Gnome2 GlobalMenu applet (from source)

PostPosted: Feb 4th, '12, 19:47
by doktor5000
marcuskoze wrote:Many thanks go to the mageia community who opened my eyes and presented the urpmf and urpmq tools, they're indeed your friends :)

Sure thing :D
Maybe you want to report a package request for gnome2-globalmenu, so it could maybe be included in Mageia 2?
You can do so here: https://bugs.mageia.org and select "New RPM package request" as the component.

Re: Tutorial: Install Gnome2 GlobalMenu applet (from source)

PostPosted: Feb 4th, '12, 20:06
by marcuskoze
Done that (https://bugs.mageia.org/show_bug.cgi?id=4407). I can only hope I've filled the form correctly :).

Re: Tutorial: Install Gnome2 GlobalMenu applet (from source)

PostPosted: Feb 4th, '12, 21:00
by doktor5000
If you want to verify yourself, check https://wiki.mageia.org/en/Bug_triage#F ... e_requests ;)
Also, next time, just stating something like "please add this useful program to Mageia" would be enough,
if the other information is provided (URL to project page, a short summary what that program does)

EDIT: I'll do the editing, because i've already packaged this for mandrivauser.de and i want to add this to the report as a help.
You'll see all changes in the next mail coming from bugzilla.

Re: Tutorial: Install Gnome2 GlobalMenu applet (from source)

PostPosted: Feb 4th, '12, 21:24
by marcuskoze
Thank you for the corrections on the bug report, noted for the future submissions