I am kind of new using ubuntu and i wondering is there was a code that i can run that will completely remove everything installed and return it to a state similar to when i finished installing the OS itself

  • You could enlight us and mention at least what software/packages did you install? Please edit your question. – xangua Dec 8 '14 at 1:59
  • @xangua It wouldn't really matter what he installed, he's looking for a generic command. – Seth Dec 10 '14 at 19:19

If you want to restart from scratch, I would follow Patrick's advice and just reinstall the OS.

However, if you want to reset the way your desktop originally looked, then follow the instructions below.

I you want to reset your unity desktop and compiz, open your terminal and type

dconf reset -f /org/compiz/

then type

setsid unity

If you want to reset the unity default icons, type

unity --reset-icons

If you are going to be doing such a wipe as that, just backing up and reinstalling the OS is the easiest way. You could go into the Software Centre and look at what is installed, there, and uninstall based on History or what you have installed. There isn't a script for everything! ;D

  • You could make one though, by looking at all dependencies for ubuntu-desktop and purging any package that is not necessary for an Ubuntu Desktop system. – Jo-Erlend Schinstad Dec 8 '14 at 5:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.