Restoring Default Ubuntu Panel

This is for the newbies in the Ubuntu Community. Sometimes we want to configure our panels on Ubuntu to give a nicer look. And the newbies often fail to do that as they want and may want to restore the default panel settings. Restoring the default panel setting on Ubuntu is pretty simple. Just run the following command in the terminal and you will get your default Ubuntu panels back.

sudo debconf gnome-panel

But this is not a permanent solution. To permanently enable your default panel configuration enter the following commands in the terminal sequentially.

gconftool –recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

Enjoy!!

N.B. Don’t worry if any of the command removes all your panel. The next command will restore it to default configuration.

11 Comments

Juhani Identicon Icon Juhani  on December 25th, 2008

Thanks, this really saved my day.

ubuntunerd Identicon Icon ubuntunerd  on February 4th, 2009

rahman your solution to restore the panels does not work anymore here is the new solution

gconftool-2 –shutdown
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

ubuntunerd Identicon Icon ubuntunerd  on February 4th, 2009

http://my.opera.com/ubuntunerd1/blog/

Saifur Identicon Icon Saifur  on February 8th, 2009

@Ubuntunerd, thanks for the nice url.

ubuntunerd Identicon Icon ubuntunerd  on February 11th, 2009

your welcome I update my blogs almost on a daily, and write more all the time. hopefully it can be of use to somebody

gnocchi Identicon Icon gnocchi  on March 30th, 2009

rahman your solution to restore the panels does not work anymore here is the new solution

Really?! Just worked for me just fine of a fully up-to-date Intrepid. Many thanks for this info.

It’s not the first time something wayward has killed my Applications Places System etc. and not the first machine this has happened on! A def ongoing bug in Ubuntu that is crying out for a fix!

gnocchi Identicon Icon gnocchi  on March 30th, 2009

#snip# rahman your solution to restore the panels does not work anymore here is the new solution #snip#

Really?! The original three line solution worked for me just fine on a fully up-to-date Intrepid. Although I may have sub-consciously re-started the X-Server after entering your commands - I forget! :) (CTL+ALT+BACKSPACE). Many thanks for this info.

It’s not the first time something wayward has killed my Applications Places System etc. and not the first machine this has happened on! Disappearing Top-Menu items are a definite ongoing bug in Ubuntu that is crying out for a fix!

andrecht Identicon Icon andrecht  on October 10th, 2009

nice info.
i do what ubuntunerd say. and it works !!!

thanx

virgoptrex Identicon Icon virgoptrex  on November 10th, 2009

gconftool-2 –shutdown
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

worked for me on intrepid 8.10. Many thanks to nerdy ubuntunerd :)

virgoptrex Identicon Icon virgoptrex  on November 10th, 2009

BTW there should be two dashes before ’shutdown’. Initially I had one dash and it gave me some stupid message!

zerblatt007 Identicon Icon zerblatt007  on November 20th, 2009

We see this problem on our 8.04 workstations from time to time.
The problem seems to be that this file disappears: ~/.gconf/apps/panel/objects/menu_bar_screen0/%gconf.xml

I restore it from backup and add these lines in the \"object_id_list\" section to .gconf/apps/panel/general/%gconf.xml:
<li type=\"string\">
<stringvalue>menu_bar_screen0</stringvalue>
</li>

Leave a Comment