Fresh user profile: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
==== Fresh profile ====
==== Fresh profile ====
Log out, open TTY 1 (CTRL-ALT-F1), log in with your p-number.<br/>
Log out, open TTY 1 (CTRL-ALT-F1), log in with your p-number.<br/>
Back up any important files.<br/>
Go to /home and delete the dot files and folders, or your whole /home directory.<br/>
Alternatively, write the dot files to a tarball for later reference, and make sure not to delete the tarball.<br/>
After you delete your home directory the system will create a new and fresh profile for you when you log in again.<br/>
<br/>
<br/>
This command forcibly removes all dot files and directory and their content from your home dir:<br/>
If you want to save the dot files you can do this:<br/>
mkdir ~/backup_dot_files && mv ~/.* ~/backup_dot_files/
Or this command forcibly removes all dot files and directory and their content from your home dir:<br/>
  rm -rf ~/.*
  rm -rf ~/.*
Or if you want to save the dot files you can do this:<br/>
mkdir ~/backup_dot_files && mv ~/.* ~/backup_dot_files/
Switch back to your window manager (CTRL-ALT-F7) and log in again.
Switch back to your window manager (CTRL-ALT-F7) and log in again.

Revision as of 11:55, 6 November 2018

Fresh profile

Log out, open TTY 1 (CTRL-ALT-F1), log in with your p-number.

If you want to save the dot files you can do this:

mkdir ~/backup_dot_files && mv ~/.* ~/backup_dot_files/

Or this command forcibly removes all dot files and directory and their content from your home dir:

rm -rf ~/.*

Switch back to your window manager (CTRL-ALT-F7) and log in again.