Difference between revisions of "HOWTO: Restore user default Sabayon settings"

From Sabayon Wiki
Jump to: navigation, search
 
 
Line 1: Line 1:
==Restoring User Defaults==
+
=Restoring User Defaults=
  
===Using the command line===
+
==Using the command line==
  
# Press alt-f2 and type''' kdesu konsole''' , enter root password
+
In terminal:
# Type '''cp -R /etc/skel/ /home/username''' (where username is the name of your user)
+
{{Console| <pre class="clear">
# Log out and log in again.
+
[email protected] ~ $ su
 +
localhost user # cp -R /etc/skel /home/username # change username to your user name
 +
</pre>}}
 +
Log out and log in again.
  
 +
==In GUI==
 +
It's more bothersome when using GUI. If you wish to do it knowing that, there are instructions.
  
 +
Any file manager can be used to do it. All that it is required is to run it with root privileges. To do it:
 +
{{Console| <pre class="clear">[email protected] ~ $ su  -c 'file manager'</pre>}}
 +
There are several different File Manager applications. Below there are some listed, along with Desktop Environments with which they're installed.
 +
File manager - DE
 +
-------------------------
 +
caja - Mate
 +
dolphin - KDE
 +
nautilus - GNOME
 +
thunar - XFCE
  
==Comments==
+
Additionally it's required to enable view of hidden files in File Manager. Options for it are either in 'View' of File Manager, or in it's settings.
"cp" "-R" are not recognized commands in konsole in Sabayon, or so konsole tells me
+
  
Please post comments on the talk page or discussion page for this page
+
Having unlocked view of hidden files, proceed with those instructions:
 +
# After launching FM with root privileges go to directory '''/etc/skel'''
 +
# Select all files and copy them (either by pressing Ctrl-A and Ctrl-C or doing it by mouse)
 +
# Go to '''/home/username''' and paste, if you wish, selectively overwriting settings.
  
cp -R works for me and others, please provide more information on the discussion page or forum.
 
  
===Using Konqueror (GUI)===
+
===Detailed instructions for Konqueror (GUI) in KDE===
 +
This option is available for
  
 
# Press alt-f2 and type kdesu konqueror, enter root password
 
# Press alt-f2 and type kdesu konqueror, enter root password
Line 25: Line 41:
 
# Paste the copied files (Edit-Paste or Ctrl-V), if it wants to overwrite select Yes or No depending on if you want the program settings to be restored to default (kde settings are in .kde, beryl settings are in .beryl etc)
 
# Paste the copied files (Edit-Paste or Ctrl-V), if it wants to overwrite select Yes or No depending on if you want the program settings to be restored to default (kde settings are in .kde, beryl settings are in .beryl etc)
 
# Log out and log in again.
 
# Log out and log in again.
 
--[[User:Appleman1234|Appleman1234]] 22:53, 8 February 2007 (PST)
 

Latest revision as of 20:35, 12 November 2013

Restoring User Defaults

Using the command line

In terminal:

[email protected] ~ $ su
localhost user # cp -R /etc/skel /home/username  # change username to your user name

Log out and log in again.

In GUI

It's more bothersome when using GUI. If you wish to do it knowing that, there are instructions.

Any file manager can be used to do it. All that it is required is to run it with root privileges. To do it:

[email protected] ~ $ su  -c 'file manager'

There are several different File Manager applications. Below there are some listed, along with Desktop Environments with which they're installed.

File manager - DE
-------------------------
caja - Mate
dolphin - KDE
nautilus - GNOME
thunar - XFCE

Additionally it's required to enable view of hidden files in File Manager. Options for it are either in 'View' of File Manager, or in it's settings.

Having unlocked view of hidden files, proceed with those instructions:

  1. After launching FM with root privileges go to directory /etc/skel
  2. Select all files and copy them (either by pressing Ctrl-A and Ctrl-C or doing it by mouse)
  3. Go to /home/username and paste, if you wish, selectively overwriting settings.


Detailed instructions for Konqueror (GUI) in KDE

This option is available for

  1. Press alt-f2 and type kdesu konqueror, enter root password
  2. In the address / location bar type /etc/skel
  3. From the View Menu Select Show all Hidden Files (Ctrl-Shift-H)
  4. Select all the files in this directory (Ctrl-A) and then copy (Edit-Copy or Ctrl-C)
  5. In the address / location bar type /home/username (where username is the name of your user)
  6. Paste the copied files (Edit-Paste or Ctrl-V), if it wants to overwrite select Yes or No depending on if you want the program settings to be restored to default (kde settings are in .kde, beryl settings are in .beryl etc)
  7. Log out and log in again.