--===============0320269734== Content-Type: multipart/signed; boundary="nextPart16948833.BiyDKGqPLD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart16948833.BiyDKGqPLD Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 27 August 2008, Dong Tiger wrote: > Hi, > > I have to get this information from a non-kde program so as to keep the > appearance consistent. Does anyone know how to do it? I think using out config command line tool it would be this: % kreadconfig --file kdeglobals --group Icons --key Theme --default oxygen Which basically means (assuming the default INI-file backend) one of KDE's= =20 config files named "kdeglobals", a group labelled "[Icons]" and a key=20 named "Theme", defaulting to "oxygen" if the field is empty. We could probably add a D-Bus interface (if it doesn't exist already) for=20 doing the same read without external tool invokation. Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart16948833.BiyDKGqPLD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBItnpCnKMhG6pzZJIRAqlvAJ9y9PjB4wteEuZH1gGdAORMWiIfLgCfR0oC YlBjRmCg6uCv2eArLe+NDnY= =gCpM -----END PGP SIGNATURE----- --nextPart16948833.BiyDKGqPLD-- --===============0320269734== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0320269734==--