4

When installing an application it creates few files/folder, mostly in HOME ~/.config and ~/.local/share/.

After removing the application these files do not automatically get removed. So, is there a way to remove all the files related to a removed app?

PS: How to remove configuration files completely <- I've read this question but it suggests removing the files one-by-one for each application. I am looking for a way to remove all these files in one step, if there's any.

5

Ubuntu Tweak 0.6.x series has introduced some new features like: Unity-specific settings and tweaks,   a built-in Computer Janitor   , options to change the theme, icons, fonts and more.

To install the latest Ubuntu Tweak 0.6, use the commands below:

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

Or download it from Launchpad.


Ubuntu Tweak

Ubuntu Tweak

  • Ahh! Ubuntu Tweak. Why did it never occur to me lol. Thanks :) – Gaurav Butola Feb 19 '12 at 18:00
0

Also worth trying, athough the log files and the files and the user-folder do not get deleted:

sudo dpkg --purge $(COLUMNS=200 dpkg -l | grep "^rc" | tr -s ' ' | cut -d ' ' -f 2)

Read more here: http://en.kioskea.net/faq/8269-ubuntu-cleaning-up-configuration-residue-packages

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.