Restore Panels In Ubuntu Back To Their Default Settings

351

ubuntulogo.jpg

Sure, you can add a new panel and rebuild it by adding the items back on the panel.

Instead of going through the trouble, there is an easy fix that will restore your panels back to their default settings quickly.


Open up a Terminal window, by clicking on Applications \ Accessories \ Terminal.

Or, if you deleted the top panel and cannot access the menus, just press ALT+F2 and in the run dialog box, type gnome-terminal then click on Run.

You can also browse for applications, such as Terminal from the Run window, by clicking on the arrow icon next to 'Show list of known applications" and browse for Terminal.

gnomedefaultpanel.png

Once the Terminal window opens, enter the following command at the prompt:

gconftool-2 – -shutdown

Note: There should be no spaces between the two dashes before shutdown.

EDIT – Reader nickrud has suggested a better method instead of shutting down gconfd. Instead use the following command (thanks nickrud!)

gconftool – -recursive-unset /apps/panel

**Remember**: There should be no spaces between the two dashes before shutdown.

Then enter the next command:

rm -rf ~/.gconf/apps/panel

And enter one more command:

pkill gnome-panel

That's it!

Both top and bottom panels will appear (if missing) with their default settings. Now you can customize them to your preference and get on with using Ubuntu.

This method will work in Gutsy Gibbon (7.10) and Hardy Heron (8.04) version of Ubuntu.

Source: ethernal.org

Comments on Restore Panels In Ubuntu Back To Their Default Settings

May 30, 2008

sankar @ 2:52 am #

I did what you said when i accidentally deleted my bottom panel.

The top panel resets and appears. but the bottom one does not appear.

and one more thing,
the command

gconftool-2 –shutdown

does not work it gives an error message

Run 'gconftool-2 –help' to see a full list of available command line options.

when used as gconftool-2 shutdown

does not give any error message

I use Ubuntu 8.04

June 18, 2008

Ian @ 11:07 am #

This worked fantastically. A million thanks!

droid8622 @ 3:19 pm #

thanx! this article saved me a lot of time for my friend,why not to write first command like it should be ?

gconftool-2 –shutdown

droid8622 @ 3:19 pm #

oops , i understood<sorry :)

July 7, 2008

Sigint @ 2:26 pm #

Thanks alot!! I was puzzled for a couple of days with that one.

July 15, 2008

fere @ 3:19 am #

thank you so much!! Didn't work the first time, but after several tries, it worked out perfectly.

July 29, 2008

Quyen @ 11:37 am #

Thank you so much for this.

July 30, 2008

HaydenPC @ 3:54 pm #

Wow, thanks a lot
It works~!

August 3, 2008

nickrud @ 12:56 pm #

There's no reason to shutdown gconfd with gconftool –shutdown. gconftool is quite capable of pruning the tree while gconfd is running, use

gconftool –recursive-unset /apps/panel

Killing gconfd is not a very good idea. Most (if not all) gnome apps keep their settings there, and one of them may very well restart gconfd before you get a chance to run your rm command.

nickrud @ 12:58 pm #

hm, I don't care much for the formatting of messages here ;)

it's

gconftool gconftool – -recursive-unset /apps/panel

( dash – no space – dash no space recursive-unset )

August 8, 2008

Nawaf @ 7:31 pm #

Thanks. This helped me a lot.

August 14, 2008

FMZ @ 9:44 pm #

This command doesn't work for me, I am using Ubuntu 7.10.
What's wrong with my Ubuntu 7.10

August 15, 2008

nickrud @ 11:58 am #

FMZ, try this:

In a terminal, run ps -A | grep gnome-panel , if you see it (meaning it's running), run:

alt-f2 gconftool –recursive-unset /apps/panel && killall gnome-panel

if you don't, run:

alt-f2 gconftool –recursive-unset /apps/panel && gnome-panel

August 21, 2008

Mike @ 2:34 am #

nick's last post worked wonders… nothing else worked for me.. thanks nick.

August 30, 2008

randy @ 1:31 am #

it didnt work. no errors, just nothing appeared.

October 5, 2008

Val Cyril Estrada @ 4:03 am #

you guys were AH!, but genius AH, but if you want to help, pls dont make some confusions, well anyway thanks a lot guys, ive discarded windows in favor of ubuntu.

November 29, 2008

centguy @ 1:36 pm #

Thanks !!! I was so depressed before I found this article.

January 3, 2009

Michael Mann @ 9:11 pm #

This method also works under 8.10. Thanks for this as it was much needed here.

January 11, 2009

Jonathan @ 8:31 am #

Thanks for this tip.
One thing I wish to suggest is you make it clear that this will also reset both the top and bottom panels even if they have no been lost etc. Without explicitly stating this, the following statement, "Both top and bottom panels will appear (if missing) with their default settings" gave me the impression that if a panel is not missing it will not be reset to the default settings. I only wanted to restore my bottom panel (which I deleted some time ago). I did not want to reset my top panel, which I have greatly customised to the way I like it.

Again, thanks for the tip. I am happy I at least go the bottom panel back, and I'll now set about redoing my top panel.

Jonathan

January 22, 2009

anoop @ 9:54 pm #

thanks…worked like a gem for my 8.10….

January 29, 2009

nubuntu @ 7:30 pm #

thanks a lot for the tips, saved me from having to do a fresh install of e.p. on my eee (easy peasy is based on 8.10 [intrepid] iirc), the only problem i had is i had to put a space before /apps/panel e.g. gconftool –recursive-unset /apps/panel and it took me a sec to figure that out.

February 11, 2009

noob @ 4:52 pm #

thanks so much! somehow I deleted my one and only panel and panicked for few minutes.
I thought we *can't* delete it to prevent this accident happened to me !?!
Anyway thanks a bunch.

February 17, 2009

rorus @ 3:23 pm #

sweet! thanks for helping out us noobs :P

March 14, 2009

chris @ 7:22 pm #

YESSSS THANK YOU SO MUCH!.

April 7, 2009

Joel @ 7:05 pm #

Thank you so much for this article. I messed up my panels majorly and wanted the default settings back, but didn't know what exactly they were.

April 16, 2009

Duncan @ 1:51 pm #

Worked for me, thanks.

April 17, 2009

Josef @ 12:29 am #

Thankyou good sir. You saved me a lot of worry and confusion.

April 28, 2009

Jason @ 9:57 pm #

Thanks a lot I spent an entire weekend trying to figure this out! Very well written article easy to follow.

May 10, 2009

nXa @ 10:29 am #

tnx

May 13, 2009

cworkman @ 12:48 pm #

for me it worked with just these 2 lines of code

gconftool – -recursive-unset /apps/panel
pkill gnome-panel

May 15, 2009

Craig Jacobs @ 9:01 am #

I am using Ubuntu Hardy 8.04.2, I press ALT+F2 but nothing happens…….I have read elsewhere on other sites to press ALT+F12 / CRTL+2 / CRTL+12 but none of these will open terminal or "run application".

I am truly stuck here….I can see my icons but have no panels. I can right click my desktop, open my home folder using ATL+home, open my "open directory" using CRTL+L.

Please help me….aaaaahhhhh I love Ubuntu but this is killing me.

cworkman29729 @ 9:07 am #

@Craig Jacobs

Right Click The Desktop Click Create Launcher

in the command textbox type gnome-terminal

Give it the name Treminal Or Anything You Wish

click ok

Thats it you have a terminal shortcut on your desktop :)

June 1, 2009

Bijay Rungta @ 12:32 am #

Worked like wonders

Thanks for this..

June 2, 2009

Michael Mann @ 1:09 pm #

I have confirmed this also works under Ubuntu 9.04 (Ibex)

July 9, 2009

Zvi @ 8:20 am #

