Hi, on my laptop I installed leap 15.6 without formatting /home, I added some users so I would like to copy settings (the ones coming from the modifications made in systemsettings but not, if possible, the appearence like wallpaper and icons and user avatar) from a user to another and also dolphin settings and okular settings (and maybe other applications) how can I get this?
That is not an easy one. Those configurations are mostly stored in files in ~/.config
, ~/.local
(and look inside there to see the many application etc. names), or even in ~/.<name of the program>
. For some it may be clear (e.g. for Mozilla applications you find them in ~/.mozilla
), but mostly it will be a game of “trial and error”.
I am afraid your case is not one that was foreseen by the developers. They probably thought that each user is responsible to adapt his/her own environment to needs. Maybe asking another user: “Hey I like that, how did you do to get it”.
As Henk mentioned, there may be a number of files involved, most residing within in the user’s ~/.config/ directory.
The wallpaper configuration file is ‘~/.config/plasma-org.kde.plasma.desktop-appletsrc’, so that is one you won’t want to copy.
Dolphin configuration resides in ‘~/.config/dolphinrc’. While for Okular, it is ‘~/.config/okularrc’ and ‘~/.config/okularpartrc’.
manythanks henk
I hope developers will think to deploy users settings and a systemwide also, like all settings, printers, bluetooth, networks and all others things, so when somebody install a new system can get his settings.
to copy files from ~/.config
, ~/.local
from a user to another is it enough to logging in in the target user account and copy and paste from the /home of the source user account?
Some further information regarding various KDE Plasma config files…
I don’t think anything in ~/.local/ is required from a user config POV. You should also change the ownership to the new user for any files that are copied across.
You seem not to quite understand how a multi-user system functions. If a user aap
can copy something from within the home directory of user noot
depends on the permissions set by user aap
. When aap
wants her/his data to be protected from “stealing” by other users, he will set the file permissions accordingly. When (s)he wants to allow the reading of his/her files by members of the same group as (s)he is a member of, (s)he will set the group permissions for reading. If (s)he wants to allow everybody to read his/her files, he will set the permissions of the files (and of course the directories in the path leading to the files) accordingly.
It is the user that decides. And you, as system manager, should probably not intervene in this, but that is up to your interpretation of the system management role you have.
And BTW there is no /home
of a user account. /home
is owned by root:root
. It is the individual /home/aap
and /home/noot
(from my example) so called “home directories” that are owned by the respective users.
For the case of KDE Plasma (5) there’s a “Plasma Customization Saver” Applet – <Plasma Customization Saver>.
There’s also “Konsave” – <Konsave>
For GNOME – no idea.
For KDE Plasma 6 – no idea – currently, there doesn’t seem to be any suitable Plasma 6 Applet.
manythanks, but I didn’t succeed to install nor konsave and nor Plasma Customization Saver, what have I to do?
As you did not provide any details on what you did and why you think you did not succeed, I hope you do not expect any advice on this.
for Plasma Customization Saver I downloaded com.pajuelo.plasmaConfSaver-1.6.tar.gz and extracted but I don’t find anything that lead me to install it
for konsave the instructions says:
Install from PyPI
python -m pip install konsave
I don’t know what is PyPI and I did but this was a result:
pla@pla4-TW:~> python -m pip install konsave
If ‘python’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf python
pla@pla4-TW:~>
For the case of the KDE Plasma Applet “Plasma Customization Saver”, please follow these KDE Plasma instructions – <Adding Applets>
For the case of “Konsave” – it ain’t in the openSUSE repositories – you’ll follow the Python installation instructions on GitHub but, the Python on current Leap systems ain’t simply “python” – it’s “Python 3” –
> python<Tab>
> python3<Tab><Tab>
python3 python3.6 python3.6m python3-config
python3.11 python3.6-config python3.6m-config
> which -a python3
/usr/bin/python3
> python3 -m pip install konsave
Defaulting to user installation because normal site-packages is not writeable
Collecting konsave
Downloading Konsave-2.2.0-py3-none-any.whl (24 kB)
Collecting PyYaml>=5.4.1
Downloading PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (677 kB)
|████████████████████████████████| 677 kB 7.1 MB/s
Installing collected packages: PyYaml, konsave
WARNING: The script konsave is installed in '/home/Users/xxx/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed PyYaml-6.0.1 konsave-2.2.0
>
manythanks the applet seems to work fine, if I export the configuration I can see which files are saved, I will try better
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.