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.