PDA

View Full Version : [ubuntu] After upgrade, menu items missing



mindless1973
September 15th, 2008, 07:37 PM
Hi,

I did an upgrade from Gutsy to Hardy recently. Everything seems to work fine with the exception that almost all of my menu items in the "Application" GNOME drop down menu are missing.

When I try to recreate the menu items by using the "Main Menu" Tool out of System - Preferences, I can't. Whenever I create a new menu item and press OK the menu item does not show up.

There is also no error message or some other hint where I would know where to search further...

After some research, I found out that all the GNOME files do exist and are in the right directories:

/etc/xdg/menus/applications.menu

/usr/share/desktop-directories

and

/usr/share/applications

seem to be all ok.

So, why doesn't GNOME show them in the menu bar?

any help highly appreciated!!!

bye
me.

I_have_seen_the_light
September 15th, 2008, 11:33 PM
have you tried using the update menu command?

sudo update-menus

here is a page where you could read about it. its for debian but since Ubuntu is based on debian it should work. :)

http://www.handhelds.org/~nelson/menu/ch1.html

TitanX13
September 16th, 2008, 09:42 AM
i have had the same problem. i tried yours solution and i didn't work for me

mindless1973
September 16th, 2008, 10:47 AM
i have had the same problem. i tried yours solution and i didn't work for me

I don't even know where I could get this tool from. update-menus is not installed on my system :-(

bye
me.

TitanX13
September 16th, 2008, 10:48 AM
i tried it the first time and it ran, but then i tried to repeat it when it didn't work the first time and it tells me their is no such cmd

Brandel Valico
September 16th, 2008, 10:53 AM
http://ubuntuforums.org/showthread.php?t=554585&page=3

The above link should help

mindless1973
September 16th, 2008, 01:49 PM
Hi,

Thanks, this article led me to the source of the problem. My /etc/xdg/menus/applications.menu file was somehow broken. After replacing it by an (older) copy it worked!

Thanks,

bye
me.

TitanX13
September 16th, 2008, 11:37 PM
thank you, the solution on the top of the 4th page fixed my problem.

thanks