Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm fairly new to Ubuntu and while messing around with different things and trying out some shells, I've managed to mess my system up. Specifically I really messed up my GNOME session and can't get it to run really at all.

Is there a way to backup my apps but reinstall or just "restore" Ubuntu to its original condition? I had tons of updates installed, downloaded and setup my machine for Android development, and a few other things with a very slow internet connection.

share|improve this question
    
This question has been honed down to a broadly answerable scope, since the asker has abandoned ship. –  Jacob Johan Edwards Jan 8 '12 at 6:53
add comment

1 Answer 1

Open a terminal and try this command:

rm -r ~/.config/ ~/.cache/

and relogin. In a perfect world, this would restore a stock environment without any data loss. The world is good enough that it may work for you. However, not all software is standards compliant, so... if your login is still borked, backup everything and run:

rm -rf ~/.[^.]*

This will delete configuration for all applications. It will also delete some user information, such as your browser login information, your email credentials, save game files, etc.

share|improve this answer
    
First off... THANK YOU!!! I ran the first command and it seemed to fix most of the issues and i can get into the unity shell fine now. However, gnome is still borked (i only see an application and places menu now, no launcher). Would i just reinstall the gnome shell or would that result in "duplicate" version of gnome?? –  frettfreak Oct 26 '11 at 0:16
    
edited post and put results –  frettfreak Oct 26 '11 at 1:58
    
the problem is that it WAS booting earlier just fine into gnome shell and i know my drivers are installed. Thats where I am getting messed up. Not sure where to go from there. there is PLENTY of hardware here that should be able to run gnome (and was) shell. –  frettfreak Oct 26 '11 at 2:12
add comment

Your Answer

 
discard

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.