This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to backup workspace settings?

Tags: backup, workspace, settings backup, workspace, settings backup, workspace, settings
(comma "," separated)
LuckyScooby
Registered Member
Posts
2
Karma
0

How to backup workspace settings?

Wed Jan 25, 2017 9:46 pm
Hey guys!

I need to reinstall my broken system, however I wish not need to reconfigure all workspace settings.
How can I backup them? I've googled it and read KDE stores its settings in a single file, but I cannot find it. :(

Do you recommend doing this or to normally reconfigure through System Settings?
I'm just afraid the old settings to break the new installation.

Thanks!
User avatar
Rog131
Registered Member
Posts
828
Karma
10
LuckyScooby wrote:Hey guys!

I need to reinstall my broken system, however I wish not need to reconfigure all workspace settings.
How can I backup them? I've googled it and read KDE stores its settings in a single file, but I cannot find it. :(

Do you recommend doing this or to normally reconfigure through System Settings?
I'm just afraid the old settings to break the new installation.

Thanks!


Well, there are many KDE configuration files: kdeglobals, kwinrc, plasma-org.kde.plasma.desktop-appletsrc, etc.

By the KDE System Administration/Configuration Files - https://userbase.kde.org/KDE_System_Adm ... tion_Files :
KDE uses a simple text-based file format for all its configuration files...


The path of the configuration files is depending the KDE version:

KDE 4

A little helper:
Code: Select all
$ kde4-config --help
Usage: kde4-config [Qt-options] [KDE-options] [options]

A little program to output installation paths...


Configuration file paths:
Code: Select all
$ kde4-config --path config



KF5
(KDE Frameworks 5)

A little helper:
Code: Select all
$ kf5-config --help
Usage: kf5-config [Qt-options] [KDE-options] [options]

A little program to output installation paths...


Configuration file paths:
Code: Select all
$ kf5-config --path config


Freedesktop

The KDE (KF5) is following the XDG Base Directory Specification - https://standards.freedesktop.org/based ... atest.html

$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.

$XDG_DATA_HOME defines the base directory relative to which user specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.



Earlier KDE Forums

- Global "kdeglobals" config file location in Plasma 5: viewtopic.php?f=17&t=130170
- How to backup Plasma 5 panels: viewtopic.php?f=67&t=128730


I would...

Backup the:
- $HOME/.kde/
or
- $HOME/.kde4/
and
- $HOME/.config/
- $HOME/.local/share/


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]