Conf Files

Waldo Bastian bastian at kde.org
Sat Jun 5 13:20:11 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri June 4 2004 20:46, Nathan Toone wrote:
> Can you use variables within KDE Config files (~/.kde/share/config)?
>
> For example, I have 10 users, each of their usernames mirrors their jabber
> ID. I want to include something like this in the kopeterc file:
> AccountId=$USER at domain.com
>
> and use the same file as a template for each user (without having to
> configure it for each one...)
>
> Is this possible?

Yes, but you must explicitly indicate that such expansion should take place by 
adding [$e] to the key:

AccountId[$e]=${USER}@domain.com

See also http://www.kde.org/areas/sysadmin/config_file.php#shell_expansion

Cheers,
Waldo
- -- 
bastian at kde.org  |   KDE Community World Summit 2004  |  bastian at suse.com
bastian at kde.org  | 21-29 August, Ludwigsburg, Germany |  bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAwbp7N4pvrENfboIRAncJAJ0cCRFDTQWWbc+iIMFXT3WsiH8aWACgmKPu
Y6CFEKCQI8S0ENQvWMbUKdA=
=6Lmw
-----END PGP SIGNATURE-----
___________________________________________________
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.




More information about the kde mailing list