deleted the gnome top panel, can't get the default panel back (ubuntu)

Asked by maarja

I accidentally deleted the gnome top panel and I'd like the default one back. unfortunately I don't know how to do this. if you could help me get it back, I'd be very grateful, because I really don't want to re-install linux ubuntu 6.10 (the one that was released in june I think) only for this stupid mistake I made. I tried making a new panel, but it came out blank without all the default thingies on it, and I really liked the default one. adding new things also doesn't work, because some of the default things are not on the list.
ps. I'm quite new to linux, so please consider that when answering and forgive my stupidity. big-big thanks!
maarja

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-panel Edit question
Assignee:
No assignee Edit question
Solved by:
Tiago Faria
Solved:
Last query:
Last reply:
Revision history for this message
Best Tiago Faria (gouki) said :
#1

You should be able to get the panel back by deleting the gnome2 folder.

Please go to a Terminal and do the following:

sudo rm ~/.gnome2

You may have to restart X after this, so please use the following key combination:

CTRL+ALT+BACKSPACE

Log back in and check if everything is working as you want.

Revision history for this message
Tiago Faria (gouki) said :
#2

I would like to know if this fixed your problem or not. Please reply when you get a chance.

Thank you.

Revision history for this message
maarja (psyhho) said :
#3

User confirmed that the request is solved.

Revision history for this message
jody (laxplayer52891) said :
#4

this same thing happened to me. i put in the command in the terminal and when it asked for password i just put in my login p-word but it didnt work. what are you supposed ot do?

Revision history for this message
Ron Brooks (ronbrooks) said :
#5

I have also tried this and can't get my software update notice or volume control back. I have deleted the .gnome2 file twice and restarted my computer and I still get the panel but no Software update notice or volume control. I was able to get the Applications , Places, System, and the date and time. I was also able to put firefox and gnome ppp up on the panel also.

Anyone know of another way to get the software update notice and the Volume control back up on the panel.

Thank you
ron

Revision history for this message
Desiree (ddsquires) said :
#6

Hopefully you've fixed this by now Ron, but for those interested (Based on Ubuntu 7.10)...

For the software update notice, I think you just need to ensure the Notification Area is added to your panel:
Right click on the panel you want to edit,
select "Add to Panel...",
scroll down to "Utilities",
select "Notification Area",
click the "Add" button OR drag the icon do the panel.

Likewise, for the volume control:
Right click on the panel you want to edit,
select "Add to Panel...",
scroll down to "System & Hardware",
select "Volume Control",
click the "Add" button OR drag the icon do the panel.

I believe you should be able to follow the same steps to re-add the original top panel and panel items.
First Right click on an existing panel then "New Panel".
On that new panel, right click and "Add to Panel...". Add "Menu Bar" for the "Applications Places System" menus, "Notification Area", "Clock", "Quit...", "Battery Charge Monitor" (if applicable)... not sure about the Help icon offhand.

Revision history for this message
Sbn (esbenvinsnes) said :
#7

I messed around with the top panel and now amule won't show as a try icon even though I enabled that in amule preferences...
After reading through the other posts associated here I managed to restore the battery, volume and network icons, but not the amule.
Any suggestions?

Revision history for this message
Desiree (ddsquires) said :
#8

Sbn:

I haven't used amule, but if you are trying to create an icon to launch the program (or any program) then you should be able to located the program in the Applications menu (and then under "Internet" I expect), and drag the icon from this menu to the panel. This will not remove the program from the menu, just make a shortcut copy.

If the program is not visible through the Applications menu, it may be hidden. You can edit which programs are visible through these menus by right-clicking on "Applications" and "Edit Menus".

If you are looking for a status type icon and it is not showing up on its own on the "Notification Area" panel item (see previous post to add) then I do not have any more ideas if not through the preferences of the program.

I hope something there helped.

Revision history for this message
davidchung (dlchung11) said :
#9

I type in (i even tried copying and pasting) sudo rm ~/.gnome2 and this is the message i get "rm: cannot remove `/home/me/.gnome2': Is a directory me@me-desktop:~$ " and it doesnt work.

Revision history for this message
Tiago Faria (gouki) said :
#10

davidchung,

Please do the following:

rm -R ~/.gnome

Also, consider opening a new ticket next time.

Revision history for this message
Tiago Faria (gouki) said :
#11

Sorry,

Correction:

rm -R ~/.gnome2

Revision history for this message
marlo gonda (mvgonda) said :
#12

i installed the xubuntu on my pc. accidentally deleted the panels and can't get it back. can i use the same procedure as described above, i'm not sure if this will work, and not sure of the outcome if i do. please help, many thanks

Revision history for this message
fp (fakepop) said :
#13

Here's a procedure that worked for me on 8.10:

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

Then restart X (CTRL + ALT + BACKSPACE)

REF: http://www.saifur-rahman.com/2008/12/restoring-default-ubuntu-panel/

Revision history for this message
yoyong (yoyongsuarez) said :
#14

Hi, i got rid the last gnome-panel of ubuntu 9.10 because I using AWN instead. But when I installed Cairo-Dock, I remove the AWN and disabled it. But the problem is that I cannot enable the Cairo-dock because I cannot access the ubuntu menu (because it already has no panels). How can I restore the panels? Or activate the Cairo-dock instead? help please

Revision history for this message
Vikram Dhillon (dhillon-v10) said :
#15

Do you have any panels on the screen, if so then you can click on it and
then on new panel. Otherwise hit ALT-F2 and type gnome panel

--
Regards,
Vikram Dhillon

On Thu, 2009-12-03 at 16:42 +0000, yoyong wrote:
> Question #3179 on gnome-panel in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/gnome-panel/+question/3179
>
> yoyong posted a new comment:
> Hi, i got rid the last gnome-panel of ubuntu 9.10 because I using AWN
> instead. But when I installed Cairo-Dock, I remove the AWN and disabled
> it. But the problem is that I cannot enable the Cairo-dock because I
> cannot access the ubuntu menu (because it already has no panels). How
> can I restore the panels? Or activate the Cairo-dock instead? help
> please
>

Revision history for this message
yoyong (yoyongsuarez) said :
#16

no, there's no panel left. I deliberately removed them because I was using AWN during that time. I cannot use the alt-F2 shortcut key because, it has already been disabled after I removed the last panel. Is there any alternative key to run applications or ubuntu menu, without using the gnome-panel?

Revision history for this message
Vikram Dhillon (dhillon-v10) said :
#17

Try it through the terminal, applications -> accesories -> terminal

--
Regards,
Vikram Dhillon

On Thu, 2009-12-03 at 22:11 +0000, yoyong wrote:
> Question #3179 on gnome-panel in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/gnome-panel/+question/3179
>
> yoyong posted a new comment:
> no, there's no panel left. I deliberately removed them because I was
> using AWN during that time. I cannot use the alt-F2 shortcut key
> because, it has already been disabled after I removed the last panel. Is
> there any alternative key to run applications or ubuntu menu, without
> using the gnome-panel?
>

Revision history for this message
Jimmy Lee Rapp (d-j-w-w-mygod) said :
#18

When trying to access my file system, I receive a "Not authorized" message. I am the only user and admin for this operating system. So, with that, I found the gnome2 file through the search engine and still can't delete it because it is a directory file I believe is what it told me. I went ahead and tried that terminal thing mentioned at first and I pretty much get the same answer. What do I do with the panel problem as well as the authorization problem? Can that arise because I have Windows Vista on this same lap top?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#19

@Jimmy Lee Rapp and others if you want better help please made your own new fresh question from here:

https://answers.launchpad.net/ubuntu/+source/gnome-panel/+addquestion