I'm using an install of ubuntu which came with my dell mini 9. the system comes with 2 different ways of viewing the desktop, the classical version, and dells weird simple one. for some reason when doing this it reset the panels to the way they looked in the dell version and I'm not sure how to get it back to my normal settings :(

July 12, 2009

Francisco B @ 7:23 pm #

I had trouble with ubuntu because I was using my PC with a normal 19´´ screen and then I used my PC in a plasma TV, I changed the screen settings in order to see better resolution (I changed to 1200 x 900, then to 900 x 750 more or less). Then I changed again to the normal 19´´ screen but now I cannot see anything except the initial process when I turn on the PC (it apperas the "Press F12 to boot"…etc), then the screen comes totally invisible so I cannot use the PC anymore.

Can I restore the screen settings with the CD without losing my data?

Thanks!
Paco

July 16, 2009

Shraddha @ 12:28 am #

Thanks a lot it worked!!!!

July 17, 2009

ambdukias66 @ 7:07 am #

Is there something similar to reset the default movie player? I tried going in to system, preferences, preferred applications and clicking the multimedia tab and making sure totem was chosen. But whenever i play something it wont play in totem but in a new tab in my browser. I'm not sure what the heck I did.

August 10, 2009

ATTENTIVE @ 2:52 am #

Users of these steps will notice a disappearance of both top and bottom panels in Ubuntu while initiating the second step in terminal. Also if they minimize the browser window and terminal, these will seem to disappear. To bring back the browser and terminal, press the escape key while holding the alt key.

August 14, 2009

Salv @ 11:54 pm #

Thanks, I had deleted my custom panel on my second desktop while trying to customize it (because there actually was none originally) and couldn't even switch back to the main desktop anymore (I guess there is a shortcut, but I don't know it yet). Now I got both panels back on both desktops, which is actually an improvement from how it originally was ^^'

August 15, 2009

Salv @ 12:00 am #

Right-click your media file, choose "Properties" and there should be an "Open with" tab (or something similar, I'm using the French interface). I would suppose that selecting the desired application there would do the trick (the modification is applied to all files of the same extension, like in Windows if you're familiar with that).

I started using Ubuntu two days ago, so it's the best advice I can offer; good luck ^^

Jacroe @ 12:25 pm #

This also works in 9.04 Jaunty.

August 25, 2009

Gerrit @ 1:00 pm #

Wow… thank you! I deleted this while a noob and have been unable to get it back to original! Thanks for the simple tip… I had no problems getting it to work!

August 26, 2009

allen bina @ 3:36 am #

bless you. saved my ass

September 17, 2009

Bertie_boy @ 9:32 am #

I have 9.04 installed.
I uninstalled Evolution and after the reboot I dont have a taskbar with anything on the desktop – just the icons on the desktop?
I reinstalled evolution but taskbar did not return.
I have tried everything on here but to no avail…
please help

BB

September 19, 2009

Peter Wood Brisbane Australia @ 5:33 am #

Hi,
I went through this too today.

However . . . .

All those grateful thanks, but I can't see anyone asking how to prevent accidental deletion of panels. Is it possible?

Peter

Azenquor @ 12:47 pm #

Thanks… I used it and it worked perfectly…

You should write out a list of helpful terminal commands for download…

I'd download them all…

September 23, 2009

ahmed khalaf @ 9:47 am #

REallly thank you very much
thank you very much, thank you very much, thank you very much, thank you very much, thank you very much, thank you very much, thank you very much, thank you very much, thank you very much, thank you very much, thank you very much,

:*

September 26, 2009

Zaka @ 11:52 am #

This was a tricky one! After 2 years with Ubuntu, I finally managed to zap the bottom panel. I could recreate it, but not knowing the NAMES of what was originally there I was not a happy camper. Funny, when I 1st used gnome, I didn't like having top & bottom panels…now I wouldn't have it any other way! Thanks so much for posting this tip!

September 28, 2009

RJ @ 3:58 pm #

thanks… but it did not work until I changed the
rm -rf ~/.gconf/apps/panel

to

rm -rf ~ /.gconf/apps/panel
(I added a space after the tilde and it worked like a charm)

thanks, RJ

October 4, 2009

vinny @ 8:13 pm #

dud you are my hero thank you so much

October 13, 2009

diopu @ 10:24 am #

I have the same trouble, it seems that steps above doesn't work on my Jaunty…what's wrong? I've already uninstalled compiz and set Desktop effects to none. And also, I'm getting frustated cuz Alt+F2 and Create Launcher by right click on the desktop couldn't work. Somebody, please help me!

November 14, 2009

Sunil @ 1:54 am #

It really helped. Very good and quick solution. Worked for me with Ubuntu 9.10

Thank you.

November 29, 2009

Randall Herrera @ 3:02 pm #

Working for Ubuntu NR 9.10, thanks

December 6, 2009

IchBinRene @ 6:52 pm #

Thanks a million , you're awesome, saved me a reinstall!

December 21, 2009

Shayon @ 9:27 am #

Works with Karmic Koala too.

December 30, 2009

Max @ 3:12 pm #

@cworkman: This worked perfect in ubuntu 9.10. Thanks a lot!

January 3, 2010

Syl @ 12:55 pm #

tnx. Saved me some work to restore.

January 4, 2010

Geert @ 7:52 am #

Worked like a charm in ubuntu 9.10 although i only had to use 2 commands :)

thanks for this time-saving post.

January 11, 2010

toaster @ 3:40 pm #

Worked in 9.10 Netbook Remix as well, but

gconftool –recursive-unset /apps/panel

was enough. Thanks a lot, I already fell back to generate xml diffs for the different users to find out what to change.

January 12, 2010

Pim @ 11:50 am #

Works perfect on Ubuntu 9.10 Remix indeed.

Only had to use: gconftool –recursive-unset /apps/panel

January 25, 2010

getglenn @ 10:04 am #

worked first time on Ubuntu 8.10… many thanks for the info

January 27, 2010

shriv_noob @ 6:14 pm #

YAY! it works in 9.10 though I did have to figure out the correct order of spaces and dashes..
Thanks a bunch!!

February 5, 2010

Dennis Gearon @ 10:46 pm #

Thank you VERY much. Ubuntu 9.04 (holding out until the bugs are worked out of 9.10). Deleted top panel, was surprised how much returned after doing this.

February 6, 2010

mfragin @ 2:11 pm #

Thanks! I had added four or five instances of the weather applet, just for fun. The only problem was that half the time I booted up the panel was just blank. Resetting worked.

February 12, 2010

Caron @ 3:30 pm #

HOORAY! Worked like a charm, I killed my panel trying to help someone get theirs back (good thing I know some hot keys… and now I will create a few desktop launchers). We're both reset and ready to go back to tinkering!

Ubuntu 9.10 & 9.10 remix here.

Cheers!

February 15, 2010

Samantha @ 1:34 am #

@nickrud: hi. im new to this whole ubuntu/linux thingy. and i accidentally deleted my top panel. i tried what you guys said. it didn't work. im wondering if i put it in incorrectly. this is what i put. >>
owner@owner-desktop:~$ gconftool-2 –shutdown
owner@owner-desktop:~$ rm -rf ~/.gconf/apps/panel
owner@owner-desktop:~$ pkill gnome-panel
<<<
is that correct?

Samantha @ 1:38 am #

nevermind i tried it over and over and finally got it right! thnx

Sri @ 9:19 am #

Works perfectly, Thanks a ton dude :)

February 17, 2010

Shifty @ 12:53 am #

THX dude!!!!!!!!!!!!!!!!!!!!!!!!!

you've solved my problem!!!! THX a lot my man! I really REALLY apreciate it!!!

February 18, 2010

nerd @ 8:53 pm #

Worked great! Thanks!

February 19, 2010

Dario @ 6:05 am #

Legend! Worked a treat.
Thank you.

February 23, 2010

Luca @ 2:48 pm #

It works for me with 9.10 Kermic Koala. Thanks a lot, I was getting mad.

February 24, 2010

Matt @ 4:15 am #

Thanks for this post… By accident, I deleted the top bar and I was going crazy wondering how to restore…

I searched Google and found this post and it worked like a charm… I am using 9.10…

Thank you…

Thomas Schodt @ 7:10 am #

