Here is a working script to start Evolution with gnome-keyring-daemon in KDE:

"
#!/bin/bash

pidof gnome-keyring-daemon
DAEMONRUNNING=$?
echo $DAEMONRUNNING
if [ $DAEMONRUNNING -eq 0 ]
  then
    killall gnome-keyring-daemon
fi

eval "$(gnome-keyring-daemon)"
export GNOME_KEYRING_SOCKET
export GNOME_KEYRING_PID

evolution -c mail

"

save it as e.g., evo.sh, do a "chmod a+x evo.sh" and enjoy!

BTW, this way you will not "end up with multiple daemons running if you start 
and stop evolution"
several times. Also, there is no need "to start the daemon and export its 
variables to the
global environment at the start of every x session".

Thanks to Will Stephenson for giving the basic idea.



 
____________________________________________________________________________________
Never Miss an Email
Stay connected with Yahoo! Mail on your mobile.  Get started!
http://mobile.yahoo.com/services?promote=mail
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to