How to Install Gnome-Main-Menu v2

As I discussed in a prior post, gnome-main-menu will soon be released as version 2 with SLED SP1.
Below are instructions for Ubuntu (done with Feisty) to install the current SVN.


1. Remove the current gnome-main-menu to avoid issues.$ sudo apt-get remove gnome-main-menu

2. Grab the latest svn.

$ svn co http://svn.gnome.org/svn/gnome-main-menu/trunk

3. Grab the build-dependencies.

$ sudo apt-get build-dep gnome-main-menu

4. Compile SVN.

$ cd version-2/
$ ./autogen.sh --prefix=/usr

## Only proceed if the previous completed without errors. ##

$ sudo make

## Only proceed if the previous completed without errors. ##

$ sudo make install

5. You may log out, though I recommend a full reboot.

6. Assuming everything has finished without complications, you should be able to add gnome-main-menu to the panel and use it (it was slow in loading for me – wait about 2 minutes or so after first adding it).

Here it is running on the latest Ubuntu Feisty:

It’s worth noting that since the Recently Used Applications feature is a patch that (apparently) has yet to be committed to GNOME upstream, I don’t have that particular feature.

Advertisements

20 Responses to “How to Install Gnome-Main-Menu v2”


  1. 1 amgeex February 17, 2007 at 2:28 am

    I can confirm this works on Edgy. It is missing a few configuration options in gconf, and is kinda buggy, but it does work.

  2. 2 Kenneth Christiansen February 19, 2007 at 12:31 pm

    Here is semi works.. (feisty) as the control panel etc and the other icons that are supposed to be in the upper right corner didn’t appear

  3. 3 Will Farrington February 19, 2007 at 2:09 pm

    I’ve received other comments regarding that as well. I think mine are only there because of the previous installation of gnome-main-menu version 1, though I’m not sure why it’s the case.

  4. 4 Will Farrington February 21, 2007 at 4:17 pm

    UPDATE: If you’ve been using the test repository for Xorg7.2, you can now build-dep again from gnome-main-menu.

  5. 5 juhan March 7, 2007 at 2:49 pm

    Hi,

    I tried this in edgy and it has destroyed my beryl installation. I left a post in the ubuntuforums but i’m not sure if you’ll get it.

    any idea about how to fix this. I removed the gnome-main-menu with:
    sudo make unistall
    and reinstalled beryl but beryl is still not working.

    Do you know if there can be any conflicting files?

    Thanks

    J

  6. 6 dremon March 7, 2007 at 9:16 pm

    How can I enable the system administration menu in this applet?
    I mean, the items like Networking, Services, etc.
    It seems to be missing, I only have the user preferences there.

  7. 7 Kenau Reveas March 7, 2007 at 11:48 pm

    I just did as said above. i restarted the computer but i still see the old GNOME. i cant see the new GNOME. can you please tell me what wrong i could have done? how to add to GNOME to main menu? please help me out.

    Thank you,

    Ken

  8. 8 gloscherrybomb March 7, 2007 at 11:49 pm

    Same as dremon… how can you get to all the administrative apps?

  9. 9 Kenau Reveas March 8, 2007 at 1:22 am

    I am having Ubuntu Feisty right now. I followed all the steps. after that i restarted the computer. It still looks the same. no change at all. please help me out.

  10. 10 dremon March 8, 2007 at 8:46 am

    Kenau Reveas: right-click on the panel, choose “Add to panel…”, in the list of items you’ll see the main menu applet (the one with the computer icon).

  11. 11 Kenau Reveas March 8, 2007 at 1:51 pm

    dremon: I tried to do that too. when i add a panel it still looks the same? any idea why?

  12. 12 juhan March 8, 2007 at 2:16 pm

    just to let you know that I created a new user and everything is fine so that tells me that is some kind of config file in the user directory that gets modified and is crashing beryl.

    I’m not sure of which one though.

    Any ideas?

    J

  13. 13 Will Farrington March 9, 2007 at 11:18 pm

    I don’t know why Beryl would be messing with any file in the user directory that gnome-main-menu would be. Certainly odd.

    Can’t say as I use Compiz.

  14. 14 Jim Krehl March 22, 2007 at 7:51 pm

    Hey! Thanks a ton for posting this installation guide. I should point out though, that the “version-2” branch was merged into svn trunk and 2007-02-26 and is now obsolete.

    Jim Krehl

  15. 15 Will Farrington March 22, 2007 at 10:18 pm

    Thanks for the update Jim. I’ll update this fairly soon.

  16. 16 Ted Haeger March 28, 2007 at 2:58 pm

    Will:
    I hope you don’t mind that I edited your the text in your comments on my blog post about the update. I only changed the links, since you apparently updated this guide from the original version, and that changed the date in the URL. Nice work on posting this. You even got Krehl to comment on it! πŸ™‚
    –T

  17. 17 Will Farrington March 28, 2007 at 10:02 pm

    I certainly do not mind Ted. πŸ™‚

  18. 18 test April 14, 2007 at 5:31 am

    Need not ‘make’ as root

  19. 19 Dean Loros April 14, 2007 at 6:58 pm

    I just tried to make the current svn 257 & ran into a dbus error as follows: (this is with a current updated Feisty)

    In file included from /usr/include/dbus-1.0/dbus/dbus-connection.h:33,
    from /usr/include/dbus-1.0/dbus/dbus-bus.h:30,
    from /usr/include/dbus-1.0/dbus/dbus.h:31,
    from hard-drive-status-tile.c:24:
    /usr/include/dbus-1.0/dbus/dbus-shared.h:119:76: warning: “/*” within comment
    /usr/include/dbus-1.0/dbus/dbus-shared.h:119:152: warning: “/*” within comment
    In file included from /usr/include/dbus-1.0/dbus/dbus.h:38,
    from hard-drive-status-tile.c:24:
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:141:1: warning: “DBUS_TYPE_DOUBLE_AS_STRING” redefined
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:100:1: warning: this is the location of the previous definition
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:169:2: error: invalid preprocessing directive #bus
    In file included from /usr/include/dbus-1.0/dbus/dbus.h:38,
    from hard-drive-status-tile.c:24:
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:170: warning: data definition has no type or storage class
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:170: warning: type defaults to β€˜int’ in declaration of β€˜path’
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:170: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜are’
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:181:2: error: invalid preprocessing directive #match
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:192:2: error: invalid preprocessing directive #marshaled
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:195: error: missing terminating ‘ character
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:196:19: error: invalid suffix “M” on integer constant
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:197: error: missing terminating ‘ character
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:199: error: missing terminating ‘ character
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:215: error: missing terminating ‘ character
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:225:2: error: invalid preprocessing directive #method
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:228:2: error: invalid preprocessing directive #method
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:234:2: error: invalid preprocessing directive #signal
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:240:2: error: invalid preprocessing directive #message
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:242:2: error: invalid preprocessing directive #reply
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:278:2: error: invalid preprocessing directive #message
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:283:2: error: invalid preprocessing directive #message
    /usr/include/dbus-1.0/dbus/dbus-protocol.h:289:2: error: invalid preprocessing directive #message
    In file included from /usr/include/dbus-1.0/dbus/dbus.h:39,
    from hard-drive-status-tile.c:24:
    /usr/include/dbus-1.0/dbus/dbus-server.h:47: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:51: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:53: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:54: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:55: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:56: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:57: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:58: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:62: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:68: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:74: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:79: error: expected β€˜)’ before β€˜*’ token
    /usr/include/dbus-1.0/dbus/dbus-server.h:83: error: expected β€˜)’ before β€˜*’ token
    In file included from /usr/include/dbus-1.0/dbus/dbus.h:41,
    from hard-drive-status-tile.c:24:
    /usr/include/dbus-1.0/dbus/dbus-signature.h:53: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜DB_init’
    /usr/include/dbus-1.0/dbus/dbus-signature.h:56: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜DB_get_current_type’
    /usr/include/dbus-1.0/dbus/dbus-signature.h:58: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜DB_get_signature’
    /usr/include/dbus-1.0/dbus/dbus-signature.h:60: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜DB_get_element_type’
    /usr/include/dbus-1.0/dbus/dbus-signature.h:62: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜DB_next’
    /usr/include/dbus-1.0/dbus/dbus-signature.h:64: error: expected β€˜=’, β€˜,’, β€˜;’, β€˜asm’ or β€˜__attribute__’ before β€˜DB_recurse’
    In file included from hard-drive-status-tile.c:26:
    /usr/include/dbus-1.0/dbus/dbus-glib-lowlevel.h:44: error: expected β€˜)’ before β€˜*’ token
    make[2]: *** [hard-drive-status-tile.o] Error 1
    make[2]: Leaving directory `/home/dean/trunk/main-menu/src’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/dean/trunk’
    make: *** [all] Error 2


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s




Advertisements

%d bloggers like this: