Re: Conf Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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@xxxxxxxxxx
>
> 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@xxxxxxx  |   KDE Community World Summit 2004  |  bastian@xxxxxxxx
bastian@xxxxxxx  | 21-29 August, Ludwigsburg, Germany |  bastian@xxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAwbp7N4pvrENfboIRAncJAJ0cCRFDTQWWbc+iIMFXT3WsiH8aWACgmKPu
Y6CFEKCQI8S0ENQvWMbUKdA=
=6Lmw
-----END PGP SIGNATURE-----
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux