Help! The entries in the Applications Main Menu have vanished!
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Help! The entries in the Applications Main Menu have vanished!
Hi,
All of a sudden I find that today, all the entries from the Applications menu in Gnome Main Menu of my Ubuntu 8.04 system have vanished. Though, Places and System menus are intact.
If I click on "Main Menu" item in the System -> Preferences Menu, nothing happens.
How do I get back the menu items?
Thanking in advance,
I'm just guessing, but maybe this will provide a clue:
1) Press Alt+F2 to open the Run Application dialog
2) enter gnome-terminal (or the name of another terminal emulator if you know any)
3) in the terminal that opens, type alacarte (this is what happens when you click 'Main Menu' in the System->Preferences menu, but since you're running it from a terminal you should be able to see any error messages it produces)
/usr/lib/python2.5/site-packages/apt/progress.py: inconsistent use of tabs and s paces in indentation
Traceback (most recent call last):
File "/usr/bin/alacarte", line 36, in <module>
main()
File "/usr/bin/alacarte", line 32, in main
app = MainWindow(datadir, version, sys.argv)
File "/usr/lib/python2.5/site-packages/Alacarte/MainWindow.py", line 49, in __ init__
self.editor = MenuEditor()
File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 36, in __ init__
self.__loadMenus()
File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 46, in __ loadMenus
self.applications.dom = xml.dom.minidom.parse(self.applications.path)
File "/usr/lib/python2.5/xml/dom/minidom.py", line 1915, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
I have the same issue with eebuntu which is a version of hardy running on my eeepc701. I have been trying to figure this out for a while with no success. I think there must be some corruption in the menu files however I can't find them no rdo I know what to try and reinstall to rebuild the gnome system help! please
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.