I made the same mistake – on CentOS, 5.4
These instructions work a treat
(allowing for obvious or explicitly stated caveats)

March 11, 2010

rajat @ 1:56 am #

thanks a lot. It worked. :)

March 24, 2010

vinay @ 12:21 pm #

thanks buddy

March 27, 2010

new2ubuntu @ 3:34 pm #

Thank you *so* much.

April 3, 2010

madhu @ 12:26 am #

hi everybody

April 6, 2010

vtiger @ 7:50 am #

thanks…it worked perfect for me

April 7, 2010

saravanan @ 11:24 am #

thanks a lot …..it works fine ….

April 8, 2010

Merlin2007 @ 3:00 am #

Running Ubuntu 9.10. I discovered all the problems where due to not typing it correctly on the terminal. Where you see the asterisk symbol * replace it with a space, and it should work. It did for me! Thanks a lot!

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

Merlin2007 @ 3:05 am #

Oops. I pasted the version that did not work for me, here is the correct sequence. replace * with a space. two dashes in front of the word recursive.

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

Merlin2007 @ 3:11 am #

Don't know why the two dashes are replaced by one dash when I post this. So I did not goof. I pasted directly from the Terminal the second time, but It still only shows as one minus sign, when there should be two! Weird??

April 11, 2010

e-k-o @ 7:08 pm #

thanks a lot. this works for karmic as well. :)

April 13, 2010

e-k-o @ 4:24 am #

hmm…, one more question. for new user who's new and not familiar to Ubuntu and command line, is there any convenient way to do this in GUI? thank you.

April 18, 2010

sinus @ 3:12 pm #

Please correct the topic (two dashes):
gconftool –recursive-unset /apps/panel

Thanks!

#Hope the two dashes don't disappear as Merlin2007 mentioned above.

sinus @ 3:15 pm #

Ok, seems something wrong with webpage coding :-(

April 19, 2010

vasile @ 11:03 am #

i have ubuntu 9.10 i did everything here was written but the panel still doesn't apear…what should i do?

Dennis @ 8:32 pm #

I made my panel disappear (auto-hide) behind my other one and now I can't make it re-appear. Any suggestions?

April 20, 2010

Kurt @ 7:13 am #

Works. Thanks Ubuntu 9.10 64 bit

April 23, 2010

ben @ 3:02 pm #

It doesn't work for me nothing happens at all when i enter these commands:
gconftool-2 – -shutdown
gconftool – -recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

I have ubuntu 9.10 or kubuntu 9.10

April 24, 2010

Merlin2007 @ 1:21 pm #

Someone has created a script

Here is the link…

http://www.starryhope.com/linux/ubuntu/2010/restore-the-default-panels-in-ubuntu/

It works! And when you run it, it looks and works like a desktop application.

There is another program that you can install in the Application, Ubuntu Software Center, called Lockdown Editor to prevent your panels from being accidentally changed.

April 26, 2010

John @ 9:31 am #

it works!! tnks a lot!

ben @ 8:18 pm #

instructor showed me how.
step 1: open up your home.
step 2: in your home click on view, then scroll down and put a check on hidden files.
step 3: find ".kde" folder and delete it.
step 4: log out, then log back in.
step 5: your desktop is set to default again.

April 30, 2010

Ahsanul @ 11:50 pm #

Thanx for the help however did not work for me when tried to copy paste and run in a terminal. But the following 3 lines did the job:

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

Cheerz~

May 1, 2010

Ioannis @ 7:33 pm #

Omg thank you so much !!! haha! every day someone is saved by this thread!! :D

Adam @ 9:12 pm #

It worked in 10.04.

I love you.

May 2, 2010

audi @ 12:48 pm #

Thanks !!!!!!!!
i love u so much !!!!!

May 3, 2010

pEDo @ 9:57 am #

thank you very much for the help…

May 4, 2010

DHarmin @ 10:27 am #

Thanks a lot for the post.

May 5, 2010

jessica @ 10:31 pm #

@Ahsanul: that worked for me!! thank you so much!

May 7, 2010

homer @ 5:14 am #

Thanks you, it saved me.

May 8, 2010

iceolate @ 9:56 am #

thanks, accidentally deleted both panels and couldn't figure out how to get it back, even after rebooting.

May 10, 2010

Akash Kumar @ 6:29 am #

Worked for ubuntu 10.04 as well

May 12, 2010

lynn @ 1:18 am #

i am not so sure if i made a huge mistake but.. my whole stuff in my laptop are gone as i used this process…. did i something wrong?

May 16, 2010

mahn @ 3:08 am #

Thank you it works.
This avoids me to become a gnome expert
for this you have my eternal gratitude :)

Scooter @ 6:49 pm #

Perfect! I love easy fixes!

May 18, 2010

cheyo pimienta @ 12:09 pm #

It still works on Lucid Lynx, :D

Dr. Rudra Lad @ 3:36 pm #

thanx a ton dude

May 19, 2010

Rasmus Eriksson @ 1:59 am #

Hi

I tried using:

owner@owner-desktop:~$ gconftool-2 –shutdown
owner@owner-desktop:~$ rm -rf ~/.gconf/apps/panel
owner@owner-desktop:~$ pkill gnome-panel

to restore my panel, it worked. BUT.

All my files have gone missing on my desktop, only by looking at my harddrive it seems like all my data is lost.

Is there any way to fix it?

May 22, 2010

JaBu @ 12:30 am #

Thank you for this helpful tip.

I've just carelessly delete my only panel in linuxmint isadora and this tip works flawlessly to get my panel back.

May 23, 2010

NooB @ 2:56 pm #

Thanks alot!

May 26, 2010

robbin @ 5:55 pm #

Thanks man, it fixed one thing but when I select 'Places' from the panel menu, I get an option to copy a CD/DVD, a panel with Select disc to copy (no disc available) then Select a disc to write to (image file) and the cancel option ? any help for a know nowt and thanks again, lost with out it !

I can still get to all my folders only not via Places drop down menu :(

Also your tip was applied to Ubuntu 10 Lucid Lynx :)

May 29, 2010

Eric @ 6:22 pm #

I just wanted to say it works and thank you very much.
10.04 x64 ubuntu.

May 30, 2010

anonymous @ 5:55 am #

You saved my day

May 31, 2010

dwayne @ 1:22 am #

When I click online the google screen covers the top and bottom panels so I can't see them. To go off I have to go into file and click quit.

This happened when I tried to make my google screen bigger by going to view and clicking on full screen.

From there I ended up deleting both panels trying to fix that. Thanks to this link I restored both panels but still can't get my internet screen to show both panels while surfing the net. Please help me this is very frustrating.

dwayne @ 1:50 am #

I found another site that said to go back to view and click on full screen and then hit F11. I tried that prior many times but I figured I would try it again. When I clicked on full screen it brought it down little again. I didn't even get to the F 11 part. Well it worked. The only problem is when I stretch it to make it fit the full screen it comes just a little short on the right side.

I then hit the up arrow at the left upper corner of the screen and then stretch it to fit but when I click off and come back it is back to being short on the right side. Well better that nothing.

June 1, 2010

DibDoank @ 5:50 am #

Thank you, bro! It's really helpful.

Anon. @ 7:22 am #

Thank you very much. you saved my day ! :)

June 2, 2010

nl @ 1:58 am #

Thanks! worked perfectly!

June 3, 2010

guy123 @ 2:51 pm #

Haha somehow I managed to delete every panel and reset the gui to default with nothing on so I would have been screwed, but I had a firefox window left open so I managed to do a google search to get this. Ty.

June 4, 2010

ILHN @ 8:26 pm #

