Hello,
What you can do... let's assume your username is lloyd and the homedir is /home/lloyd :
1) Create an other user "mageiadmin" (it's always good to have an admin user for such tasks... usually i dedicate the first user created during install for that and with it i create my "normal" user but that's an other story

)
2) log in with it and open a console
3) create a new homedir for lloyd and set lloyd as owner:
- Code: Select all
su -c "mkdir /home/lloyd_new; chown lloyd:lloyd /home/lloyd_new"
3) move content of current lloyd homedir to the new dir :
- Code: Select all
su -c "mv /home/lloyd/* /home/lloyd_new/"
4) Swap old and new directories :
- Code: Select all
su -c "mv /home/lloyd /home/lloyd_old; mv /home/lloyd_new /home/lloyd"
4) log out and log in as lloyd as usual (same login, same password)
This way you will have a brand new un-customized home dir with all your files. And your "cleaned files" won't be very far => /home/lloyd_old
WARNING : you'll loose mozilla/firefox & thunderbird profiles and accounts which are hidden (name starting with a dot = not showed by default) => you'll find them in :
- /home/lloyd_old/.thunderbird
- /home/lloyd_old/.mozilla
If you have ssh keys you'll have to get back /home/lloyd_old/.ssh and its content
if you gave gpg keys you'll have to get them back too and i'm missing probably thing.
The cool part of my method : you keep your user name and you don't loose things...
The tedious part : you might have to get back things form the old directory...