PDA

View Full Version : Gnome3 menu broken



linuxman72
January 4th, 2013, 09:34 PM
My computer (Ubuntu Gnome remix 12.10) recently refused to shut down. the OS seemed to shut down and the monitor turned off, but the fans and lights in the case stayed on. after about 15 minutes I held down the power button and forced it off. When I turned it back on in the morning everything seemed fine, but when I opened the Gnome overview all of my favorites applications were gone. this seemed odd. I then clicked the show all applications button- which showed nothing. zero programs and the only category was "all". I then tried typing "fire" to bring up Firefox, and, surprise, programs appeared, like firewall configuration, but not Firefox. after more typing it appears that most, but not all programs are missing and those that are still there are only accessible by searching for them???? I then ran alacarte (missing from menu) from the terminal (also missing, accessible from shortcut only) and got

~$ alacarte
Traceback (most recent call last):
File "/usr/bin/alacarte", line 37, in <module>
main()
File "/usr/bin/alacarte", line 33, in main
app = MainWindow(datadir, version)
File "/usr/share/alacarte/Alacarte/MainWindow.py", line 43, in __init__
self.editor = MenuEditor()
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 31, in __init__
self.load()
File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 45, in load
raise ValueError("can not load menu tree %r" % (self.name,))
ValueError: can not load menu tree 'applications.menu'I googled for a minute (launched firefox from terminal) and found that alacarte might work if I used sudo, this got alacarte started, at which point I tried turning programs on and off and clicking "restore system configuration", but nothing happened. In addition, programs I had previously added manually(and successfully) with alacarte were missing from alacarte, while programs the system had added showed up.

I tried logging in from another user account, which worked perfectly. no missing anything.

Please help, I don't want to launch everything from terminal!

(if someone knows why my computer did not turn off that would be helpful as well, it may be connected--corrupted file that was trying to save? my computer is fast, no file on my computer should take that long to save, but ???????)

linuxman72
January 6th, 2013, 05:14 PM
Update:
I found a page that stated that the not shutting down problem is a bug and explained how to fix it by editing the GRUB configuration files. So far, it seems to have stopped repeat occurrences of this issue, but the main issue with Gnome still exists.

Frogs Hair
January 6th, 2013, 06:18 PM
Try typing main menu .

linuxman72
January 7th, 2013, 03:36 AM
"main menu" is one of the programs that is missing, its terminal command/ system name is alacarte.

Frogs Hair
January 7th, 2013, 04:16 PM
Sorry , I was thinking of dash name , but if it won't open in terminal it won't open from dash . If you have the synaptic package manager installed try reinstalling alacarte.

linuxman72
January 8th, 2013, 01:15 AM
I fixed it!
I deleted the .config/menus/applications.menu file and the .local/share/applications folder, (I suspected file corruption from alacarte's error output) and restarted- all icons are restored.