Reply to topic

Why are there two plasma config-files?

Chartman123
Registered Member
Posts
2
Karma
0
OS
Hi,

I just wonder why there are two plasma*rc files in /home/user/.kde4/share/config because very much of their contents are equal... I'm using KDE 4.2 on openSUSE 11.1.

Wouldn't it be better to strictly divide the contents or use just one configfile?

Chris

Last edited by Chartman123 on Thu Feb 12, 2009 11:16 am, edited 1 time in total.
User avatar bcooksley
Administrator
Posts
19763
Karma
87
OS
Plasma uses two different configuration files for different purposes. One ( plasmarc ) stores global settings like the Desktop Theme, while plasma-appletsrc stores the settings for all the individual applets. This is done so that other libplasma applications ( Amarok for instance ) are not burdened by Plasmoids they don't have.

If you have files such as plasma-desktoprc and plasma-desktop-appletsrc then you have been migrated to the KDE 4.3 Settings location.


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]
Chartman123
Registered Member
Posts
2
Karma
0
OS
Ok, I see... But I still don't understand why the same plasmoids get configured twice: once in plasmarc and once in plasma-appletsrc.

For example my clock:

plasmarc:

[Applets][12][Applets][14]
geometry=817,23,125,125
immutability=1
plugin=clock
zvalue=5

[Applets][12][Applets][14][Configuration]
defaultTimezone=Local
showSecondHand=true
showTimezoneString=false
timeZones=
timezone=Local

[Applets][12][Applets][14][Configuration][ExtenderItems][3]
extenderIconName=view-pim-calendar
extenderItemName=calendar
extenderTitle=Kalender
sourceAppletId=14
sourceAppletPluginName=clock

[Applets][12][Applets][14][Configuration][PopupApplet]
DialogHeight=281
DialogWidth=254


plasma-appletsrc:

[Containments][12][Applets][14]
geometry=817,23,125,125
immutability=1
plugin=clock
zvalue=3

[Containments][12][Applets][14][Configuration]
defaultTimezone=Local
showSecondHand=true
showTimezoneString=false
timeZones=
timezone=Local

[Containments][12][Applets][14][Configuration][ExtenderItems][3]
extenderIconName=view-pim-calendar
extenderItemName=calendar
extenderTitle=Kalender
sourceAppletId=14
sourceAppletPluginName=clock

[Containments][12][Applets][14][Configuration][PopupApplet]
DialogHeight=281
DialogWidth=254
User avatar Primoz
Moderator
Posts
859
Karma
1
OS
I guess because the change is ongoing. The separation isn't yet fully implemented.
Or maybe it supposed to be that way. And the plasma-desktoprc is just a specialized rc for desktop only plasmoids and plasmarc is for every widget you have.
But I think (hope, as the other solution is cluttering) it's the first thing...
I guess we'll have to wait until KDE4.3 to see what's really happening.


Primoz, proud to be a member of KDE forums since 2008-Nov.
User avatar JontheEchinda
KDE Developer
Posts
309
Karma
4
OS
What we know as "Plasma" is actually a desktop shell based off the Plasma libraries of code. From what I gather, settings global to all applications with a plasma implementation (Amarok, the Plasma desktop, etc) are stored in plasmarc, while settings specific to the applications are stored in config files such as plasma-appletsrc and amarok-appletsrc.

In fact, to help alleviate confusion, the "plasma' executable was renamed to "plasma-desktop" for KDE 4.3. Settings specific to KDE's desktop implementation on top of plasma will be stored in plasma-desktoprc (or something similar).


JontheEchinda, proud to be a member of the Kubuntu team since July 2008.
Image
Image

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], boudewijn, claydoh, farid, Google [Bot], nocruoro, tymond