- I had fun making this website :3 (game is not done yet) mijyn.github.io/luna-dream/ via @__MiJyn__ 1 week ago
- There, wrote my tutorial on AABB collision detection & response: mijyn.github.io/tutorial/2013/… 1 week ago
- Yeah, people cheat.... :/ thedailywtf.com/Articles/The-S… 2 weeks ago
- I've been working on a game while I couldn't work on my main machine... anyone want to check it out? :3 mijyn.github.io/software/2013/… 2 weeks ago
- I got bored... and, I needed some zalgo-ey pics for my game, soooooo... here's my first attempt (took me ~10 minutes) http://t.co/dUQqAWwHmz 2 weeks ago
A listing of random software, tips, tweaks, hacks, and tutorials I made for Ubuntu
purgeconfig – A safer way to reset configuration files
October 27, 2011Posted by on
Many people try purging packages and reinstalling them to reset them, but it sometimes removes other packages with it, so it becomes a headache (especially when you are trying to reset the X11 configuration files, removing a few hundred packages with it).
To solve these problems, I made a script called purgeconfig that will artificially reset the configuration files (manually removing the configuration files, marking the packages as purged, then reinstalling the packages).
WARNING: Do NOT run Apt/Aptitude/DPKG/Synaptic/Software Center while running purgeconfig.
Download and install the script with this command:
wget http://purgeconfig.sf.net/purgeconfig.sh && chmod +x purgeconfig.sh && sudo cp purgeconfig.sh /usr/bin/purgeconfig
Usage is simple:
sudo purgeconfig package1 package2 package3 etc...
You can specify the architecture:
sudo purgeconfig package1:i386 etc...
If you have any questions/comments, feel free to comment, or post in the forum.
If this helped you, please link to this post and/or leave a comment!