LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Spring Cleaning Arch (https://www.linuxquestions.org/questions/arch-29/spring-cleaning-arch-812848/)

BeaverusIV 06-08-2010 04:51 AM

Spring Cleaning Arch
 
I installed Arch (i686) a year ago and played with it, but KDE wasn't 'ripe' enough for me, so I left it. Now I have recently made it my default boot option again and set it up (KDE still isn't perfect, but I don't think I'd like the other DE's, I hate GNOME) how I like it after cleaning off KDE/X from it and reinstalling.

When I originally played with it I installed things like emerald/compiz, and tried to install quite a few games. Now sticking with the 'Arch way', I don't want to reinstall a clean install (although I might convert to x64 once Flashx64 is finished cooking) but I do want to clean off my system of unneeded config files and libs, etc.

So just wanting to know if you have any advice on how to do that; clean configs and help keep my system running as fast as possible.

reed9 06-08-2010 07:42 AM

There's a thread here with a script to find files not owned by any installed package.

And you can use diffpac to find and deal with .pacsav files.

BeaverusIV 06-08-2010 05:35 PM

Thanks, using that script now, with a few customisations. Will look into diffpac, don't know much about .pacsav files so I'll read up about them.

BeaverusIV 06-08-2010 05:44 PM

This is what I get after excluding some more directories:
Code:

Found, but not owned:
/boot/kernel26-fallback.img
/boot/kernel26.img
/boot/lost+found
/etc/asound.state
/etc/cron.daily/man-db.pacnew
/etc/fstab.pacnew
/etc/gconf/gconf.xml.defaults/%gconf-tree.xml
/etc/group-
/etc/group.pacnew
/etc/gshadow-
/etc/gtk-2.0/gdk-pixbuf.loaders
/etc/gtk-2.0/gtk.immodules
/etc/ld.so.cache
/etc/ld.so.confe
/etc/ld.so.conf.pacnew
/etc/locale.gen.pacnew
/etc/localtime
/etc/mtab
/etc/mtab.fuselock
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
/etc/pango/pango.modules
/etc/passwd-
/etc/profile.d/locale.sh
/etc/profile.d/openjdk6.sh.pacnew
/etc/.pwd.lock
/etc/rc.conf~
/etc/samba/private/passdb.tdb
/etc/samba/private/secrets.tdb
/etc/samba/private/smbpasswd
/etc/samba/smb.conf
/etc/shadow-
/etc/vimrc.pacorig
/etc/wicd/dhclient.conf.template
/etc/wicd/manager-settings.conf
/etc/wicd/wired-settings.conf
/etc/wicd/wireless-settings.conf
/etc/xinetd.d/swat.pacsave
/etc/xml
/etc/xml/catalog
/lib/libnss_winbind.so.2
/opt/sumwars/save/BeaverusIV.sav
/usr/bin/kwestkingdom
/usr/lib/gio/modules/giomodule.cache
/usr/lib/jvm/java-1.6.0-openjdk
/usr/lib/jvm/java-1.6.0-openjdk/bin
/usr/lib/jvm/java-1.6.0-openjdk/bin/java
/usr/lib/libfreeimageplus.so.3
/usr/lib/libfreeimage.so.3
/usr/lib/libtalloc.so.1
/usr/lib/libtalloc.so.2
/usr/lib/libvdpau_nvidia.so
/usr/lib/libvdpau_trace.so
/usr/lib/locale/locale-archive
/usr/lib/opera/plugins/libflashplayer.so
/usr/lib/pkgconfig/SDL.pc
/usr/lib/python2.6/site-packages/wicd/backend.pyo
/usr/lib/python2.6/site-packages/wicd/configmanager.pyo
/usr/lib/python2.6/site-packages/wicd/dbusmanager.pyo
/usr/lib/python2.6/site-packages/wicd/__init__.pyo
/usr/lib/python2.6/site-packages/wicd/logfile.pyo
/usr/lib/python2.6/site-packages/wicd/misc.pyo
/usr/lib/python2.6/site-packages/wicd/networking.pyo
/usr/lib/python2.6/site-packages/wicd/wnettools.pyo
/usr/lib/python2.6/site-packages/wicd/wpath.pyo
/usr/lib/python2.6/site-packages/_xmlplus/__init__.pyo
/usr/lib/python2.6/site-packages/_xmlplus/parsers/expat.pyo
/usr/lib/python2.6/site-packages/_xmlplus/parsers/__init__.pyo
/usr/local/bin/romfixer
/usr/local/bin/trigger
/usr/local/bin/tuxnes
/usr/local/lib/libfife.a
/usr/local/lib/libglew.a
/usr/local/lib/libpengine.a
/usr/local/lib/libpsim.a
/usr/local/share/doc
/usr/local/share/doc/trigger-0.5.2
/usr/share/applications/mimeinfo.cache
/usr/share/config/kcmclockrc
/usr/share/doc/opera/LGPL
/usr/share/icons/hicolor/icon-theme.cache
/usr/share/info/dir
/usr/share/man/man1/opera.1
/usr/share/opera/scripts
/usr/share/opera/scripts/common.js
/usr/share/opera/scripts/substance.js
/usr/share/wicd/backends/be-external.pyo
/usr/share/wicd/backends/be-ioctl.pyo
/var/lib/dbus/machine-id
/var/lib/dhcpcd/dhcpcd-wlan0.lease
/var/lib/hwclock/adjtime
/var/lib/kdm
/var/lib/kdm/kdmsts
/var/lib/logrotate.status
/var/lib/misc/random-seed
/var/lib/mlocate/mlocate.db
/var/lib/samba/account_policy.tdb
/var/lib/samba/browse.dat
/var/lib/samba/group_mapping.ldb
/var/lib/samba/ntdrivers.tdb
/var/lib/samba/ntforms.tdb
/var/lib/samba/ntprinters.tdb
/var/lib/samba/perfmon
/var/lib/samba/printing
/var/lib/samba/registry.tdb
/var/lib/samba/share_info.tdb
/var/lib/samba/winbindd_idmap.tdb
/var/lib/syslog-ng/syslog-ng.persist
/var/lib/wicd/configurations/001b11d08a82
/var/lib/wicd/configurations/0021912e3562
/var/lib/wicd/resolv.conf.orig
/var/spool/cronstamps/root.sys-daily
/var/spool/cronstamps/root.sys-hourly
/var/spool/cronstamps/root.sys-monthly
/var/spool/cronstamps/root.sys-weekly

I have wicd and samba installed, but I removed then reinstalled them so I'm guessing this is why those packages don't take ownership of their configs? How would I rectify that?


All times are GMT -5. The time now is 10:39 AM.