如下图所示:
没错,就是说右上角的所有图标 (时间啊, 系统啊所有的)都消失了。通过下列命令可以恢复:
dconf reset -f /org/gnome/gnome-panel/
参考:Upgraded to 14.04 - Gnome Flashback (Metacity) missing top panel and taskbar
I upgraded to 14.04 from 13.10 yesterday.
When I log in as the main user with the Gnome shell GNOME Flashback (Metacity) I see some desktop icons but both the top panel with my application icons and the task bar at the bottom of the screen are missing.
If I log in as Guest user both the top and the bottom bars appear - top bar of course is blank as I am a Guest.
I have reset the Gnome panel as described here: http://ubuntuforums.org/showthread.php?t=2220264 ( My Trusty Flashback w/Metacity tweaks and challenges ).
Only the following code brought the panels back.But, the top panel is empty of icons AND this is not a permanent fix. When I log out and in, again the panels are missing:
XDG_MENU_PREFIX="gnome-flashback-" gnome-panel --replace &
Also, when I run that code I also get an error, I am not sure if this is relevant:
In pixman_region32_init_rect: Invalid rectangle passed
(I could not get a terminal to open using the keyboard shortcuts, so I logged in to Unity, created a desktop icon for the terminal and logged back in to Gnome shell)
Has anyone found a permanent solution for this? Is it an Ubuntu or a Gnome Panel bug?
As much as I like Unity, I can work much faster on the Gnome shell and I would love to have this back again working.
dconf reset -f /org/gnome/gnome-panel/
Should of worked.
Have you tried purging and reinstalling gnome-panel (also removing the config file in your home directory)?
The panel should be in your Startup Applications, is it there? I have found at times the only way to get a startup app to work was to enter it in terminal.
One other thought, start the panels in terminal and see if you get any errors. If terminal will not open, try console:
Ctrl Alt F1 should work and Ctrl Alt F7 should take you bace to the desktop.