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

Skip desktop configuration files when synchronizing a user?

Tags: None
(comma "," separated)
fudokai
Registered Member
Posts
6
Karma
0
I'm using unison to synchronise a user's home folder between machines but the one thing I specifically don't want to synchronise is any of the desktop settings especially as the machines are desktop workstations, laptops and net books, all with different screen resolutions, possibly different numbers of virtual desktops, widgets etc.

I've searched around on this forum and elsewhere and so far come up with skipping $KDEHOME/share/config/plasma*

Playing around with making changes and watching for them with find $KDEHOME -mmin -1 has given me the following list of files to skip
Code: Select all
$KDEHOME/share/config/plasma*
$KDEHOME/share/config/systemsettingsrc
$KDEHOME/share/config/kwinrc

Does anyone have any items to add to this list (desktop config only - I'm already skipping nepomuk/virtuouso)?
Is there any definitive list of desktop configuration files anywhere?
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Does that involve stuff like font settings, widget style, and the like? Or those you want synchronized?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
fudokai
Registered Member
Posts
6
Karma
0
einar wrote:Does that involve stuff like font settings, widget style, and the like? Or those you want synchronized?


I'd prefer to skip these too, if possible, as the screen size and layout on (my wife's) netbook may mean that I (or she) will want to set up something special.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The file "systemsettingsrc" also contains information on the desired type of appearance, and whether to use tooltips or not. It doesn't store any resolution specific information as far as I know.

The colour scheme and widget style are stored in $KDEHOME/config/kdeglobals. Be aware that this file is used for quite a few other things as well.
With regards to fonts, I think that information may be stored in ~/.fonts.conf (it is a cross-desktop file used by Fontconfig).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
fudokai
Registered Member
Posts
6
Karma
0
Ok, going on what I've found plus the responses I've had on this thread I'm going to try
Code: Select all
ignore = Name .kde*/share/config/*.SAV
ignore = Name .kde*/share/config/*.new
ignore = Name .kde*/share/config/*.lock.*

ignore = Name .kde*/share/config/plasma*
ignore = Name .kde*/share/config/systemsettingsrc
ignore = Name .kde*/share/config/kwinrc
ignore = Name .kde*/share/config/kmix*
ignore = Path .kde*/share/apps/kmix
ignore = Name .kde*/share/config/kdeglobals
ignore = Name .kde*/share/config/kglobalshortcutsrc
ignore = Name .kde*/share/config/krunnerrc
ignore = Name .kde*/share/config/activitymanager-pluginsrc
ignore = Name .kde*/share/config/activitymanagerrc


I've added kmix since it contains info about the sound hardware which will differ between machines.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As it is quite large, you probably also want to skip ~/.kde4/share/apps/nepomuk as well - particularly as you are skipping files related to activities.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
fudokai
Registered Member
Posts
6
Karma
0
bcooksley wrote:As it is quite large, you probably also want to skip ~/.kde4/share/apps/nepomuk as well - particularly as you are skipping files related to activities.


I missed that from the list but I'd already marked down nepomuk to be skipped ;)


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]