startkde script modification question

Neil Stevens neil at
Thu Jan 16 06:47:46 GMT 2003

Hash: SHA1

On Wednesday January 15, 2003 01:47, Ralf Nolden wrote:
> Hi,
> while working myself (again) through the gpg/aegypten/smime stuff for
> debian packages (which we at credativ where I work will use for an
> installation), the thing for using KMail with Aegypten  depends much on
> proper configuration of the system. Now; one critical thing is to make
> the gpg-agent start up, so
> advises to start it in ~/.xsession or in startkde. I'd prefer to have a
> test for gpg-agent in the PATH and start it properly as the example says
> during KDE startup if it is there:
> Before using gpg, you need to start gpg-agent:
> eval "$(gpg-agent --daemon)"
> (gpg-agent outputs a little shell script that sets the environment
> variable GNUPG_AGENT_INFO). You may want to add this to your ~/.xsession
> or startkde so that all programs see the environment variable.
> My question is, could we implement this in the startkde script as a
> default test for KDE startup or do the packagers require to do that or
> leave this totally up to the user ? I think we could add this there to
> make sure kmail works with the plugins correctly, because many fails
> will be the result of not having everything properly configured and
> started up.

Implement it with KControl, like aRts does.  artsd is started with kcminit.

This way, you can have the gpg stuff GUI-configurable, instead of relying 
on shell scripts and environment variables alone for user control.

- -- 
Neil Stevens - neil at
"Distinctions by race are so evil, so arbitrary and insidious that a
state bound to defend the equal protection of the laws must not allow
them in any public sphere." -- Thurgood Marshall
Version: GnuPG v1.2.1 (GNU/Linux)


More information about the kde-core-devel mailing list