From kde Sun Apr 07 09:34:14 2013 From: Kevin Krammer Date: Sun, 07 Apr 2013 09:34:14 +0000 To: kde Subject: Re: [kde] How to learn about all those configuration file values? Message-Id: <201304071134.20261.krammer () kde ! org> X-MARC-Message: https://marc.info/?l=kde&m=136532731531999 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============4678006180680106549==" --===============4678006180680106549== Content-Type: multipart/signed; boundary="nextPart2125065.HTjDIr2Nr7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2125065.HTjDIr2Nr7 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, first thanks to Duncan and Stephen for covering a lot of territory already = :) On Wednesday, 2013-04-03, adrelanos wrote: > understand (not just guess) what these settings actually do. So I am > asking form a distro packager perspective, must use the text > configuration files and can not just copy the whole ~/.kde folder. I assume you meant copying the whole .kde/share/config folder. While this is of course not viable, also because that can contain user=20 specific settings such as account details, it is often nevertheless a good= =20 starting point. The configuration framework used by KDE applications is build on the idea o= f=20 search lists, similar to the $PATH search list for executables. An application's configuration file will be searched in all configured=20 directories and their values merged before the application code reads them. http://techbase.kde.org/KDE_System_Administration/KDE_Filesystem_Hierarchy This allows one to experiement with settings in a normal user session and t= hen=20 replicate the necessary changes on a more global level. In your case that=20 could be the shipped config files, in the case of a system administrator it= =20 could be a level in between. Normally this is used as a multi level default value system, i.e. global=20 config providing default values for setting, more local configs adjusting=20 them, user local config potentially providing the final value. > At the bottom is a list of settings I can hardly make head of tail of. I > am not asking to tell me what each any any values do, I am just asking > about the best approach to learn all those things. A lot of application config are nowadays described by a meta config file, f= ile=20 extension being .kfcg They are used to describe all possible values, their types and defaults and= =20 are used to generate config access code instead of manually writing it=20 (manually written config access code is prone to typos in setting names). But as a side affect the also provide a kind of documentation of the=20 application's configuration capabilities. > I also tried entering the search term "kwrited" into quickgit.kde.org, > but to no avail. Also seaching for "site:quickgit.kde.org kwrited", > didn't help. I assumed to phrase a configuration file which contains > "[Module-kwrited]" you must somewhere use the word "kwrited" in the > sources and at least by reading the source I should get an idea what it > does, but I also don't find references for it in "kwrited", so I am > really lost on how to find reliable information. As Stephen already explained, kded is a session daemon that loads plugins=20 which turn provide services to applications or integration points between K= DE=20 libraries and system facilities. It is most commonly used when the functionality in question is not very=20 complex and thus doesn't make it viable to have a dedicated daemon for it. kwrited is a system facility integration plugin. It provides the necessary= =20 interfaces for Unix local system instant messaging tools like talk or write. Those are not in common use anymore, especially not on single user systems,= =20 and thus not loading that plugin by default makes a low hanging fruit for=20 saving some resources. JFYI: kwrited lives in the kde-workspace module and, as far as I can tell,= =20 doen not have any configurable option itself. Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart2125065.HTjDIr2Nr7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQBRYT2WnKMhG6pzZJIRAt2QAJ90ZS4Ke6Xam1i6BcrzHbdXud0u9gCePRVi Lelqv80qCMacVGw0+zsRTMw= =mkg7 -----END PGP SIGNATURE----- --nextPart2125065.HTjDIr2Nr7-- --===============4678006180680106549== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html. --===============4678006180680106549==--