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.

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.

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

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

share|improve this answer
    
Ahh! Ubuntu Tweak. Why did it never occur to me lol. Thanks :) –  Gaurav Butola Feb 19 '12 at 18:00
add comment

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

share|improve this answer
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.