[sabayon] Personalized profiles using environment variables



Is it possible to create Sabayon-profiles that uses environment variables to personalize the profile?

This is what I want:

Default or mandatory gconf-profile where $USER and $USERNAME are fetched
from the users environment (gconftool-2 -g /apps/evolution/mail/accounts): 

[<?xml version="1.0"?>
<account name="$(USER)@example.com">
<identity>
    <name>$(USERNAME)</name>
    <addr-spec>$(USER)@example.com</addr-spec>
</identity>
<source>
  <url>imap://$(USER)%
40example com imap example com/;;use_ssl=when-possible
 </url>
</source>
<transport save-passwd="true">
	<url>smtp://$(USER)%40smtp.example.com;;use_ssl=when-possible</url>
</transport>

</account>
,
]

Profiles stored in /etc/gconf does not use environment variables as I
userstand, there has to be a layer that do the personalization.

a) Are sabayon the tool for this?
b) Please point me to some example profiles where Gnome are personalized
using the users environment.

Regards,
Anders Wallenquist
Free Software Consultant at Vertel/Kreawit







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