Restoring Ubuntu - Restore Your Desktop

You installed Ubuntu, and since it's so darn configurable, you decided to try a whole lot of different settings and configurations. Maybe to the point where things just aren't as they should. How do you restore your desktop to it's original state without re-installing?

If for any reason you need to restore your desktop to its default state, open a terminal and run these commands:

cd /home/username – This moves you to your user's /home directory, (which you should automatically be in when you open a terminal anyway) – be sure to put your actual username instead of /username.

Then:
rm -rf .gnome2 .gconf .gconfd .metacity – This command erases/removes all your gnome-desktop configuration files, forcing a re-spawn at restart. It's safe and effective.

To simply restore the top and bottom panels to their original state, use the following command:
gconftool --recursive-unset /apps/panel && killall gnome-panel

Here's an Ubuntu Forum thread discussing the procedure: http://ubuntuforums.org/showthread.php?t=1060406

On a similar note, when installing Ubuntu or any other Linux OS, if you take the time to install a separate /home partition, restoring can be done at a deeper level.
Essentially, if you've installed a separate /home partition, you can re-install the entire operating system without over-writing your folders, documents and other important data.

Here's a link to Installing Ubuntu with a separate /home partition.

Comments

not wrking. i have installed

not wrking.
i have installed ubuntu assistant and since then my machine can not get wireless trying to uninstall that assistant.
please help,

ubuntu assistant

I'm guessing you are referring to the Ubuntu Assistant multimedia installation script.

I've never used it, and I'd be sure to use a How-To from the Ubuntu Forums Tutorials and Tips instead of someone's script unless you actually know what the script is doing - DON'T USE SCRIPTS YOU DON'T UNDERSTAND!!!

The Forums are a great place to get help for any Ubuntu-related issues.

Thanks!

Thanks mate! This is the only thing that got my missing window borders back. The metacity --replace command did not work as others would suggest. You've just saved me a lot of hassle reinstalling from the cd :)

Hey, Sean... Great - glad

Hey, Sean... Great - glad you got it sorted...

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Images can be added to this post.

More information about formatting options

Image CAPTCHA
Enter the characters shown in the image.