it is not working on my computer. it happend to me one time then i did this and some other things and it came back then now 3 days later it came off again. it was there wen i turned the computer off when i turn it back on its gone. i tried doing this so many times and nothing happens. when i try putting a space between ~ and / it says
rm: cannot remove directory `/home/r*****o': Permission denied
r*****o@R*****os:~/Desktop$
and its just waiting 4 me to put a command

HELP
please

June 5, 2010
June 7, 2010

panos @ 11:26 am #

WOW! Works great, thanks!

June 8, 2010

lmars @ 1:34 am #

thanks Huge help, I'm new to linux and this was a huge help

June 10, 2010

pwnz0r3d @ 3:53 pm #

thanks a lot. worked on 10.04 as well. used nickrud's method.

June 14, 2010

Binu @ 2:13 am #

Thanks guys and especially to Merlin2007 for the exact way to type in the commands.thanks a ton!!so glad to see the default panel back.keep up the good work…

June 15, 2010

FCerezo @ 9:24 pm #

you can (highly recommended) put those three commands in a file (ie: vi restoreDesktop) and then run the file with the line below:
. restoreDesktop

Simply futile to try it differently.

BTW, Thanks a lot! It worked for me!

user@portal:~$ cat restorePanel

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

user@portal:~$

FCerezo @ 10:15 pm #

hold on. There is a fundamental error from the latest (in my case 10.04 LTS) version of Ubuntu.
Everytime that I shutdown and power up the PC, the desktop disapears….
That is quite weird!

A temporary solution is to change the file permissions (she my previous post) so that it can be run from the desktop as an application. To do this:
ALT+F2 to run gnome-terminal
chmod 774 restorePanel
Now you can close the terminal and create a launcher on your desktop to point to this file (the actual launcher)

Alternatively, you can embed your "restorePanel" in the script that runs under your user home (short of the equivalent to the old DOS Batch file)
but that is an advanced option.

Try the one above first and if this works, you can rest assure it would work always.

In the mean time, someone would have to go to Ubuntu creators an let them know about this flaw in the latest release of their otherwise wonderful Linux distro.

Good luck!

June 17, 2010

Nachiket @ 1:11 pm #

Thanks a lot…it worked for Ubuntu 10.04 too

June 20, 2010

Paul Hatch @ 10:16 am #

amazing… definitely a time saver

June 21, 2010

Ron @ 2:07 pm #

I'm using 10.04 and it worked like a charm. Many thanks!

lowemissions @ 10:12 pm #

amazing! it work like a charm on 10.04.
Thank you for instruction. Linux newbie

June 22, 2010

Nathan @ 11:39 pm #

Thanks for the tips guys – but can anyone explain why it is even possible to do something like delete ALL your panels and thus have no way of accessing your programs, files etc? For a lot of people this would be highly confusing I think, since the only way to get the panels appears to be to run terminal commands.
If the UI has an easy way to delete panels, should it not also have an easier way to restore them?

June 24, 2010

Alexander Lai @ 4:58 am #

Wonderful~! Thanks a lot for your advice, solved my problem in a very simple way!

ece_virus @ 2:16 pm #

It's great ..
Thanks a lot

June 29, 2010

Santosh @ 10:59 pm #

Thanks a lot… It saved me from one of the crash….

July 12, 2010

zacaj @ 10:53 am #

Thanks, worked great on 10.04

July 16, 2010

harry @ 1:05 pm #

Thanks a lot!! this trick works on Ubuntu Lucid Lynx (10.04) as well.

July 25, 2010

expfunc @ 6:49 pm #

@dwayne: Thank you, thank you. it works!!

July 29, 2010

Kristen @ 8:38 am #

I am somehow just an idiot….I deleted just my bottom panel, when trying this I was able to also delete my top panel….while staring at the blank desktop I remembered someone had posted alt F2 to get terminal to open. I did that and was now staring at my blank desktop with a terminal window….clueless I figured what the heck, let me try some more alt combinations. Maybe I was just lucky but I hit alt F1 and viola I got back top and bottom panels.
Thought I would mention just in case it works for someone else.

July 31, 2010

anders @ 7:33 am #

worked on ubuntu lucid lynx 10.04, thanks!

August 1, 2010

virat @ 8:30 am #

thanx to help me

Yannis @ 7:26 pm #

@FCerezo:

I had the same problem after installing the updates for 10.04 LTS.
Once I restart the system all taskbars disappear.
Like you suggested I added theses 2 lines at the bottom of the .bashrc file and it works fine!

rm -rf ~/.gconf/apps/panel
pkill gnome-panel

You can open up .bashrc (or .tcshrc etc) in your home directory with an editor and add the above 2 commands in the end of the file.
ALT-F2 and run xterm
vi ~/.bashrc

Also an easier way to do it is to open xterm with ALT-F2 (type xterm in the Run Application window)

and then type the folowing commands:
echo "rm -rf ~/.gconf/apps/panel" >> ~/.bashrc
echo "pkill gnome-panel" >> ~/.bashrc

and then restart the system.

It seems like a temporary solution that it works till the new updates fix the bug.

ivo @ 9:54 pm #

thanks

August 8, 2010

tarun @ 10:35 am #

thanks a lot! worked a like a charm in 10.04

August 9, 2010

Vamshi Krishna Reddy Bandaru @ 1:14 pm #

hey thanks it worked fine…and i am is using 10.4. thanks for this help…
thanks

August 16, 2010

Matt @ 10:08 am #

Thanks for this tutorial on restoring the default panels. I was screwing around with the panels and accidentally deleted the entire top panel and was having a hard time trying to get it back. Your instructions worked great. It only took about a minute to restore the panels using your method.

I'm using Ubuntu 10.04 with all the latest updates and your method still works very nicely! Thanks again!

August 21, 2010

Richard @ 11:21 am #

Two years after you posted this advice, it's still helping us. Thanks a million!!!!!

August 23, 2010

R.P. Singh @ 12:33 am #

Thank you very much. You guys are really genius. You solved my problem in the simplest way possible.

August 24, 2010

nishad @ 12:19 pm #

wow g8 ……….. thx for the information ..

August 26, 2010

Aman @ 5:15 am #

@nickrud: Nickrud's tips worked like a charm on Ubuntu 9.10 for some reason the other commands didn't do it.

Thanks a lot for the suggestion.

Gary @ 12:05 pm #

thanks.. it's working!
God Bless you all.

Jim Donnelly @ 6:48 pm #

Worked like a charm!

Alt F2 (brings up the Run command window)
Type "gnome-terminal" and hit the "Run" button to open the terminal.
$ gconftool-2 –shutdown
$ rm -rf ~/.gconf/apps/panel
$ pkill gnome-panel

August 27, 2010

John @ 10:26 pm #

ever so grateful, was pulling my hair out.
thanks again
JackM

August 28, 2010

Skip @ 8:27 pm #

Thanks ever so much for your fix… newbies such as I stand in awe of your kindness and sharing of knowledge, no doubt hard learned.

Thank you kindly,
Skip

August 29, 2010

Jasper @ 11:56 am #

What Skip said! Thanks a bunch!

jcbpwr @ 5:35 pm #

thanks so much. this did it perfectly. I'm a noob and this was a piece of cake. I'm running lucid and it worked great. fantastic commands

August 30, 2010

Thomas @ 2:27 pm #

Worked! What a relief. Thank you.

September 3, 2010

james @ 8:56 pm #

scenario: opened applications not showing in the task bar but doing alt-tab will show you the current running applications

solution: right click the taskbar, select "add to panel", then "windows selector"

UBUNTU 10.04

September 6, 2010

James @ 8:38 pm #

AMAZING!!! That worked perfectly.. Thank you so much

September 8, 2010

Phil @ 2:30 pm #

I tried nickrud's suggestion a few times, but it hasn't worked. I'm using 9.04, so has anyone any suggestions?

Phil @ 2:34 pm #

@Phil: Also, I can't type in "~" because my computer has an Italian keyboard. Is it necessary?

September 12, 2010

JC @ 10:41 am #

Beauty ! Thanks from the unix noob !

Phil @ 11:04 am #

Actually, I found a workaround. Just click on the taskbar at the bottom of the screen and select "New Panel".

September 13, 2010

nandan roy @ 10:42 am #

thanks . thanks . thanks. its beauty full. it helps me lots.

September 17, 2010

George @ 3:33 am #

Thanks its worked.

Phil @ 7:48 am #

It worked! :) Thanks!

September 18, 2010

Erik Lundmark @ 2:48 am #

Thanks! Worked great in 10.10…

cello @ 5:31 pm #

the –recursive-unset option does NOT work in 10.10 but gconftool2 –shutdown does. thanks a bunch! C: it's pretty sad how often I have to use this… so I finally thought to boomark it. (ain't I smart?)

September 19, 2010

Pete Saward @ 9:39 am #

I had this problem of the disappearing toolbar, but the fix didn't work for me. Then I noticed the post from Bertie-boy, who got the problem after uninstalling Evolution.
Bizarrely, removing evolution also uninstalls gnome-panel.
In this instance, the fix is simply Ctrl-Alt-F2 to a terminal, login as a user with admin privileges then
sudo apt-get install gnome-panel
Problem solved!

blehman1232 @ 5:00 pm #

Thank you very much… =D, you save me lots of time on restoring the panels… =D

September 25, 2010

Ben @ 7:14 pm #

Phew! Thanks dude – Ive done loads of complicated stuff with ubuntu but the minute i started playing with panels i got myself in trouble and deleted it (clearly Ubuntu needs a rethink… if so many of us are confused)

THANKS

September 26, 2010

Luan Cittá @ 10:21 am #

it worked on 10.04 tnks so mutch!

September 27, 2010

Jon @ 6:25 am #

@Watching The Net: Firefox doesn't have any problem at all. The problem is with your ineptitude and lack of understanding. Your mark-up has one hyphen rendered by a long slash character code and the other is just a plain ASCII hyphen.

Perhaps you should correct your piss poor mark-up before blaming peoples' browsers. What are you editing your pages in, Microsoft Word?

September 30, 2010

Kaaino @ 11:30 am #

It works with 10.10 maverick as well

October 1, 2010

Timpala @ 4:11 pm #

My panels disappeared during a typical package upgrade. I only figured out that the problem was related to "panels" as that application was always hung during shutdown.

Thanks to google finding this site, all is well. I'm running 10.04 LTS Lucid Lynx.

October 9, 2010

Fernando Selles @ 11:15 pm #

Thanks first set of commands that work well.
Only if someone could figure out why the panel screws up to fix that problem rather than reset the panel every so often

Cheers mate

October 22, 2010

L @ 5:18 pm #

YAY!!!!!

I've been messing for days with missing icons and menus! Worked like a charm!

Thanks a bunch!

October 23, 2010

Dayat @ 6:53 am #

Thanks dude ill search for this because i have make mistake remove something on my panel

TJFadness @ 10:33 pm #

Thanks! I somehow managed to remove the system indicators from the top bar and couldn't figure out to restore them, so this was the second best thing! About 5 seconds later, I had everything reconfigured so no harm done.

Thanks again!

October 28, 2010

Nisar Khan @ 4:15 am #

Thanks a lot

st @ 5:31 pm #

@cworkman: this one worked for me. The "rm " command gave an error.

Thanks

October 30, 2010

KK @ 3:57 am #

It worked on Ubuntu 10.04 as well. Thanks a lot!

November 2, 2010

Jason @ 11:14 am #

thank you thank you thank you. This problem is so annoying.

November 6, 2010

mahasona2001 @ 12:27 am #

Thank u guys…..U people solved my problem…

November 7, 2010

Frode and Hanne @ 4:29 am #

Thank you from Norway! And thank you again :)

November 9, 2010

henry @ 11:05 pm #

@Merlin2007:

Running 10.10 and Merlin's steps worked perfectly:

Here is the correct sequence. replace * with a space. two dashes in front of the word recursive.

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

November 10, 2010

mighty @ 3:53 pm #

wow yeah it works on mythbuntu installed over the top of ubi 9.10

November 13, 2010

nelly @ 2:04 pm #

thanks a lot buddy

William @ 3:06 pm #

Yeah!! rock n' roll

November 14, 2010

sonesh @ 3:23 pm #

THANKS to all who invent dis….

sonesh @ 3:52 pm #

@sankar:
heyyyyy
u can do like dat……
gconftool-2 –shutdown
gconftool –recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

Adam @ 7:53 pm #

Many many thanks!

November 18, 2010

Larry @ 8:04 pm #

Worked like a charm!

Thanks!

November 19, 2010

Ferdian @ 6:51 pm #

This method also work well in Ubuntu Maverick Meerkat. Thanks!

November 20, 2010

Kunal Bajpai @ 4:57 pm #

Works! Thanks man

November 21, 2010

Hari Ram @ 3:34 pm #

Thanks

November 22, 2010

Casper @ 5:45 pm #

THANKS ALOT! It also works with Ubuntu 10.10 !

November 24, 2010

Sigg3 @ 1:39 pm #

Cheers!
They've changed this since I last used Ubuntu.

November 27, 2010

Sachin Bhatt @ 10:01 am #

Thanks…this worked great.

November 29, 2010

Worked like a charm!

I am using Ubuntu 10.04, but it was not necessary to perform the remove command… apparently " gconftool –recursive-unset /apps/panel " deletes the folder.

Thanks a lot!

December 3, 2010

andre @ 8:06 pm #

it dosent work at all after i run pkill it just returns to the settings before do you know what im doing wrong? i dont get an error mesage or anything

December 8, 2010

manisundar @ 7:26 am #

dear sir
i am used to ubuntu9.0.not opened the panel(task bar)this prtoblem to my system.white blank of this place.so releave the problem qucickly sir
yours
manisundar

December 9, 2010

SINGH GAURAV @ 12:43 am #

Thanks A lot…very useful this help.

December 11, 2010

Kristin @ 10:44 am #

Thanks! This fixed whatever was causing some of my program windows e.g. Matlab not to appear in the panel.

December 12, 2010

Srivaths @ 1:08 pm #

@sankar:

Hey it worked for me. Thanks.

My problem was : There are two panels. One which showed the tasks running and the other the one with application/places/system. I had kept both in bottom screen and make one of them auto hide. Then I was not able to do anything with both the panels. After reboot also nothing happened. It didnt respond at all.

December 13, 2010

zamri @ 11:04 pm #

Thanks a lot!
Worked fine for me.
Ubuntu 10.10 user.

December 14, 2010

Aryo @ 8:59 pm #

Thanks! it is also work on RHEL 5 Gnome

December 18, 2010

lijin @ 6:40 am #

Thanks mate, It worked :)

December 20, 2010

Jerry @ 12:35 pm #

Im using ubuntu 10.10. my bottom panle is missing and if i run this command from terminal,panel will comeback:

gconftool –recursive-unset /apps/panel && gnome-panel

BUT when i close the terminal the panel will also disappear!!!!!! .how to fix this……………..??????????????

December 21, 2010

Archie @ 6:27 pm #

Thanks! Running 10.10 and it works.

December 23, 2010

Andy @ 12:45 pm #

Worked great for me thanks for putting this up I never thought I would get my 'taskbar' back. You have rescued my machine from a reinstall.

I kiss you.

Omer @ 1:58 pm #

Thanks, it worked great !!!!!

Michael Neumann @ 5:48 pm #

Why you didnt tell me that this was posible before I reinstalled my ubuntu? :(

December 29, 2010

Logan @ 1:37 am #

Works in Ubuntu 10.10!
Just Restart the System, and it works perfectly, thanks!

December 30, 2010

dro @ 1:29 pm #

Thanks a lot for this! I'm using Jolicloud and during an update it lost all the panels. I thought I would need to reinstall the OS, but this worked perfectly.
Thanks!

January 5, 2011

Watcher @ 1:42 am #

Thanks a lot! Worked on Ubuntu 10.04! I love Ubuntu :)

January 8, 2011

mark @ 9:26 pm #

Thanks worked perfectly for me on my lucid lynx.

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

And the panels are restored.

January 10, 2011

Prabu @ 11:37 pm #

Worked great.. !!
thanks a lot..!!

January 15, 2011

Konyalian @ 7:17 am #

very nice. worked like a charm … needed to restore evolution mail center and chat features. thumbs up.

January 19, 2011

davros @ 2:16 am #

ok ya it worked in 10.4 but i'm still missing evolution icon, and volume

how do i get those back?

January 20, 2011

matt @ 11:17 pm #

Brilliant!!! this is just what I needed…

thanks for the post.

January 23, 2011

Dharmendra Verma @ 1:36 pm #

hey it works on all versions of ubuntu means from 7.10 to Ubuntu Maverick Meerkat(10.10). Thanks!!!!!!! I m really very impressed.

February 2, 2011

michael @ 12:52 pm #

whooo… an hour of troubleshooting…newbies always has this problem…thanks a lot..im using ylmf os derived from ubuntu 10.04

February 6, 2011

DALE @ 5:40 pm #

I followed this exactly and it has deleted every single document, image, music, desktop item, everything apart from my programs but it has deleted all my program settings. how can i fix this? Thanks

February 11, 2011

Harp @ 11:10 pm #

thank you thank you thank you.. u r the best… it worked without a trouble for me… I really appreciate mate…

February 12, 2011

Logo @ 9:50 am #

It worked perfectly in resetting my Gnome taskbar.

I perceive that this is a Gnome issue and not an Ubuntu issue. It would be great to publish this fix in a less distro specific forum. For example, I am using another distribution and was about to give up my search of almost two weeks when I stumbled upon this very useful tip.

Thank you very much.

February 13, 2011

ask @ 1:24 am #

cool!

February 18, 2011

Hans @ 9:19 am #

I wish I could thank you, but this only shifted the icons on my desktop, freeing room for the bars to reappear… which they didn't.

Luis Henrique @ 6:24 pm #

Thanks for the tutorial … It worked and solved my problem in Ubuntu 10.10

February 19, 2011

Mari @ 2:30 pm #

Yay thanks! Had accidentally removed it; I'm surprised there isn't a "restore default" panel option… There seems to be one for most other features.

February 21, 2011

shiyas @ 5:03 pm #

hi,

its very nice tip… really save my time…

February 22, 2011

maali @ 4:11 am #

Hi,

Thanks a lotttttt..its so good tip..was able to get back my gnome desktop….:-)

February 24, 2011

mdsannihilation @ 12:25 am #

thanks for the great tutorial! saved my life :)

confirmed working in 10.10 maverick

Pete @ 4:34 am #

Great fix, I removed the top right icon (shutdown restart etc) by mistake and started to reposition and add icons to the panel then the clock being in the top right was a little off the screen and I didn't know how to reset it.

shiyas @ 11:29 am #

Thanks for the fix…, its very nice tutorial……

February 26, 2011

bav @ 3:49 am #

@RJ: this is will try to delete your entire home directory and a directory under root. This is a dangerous suggestion, and incorrect

February 27, 2011

Mike @ 7:32 am #

Thank's that worked well in ubuntu 10.04 Lucid

March 4, 2011

behlool @ 4:35 am #

Thanks a ton.
/* try to clearly represent the stuff (small hyphen and big hyphen and space are getting mixed up)*/

Tilak Sinha @ 3:24 pm #

Thank you very very much …

Its 2 in the morning and I can finally go to bed ..

Tilak

March 5, 2011

ax @ 3:22 am #

Just right click on the panel, -> "add to panel" , and add "indicator applet session"

all the default applets except the network manager applet are present in that list. this works in 10.10

Brad @ 6:02 am #

Wow! Thanks. This helped me lots. Infact, I've written another tutorial describing how to put this into a command that you can run right from your terminal. Here is is: http://riskycheesegrater.wordpress.com/?p=30

Jerry @ 12:35 pm #

terminal commands from above also worked perfectly for Mint Debian64 and I have my missing taskbar back. Thank you!

//quote//

gconftool-2 – -shutdown

(Note: There should be no spaces between the two dashes before shutdown.)

EDIT – Reader nickrud has suggested a better method instead of shutting down gconfd. Instead use the following command (thanks nickrud!)

gconftool – -recursive-unset /apps/panel

(Remember: There should be no spaces between the two dashes before shutdown.)

Then enter the next command:

rm -rf ~/.gconf/apps/panel

And enter one more command:

pkill gnome-panel

That's it!

Any ideas what caused the drop-out in the first place and how to prevent it from happening again?

DBooth @ 7:41 pm #

@RJ: WARNING: Do NOT add a space after the tilde! Doing so will cause the "rm" command to DELETE YOUR ENTIRE HOME DIRECTORY! The tilde by itself refers to your home directory.

DBooth @ 7:49 pm #

The instructions above did NOT work for me — the pkill command failed — but here is a script that worked perfectly for me on Ubuntu 10.04:
http://helpdeskgeek.com/linux-tips/easily-restore-the-default-gnome-panels-in-ubuntu/

March 7, 2011

ghingz @ 6:04 am #

yeah it works in my case 10.04 lucid….. BUT!!!
when i reboot the machine the panels are gone again.. so i have to enter the command again and again "pkill gnome-panel" EVERYTIME i REBOOT the machine.. any ideas?

thanks in advance..

March 11, 2011

Tejaswi Sharma @ 12:29 am #

It worked like a charm.. Thanks you very much..

March 12, 2011

Consty @ 2:28 pm #

Worked perfectly for me too. I'm using Ubuntu 10.10 Maverick Meercat. Thanks!

March 15, 2011

Yung Yip @ 9:11 am #

saved my ubuntu – "Delete Panel"

Usman @ 10:16 am #

Thanks! Buddy.
It worked and it saved a lot of my time.
thanks for sharing valuable information

March 17, 2011

Shaunak @ 10:07 am #

Works like a charm on Fedora 13

Lapankulta @ 12:41 pm #

Thank You! Worked the first time on Ubuntu 10.10 – the Maverick Meerkat.

Had intended to delete a shortcut on the desktop but the panel window was in the way and got removed. Created a script with the commands you provided, just in case……

March 25, 2011

Petru @ 1:19 pm #

it's magic!

March 27, 2011

JC @ 10:58 am #

Thanks a lot, it worked! I was going crazy trying to figure out how to get the sound indicator icon back (Ubuntu 10.04).

March 30, 2011

BD @ 3:34 am #

this works for me in Ubuntu Lucid Lynx 10.04 64 bit

thanks.

Lucas @ 12:23 pm #

Thank you so much!

March 31, 2011

Tom Zunder @ 3:51 am #

Works fine 10.04 64bit.

April 5, 2011

tm @ 8:22 am #

another happy customer. FC14 x64.

April 7, 2011

SnugglePuma @ 4:23 pm #

Cool! I wish I knew the details behind each of these commands. Finally someone provides the information I need in a straight forward article. I don't even consider myself a beginner but find certain things in ubuntu/linux to be hysterically quirky. Like when you delete the shutdown menu from the gnome panel in ubuntu 10.10, you cant get it back through the GUI. You can add a different looking shutdown menu, but not the original. What kind of f'd up bs is that? Word up to the devs: do more testing…

April 8, 2011

Logan Gorence @ 9:14 pm #

THANK YOU SO MUCH!
Works on Ubuntu 10.10 Maverik Meerkat

April 9, 2011

Allie @ 4:48 pm #

Hi, I accidentally deleted my bottom panel about a week ago, and immediately after that I googled how to reset it. I found this page, and I entered all the commands into a terminal as directed (I hope). Then, the panel didn't restore, so I restarted my computer. I logged in again, and everything on my account was restored back to it's default settings. Even my e-mail and files were gone. I looked in my trash bin, but it's empty. Does anyone know what happened to all my files and if I can get them back?
Thanks,
Allie

anhduc.bkhn @ 11:20 pm #

thanks thanks

April 11, 2011

Thibz @ 3:43 am #

Thanks, it worked fantastically :)

djangrono @ 8:29 am #

it's 2011 and it's still works…
thanks… love linux more….. it's so easy…

April 13, 2011

apurvrdx @ 2:35 am #

thanks a lot !! works perfectly even in 10.10

Amit @ 4:13 pm #

thnx man, it helped.

April 14, 2011

213 @ 2:12 am #

Thnks!!!

April 15, 2011

Anon @ 6:16 am #

Thanks.

Sharad @ 9:08 am #

Thanks a lot!!!! It works in 10.04 too…

April 21, 2011

Secil @ 2:37 pm #

this is great. thanks!

April 25, 2011

kanihuw @ 5:36 am #

This is great ! Thanks a lot !

April 26, 2011

abhiram @ 10:53 am #

it works great without any problem….. just those spaces should be adjusted…….. other thn tat its works great.. i got my panel back……. thanks alot… :) :) :) :) am using 10.10 version :) :)

April 28, 2011

Justin Lonas @ 7:40 pm #

Great :) worked perfectly. Thanks!

May 1, 2011

Ahsan @ 1:23 am #

thanks a lot…….
mannnnn………. i was about to reinstall my ubuntu………
:D

Nikko Bautista @ 7:14 am #

Works with 11.04 Ubuntu!

May 9, 2011

Zsolt @ 2:22 pm #

Many Thanks!!! It worked for me on Ubuntu 10.10

Edward @ 2:39 pm #

Worked like a charm! I am running Ubuntu 11.04.

May 10, 2011

Sandeep @ 11:35 pm #

Thanks a lot, It worked for me also (Ubuntu 10.10)

May 11, 2011

Chris Davenport @ 2:42 am #

Thanks – works on 11.04

May 14, 2011

giannis @ 4:39 pm #

@DBooth: You saved my ass!!!

May 15, 2011

Shashank @ 9:24 am #

This piece of code worked in ubuntu 11 also.. thanks a lot for the discover..! :)

May 18, 2011

NardoSaari @ 12:40 pm #

@sankar: Thanks man..! it worked perfectly on ubuntu 11.04 .!

NardoSaari @ 12:42 pm #

Thanks man it worked perfectly on unbuntu 11.04.! (Sorry sankar i comented on wrong field)

May 19, 2011

Krishna @ 10:17 am #

That's! Great.. Thanks a Lot using this tips I restored my Lost Panels in one attempt.

May 20, 2011

C2 @ 3:59 am #

Works in 11.04 Natty

Cheers

John Ashford @ 11:10 pm #

It did not work unfortunately….

May 29, 2011

Jase @ 8:09 pm #

Great tip, works on 10.04. My a$$ is saved for another day. Thanx.

May 30, 2011

M8R-hyauo01 @ 4:01 pm #

thanks works in mint isadora

June 4, 2011

RoG @ 9:44 am #

Awesome!!

Why can we delete those panels anyway?

June 8, 2011

sy @ 9:26 am #

Worked like a charm on Ubuntu Studio 11.04 (Natty Narwhal). Ta.

/sy

Tara @ 3:20 pm #

Many thanks! I googled "restore panels in ubuntu" and this was the first link I clicked. I've never solved a problem so fast :D

T.

June 12, 2011

navjit singh @ 12:42 pm #

u saved me bro fanx a lot btw can u plz tell us what exactly these commands did one after another?

June 14, 2011

Amjad @ 7:23 am #

A Billion Thanks …
Saved my Day :P …. coz I did this genuis delete in the morning….

June 17, 2011

Histeric @ 11:50 am #

Workd great on Natty! (11.04) Thank you!

June 18, 2011

ss @ 2:16 am #

A FIX :
NONE of these things worked for me .. so I did the Following :

1) Right Click on the Desktop
2)Choose 'Create Launcher'
3)there are four rows, first row being 'Name:' give some name ex: PANEL
second row is 'Comment:", third row is "Command:", fourth row is "ICON:" 5th row is 'Options:"
4)in third row there will be a 'Command:' option , right to this there will be a browse option.CLICK on it
5)A window called 'Select an Application' opens
6)scroll down until you find 'genome-panel' .. as all the names are arrange in alphabetical order it not difficult to find this quickly
7)select 'genome-panel' and click on 'Open' button
8)then on the 4th row there will "ICON:" click on the button and choose some icon ex: 'genome-panel' anc click OK button
9) finally CLICK on 'Create' Button.
10)then an icon will appear on your Desktop. Double Click on it . The two panels TOP and Bottom will appear from nowhere !!

Enjoy !!

rBence @ 9:54 am #

thank you so much,it works :)

June 23, 2011

harry @ 4:28 pm #

Great, accidentally swifly deleted my main panel at the top, and proceeded to panic. Perfect solution, am calm now. Really think there should be a prompt before deleting? Ah well. Fixed now, and bookmarked in case I do it again!

June 25, 2011

Peager @ 12:21 pm #

Thank you so very much. I am saved!

June 27, 2011

anonymous @ 12:56 pm #

I LOVE you!

Lots of THANKS!!!!!

June 28, 2011

james @ 8:20 pm #

thanks lots

July 1, 2011

confusion @ 3:52 am #

thanxxxxxxxxxxx a tonnnnnnnn it worked lyk a miracle…luv u 4 dis…

July 2, 2011

Lex @ 6:30 am #

You legend! Thanks so much!

July 3, 2011

James @ 10:18 pm #

Still works, thanks.

July 4, 2011

Daniel @ 11:52 am #

It still works in Ubuntu 11.04 Natty Narwhal! Thanks for posting! Now I can have an indicator applet along with the Unity panel!

July 5, 2011

Raghu @ 10:37 am #

it worked for me. I'm using Ubuntu 11.04 – the Natty Narwhal

July 8, 2011

Eliah Kagan @ 11:01 pm #

When following these instructions, it is *very* important to enter this particular command correctly, as some typos can result in catastrophic data loss:

rm -rf ~/.gconf/apps/panel

With a spurious space between ~ and / (resulting in ~ being passed as an argument), or between / and . (resulting in the equivalent ~/ being passed as an argument), this command will attempt to delete all the files in the user's home directory, and will usually almost completely succeed, deleting all of the user's documents in the process. Of course, everyone should keep current backups all the time…but unfortunately, a significant percentage of users don't, or don't always, which means that the results of mistyping that command are sometimes very bad indeed.

The possibility of this mistake being made is not merely theoretical. Here are two real-world instances where users lost all their documents:

https://answers.launchpad.net/ubuntu/+source/unity/+question/157389
https://answers.launchpad.net/ubuntu/+source/nautilus/+question/164125

I recommend that the author of this article add a parenthetical note after the "rm -rf" line to warn about this.

July 12, 2011

undersound @ 10:56 am #

sudo debconf gnome-panel

Sandeep S.P @ 10:02 pm #

Man, you are simply genius. This is the second time i was able to restore my panel.

July 14, 2011

mitch @ 6:32 pm #

awesome! worked like a charm in 11.04. I strongly dislike Unity, so I'm glad to have the classic gnome working again :)

July 20, 2011

tr @ 4:33 am #

Hello there, I am not a computer person, and so I do not quite understand what is going on, or even what you are saying, but I'll be truly grateful if you can help me please, I was rearranging picture of my wife unto my desktop so it appears as I wanted them best, also because there was little space no the desktop so things were hiding behind other things, and I could not see them well, as I was dragging a picture to the only space available which was at the bottom, I think it fell on the pannel, then suddenly the panel changed color to brown and white, so I tried to see if I could drag it out but it didn't work, I then right clicked the panel, and it said remove from panel, so I clicked that, suddenly all the windows I had open was gone, as well as the letter I was typing, I then went to google and typed "how to restore panel on linux" which brought me here, please I beg you to please help me, I already tried your instructions and it said "no such file or directory" I just don't know what to do, I've tried it several times and it still did not work, now I'm frightened I may have lost every thing for good, please help, please I beg you, please respond quickly, thanks.

Eliah Kagan @ 4:58 am #

@tr

Is it the windows themselves that have disappeared, or their entries in the window list in the bottom panel?

If the windows themselves have disappeared, then that suggests you may have simply switched to a different workspace. The workspace switcher shows four (or two) workspaces ("desktops") in a row, and is typically situated immediately to the left of the trash on the right side of the bottom panel. See http://en.wikipedia.org/wiki/File:UbuntuMaverickDesktop.png. You can click on each workspace to see if that's the one that contains your windows. Perhaps you dragged the window to a different workspace, which can be accomplished by dragging it off the edge of the screen, and maybe (I don't remember) also by dragging it into the icon representing a particular workspace in the workspace switcher.

If you don't have a workspace switcher, then perhaps that was the panel applet that you removed. You can re-add it by right-clicking on the panel where you want it to go and clicking "Add to Panel…", find Workspace Switcher, select it, and click Add. (Then click Close.)

On the other hand, if the problem is that you no longer see entries for your windows in the bottom panel, that probably means you removed the Window List applet. You can re-add that the same way: right-click on the panel where you want it to be (click at the very left edge of where you want it to appear, not in the center of where you want it to appear), click "Add to Panel", find Window List, select it, and click Add. (Then click Close.)

Please note that it's possible that both these things (something with the Workspace Switcher and something with the Window List) have occurred. There are other possibilities, too, but those two seem by far the most likely.

tr @ 5:37 am #

Yes, I did it every one:
Hello there, thank you for this site, I'm sorry to say that I was unable to use any of your instruction, so I went back to google and typed again "restore panel on ubuntu" and I scroll down to the fifth page or line, to the one that said "Restore the Default Gnome Panels in Ubuntu [Ubuntu Beginners …" and for a complete dinosaur like myself, it worked like a charm, it gave a restore program on my desktop, which I didn't have before, and I didn't have to do much other than follow the instructions, and it only takes a few seconds, and now, I have all my files back, and both the top and bottom panel are working perfectly, plus the bottom pannel has regain it's normal color, I seriously recommend it to all to use, in case we foolishly make the same mistakes again, one think more I would add, it stated that you should save it onto the desktop, but it would not allow me to do it, and all it wanted to do is open other files, so I saved it on my archive manager, then went to add it from the main menu in the preferences, which is inside/under the system tab, then from there, I dragged it unto the desktop, and follow the instruction from there, and all is perfect now, so there you have it, I hope it helped, good luck, thank once again, and good buy.

tr @ 6:04 am #

Thank you Eliah Kagan, I'm sorry I did not reply to you immediately, and personally, when I first posted my question for help, to be honest I was rather distraught at the time, as I wasn't sure what I had done and if it was possible to retrieve it all back, so I was looking through some of the comments of others if they might have the answer, but they were just too complicated and I was panicking, so I went back to google and found the other page and follow their instructions, which has saved me now, I even got my letters back isn't that grate, but unfortunately, I didn't realise you had responded to my plea for help, which I am ever so grateful to you for, not until I sent my second letter just to inform people of what I had do if it may help them also, so I am sorry to you and thank you for your response just the same, but with regards to switching screens, I did try that before coming on to this site, I think, but it was the same, sorry I can't quite remember now, and with the other things you suggested, I'm ever so sorry to say that I don't think I quite understand them, but anyway it's sorted now, and I wanted to thank you for all your help and assistant, it's rather kind of you and indeed sincere too, I think you are brilliant, thank you once more.

July 22, 2011

Krister @ 12:34 pm #

Thank you !!!!!!

July 24, 2011

Blanco @ 3:04 pm #

Thank you so much!!

July 27, 2011

Saurav @ 12:06 am #

Thanks you very much yepiiiiiiiiiiiiiiiiiii

August 17, 2011

Diane @ 8:08 pm #

I did all of that, and it did work – I got both panels back on the screen. However, the moment I closed the site, the panels disappeared and I was back where I started. Is there some closing code that has to be added to the terminal, or is there something else I should have done but did not do? Thankful for any suggestions.

August 18, 2011

leo varghese @ 9:44 am #

thanks a lot……………………………….

August 20, 2011

JuanCarlos @ 8:21 am #

Hello, thanks for the help. this worked on Ubuntu 10.4.

jcfigueroa @ 3:08 pm #

This also works in ubuntu 11.04 because i had the same problem and i run the commands you gave in the tutorial and all the panels works fine now :D

August 22, 2011

Hadi @ 10:30 am #

Thanks for the info, it helps me :-)

mjh @ 10:55 am #

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

August 26, 2011

MMC @ 11:40 am #

Thanks a lot…!
Worked for me..!

August 27, 2011

ray @ 11:42 am #

Woo hoo! As a noob, I was totally perplexed by this problem. This solution worked instantly! Thanks.

August 29, 2011

Diane @ 3:11 am #

Perhaps my problem was different. As I noted, the code did not help me, but then someone suggested pressing F11, which I did and, suddenly, everything was back to normal.

September 2, 2011

Mickey @ 11:12 am #

Thank you! Thank you! Thank you! I had first lost the upper panels and by following your commands i actually lost both, plus firefox. I had to get to your page via my phone. Thank you. god bless you.

dang @ 2:21 pm #

Thanks, this saved my butt!

September 5, 2011

smv @ 12:26 pm #

Thx a lot!:)

September 7, 2011

Gandy @ 5:26 am #

Hi,
thank you. Perfect it worked for me.

September 11, 2011

Shubhankar Banerjee @ 1:13 am #

man ur genius …. its too simple and is very helpful ..

TTTTTTHHHHHHHAAAAAANNNNNXXXXXXX

Allan @ 10:01 pm #

this worked… nice!

September 13, 2011

sean @ 8:57 am #

Also works on Centos 5.5
MANY thanks. This was killin' me.

Sean

September 16, 2011

fausto @ 10:39 am #

Thanks!.
Worked for me at Unbuntu 11.04

September 20, 2011

vineet @ 12:03 am #

i upgraded ubantu 11.04 today from 10.10 version
but there was no panel in it .. no work space .. i want to say just a wall paper
i created launcher but when ever i write
gconftool-2–shutdown
it is displaying command not found

im not a computer person please help me

jrugel @ 4:56 am #

Thanks!

mariana @ 8:27 pm #

Thank you very much! It worked just fine!

September 25, 2011

Jhaz @ 8:45 pm #

Thank you so much…this is why I love Ubuntu/Linux much more than I do Windows…a very helpful community, and broad experience and knowledge available…thanks again…

September 28, 2011

rikjaard-real @ 3:50 am #

worked a treat with ubuntu 11.04 server edition !

thanks my bars are restored ?

September 29, 2011

j sta @ 6:35 pm #

I am on 10.04
I set one of the panels (the one that bu default at the bottom) not to expand.
I want to change it back, but there is no "empty space" on the panel now, so I cant right click to properties.
tried both the kill commands suggested on top but panel is still short.
anybody has an idea how to enter properties from somewhere else?

October 1, 2011

Narzef @ 7:53 pm #

Hi, thank u. it worked fine.

October 3, 2011

mukks @ 3:57 pm #

using Ubuntu 11.04……. alt+f2 is not working….only create launcher is working …….please help me……whenever i enable Ubuntu unity plug-in there is conflict between desktop wall and desktop panel goes away…….

October 5, 2011

Zac @ 5:22 pm #

Hi!

Thanx, this worked in Nutty (11.4) too :)

October 6, 2011

Jeffrey Walton @ 12:35 am #

Also works for 10.04 (x64)

October 11, 2011

anonymous @ 9:28 am #

thanks, your solution to restore the panel to its default settings was the only cure for my Ubuntu machine. All the other networking icon missing from system tray did not work in my case. Keep up with your solutions to many problems.

October 13, 2011

Dish @ 1:32 am #

Thanks a lot, it worked with,
gconftool-2 –shutdown :)

October 14, 2011

kalai @ 5:39 am #

dear sir,
i am using ubuntu11.4 my desktop screen full blank. how to restore dash bar and lancher bar,not work in alt-f2 key not working.
thank u