Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I accidentally deleted the default top panel in ubuntu 10.04.

How can I restore it without completely re-building it one panel object at a time?

share|improve this question
up vote 2 down vote accepted

See this post. It has step by step instructions as well as a well recorded video. He provides a script that can restore your top and bottom panels. Just in case you do it again :)

share|improve this answer
Thank you baby jesus! It worked. I was really starting to drive me crazy. – citadelgrad Aug 5 '10 at 14:33
This worked beautifully the first time. – Noah Goodrich Oct 11 '10 at 20:31

See this post. It will restore your panels back to their defaults. It doesn't discriminate in that any edits to your bottom panel will also be lost.

Open a terminal session by: pressing Alt F2 > then type gnome-terminal > click on Run

Then enter the following code:

gconftool-2 –-recursive-unset /apps/panel # might be optional
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

Edit: Updated for gconftool-2

share|improve this answer
that post is very dated. – myusuf3 Aug 4 '10 at 23:06
Tried it and it didn't work for me. Thanks for the suggestion. – citadelgrad Aug 5 '10 at 14:32
The only difference between the script and these three little commands is it needs to be gconftool-2 instead of gconftool. I've edited my answer for other people so they don't have to download and run a script from a random place. – Oli Aug 5 '10 at 15:21
Oli: I tried it with gconftool-2 and it didn't work for me. – citadelgrad Aug 6 '10 at 1:26
this post worked for me perfectly...thanks for your post Oli – user32644 Nov 12 '11 at 17:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.