From: Mick <mic...@gm...> - 2010-05-27 13:45:18
|
Hi All, In KDE gpg-agent is launched via /etc/kde/startup/agent-startup.sh like so, upon startup of KDE: =========================== $ grep -v "#" /etc/kde/startup/agent-startup.sh if [ -x /usr/bin/gpg-agent ]; then eval "$(/usr/bin/gpg-agent --daemon)" fi =========================== and killed when KDE shuts down: =========================== $ grep -v "#" /etc/kde/shutdown/agent-shutdown.sh if [ -n "${GPG_AGENT_INFO}" ]; then kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1 fi =========================== This allows Kmail to work with gpg-agent nicely. What is the right way to do this with Enlightenment? I have googled and can't find anything that works. An old thread suggested using ~/.e/e/applications/startup/ and I have set up two .desktop files as follows: $ ls -la .e/e/applications/all/ total 2 drwxr-xr-x 2 michael michael 4 May 27 14:32 . drwxr-xr-x 8 michael michael 8 May 24 15:21 .. -rw-r--r-- 1 michael michael 156 May 27 14:32 agent_shutdown.desktop -rw-r--r-- 1 michael michael 153 May 27 13:58 agent_startup.desktop Then added this in /applications/startup/.order: $ cat .e/e/applications/startup/.order agent_startup.desktop gkrellm-gkrellm-2.desktop and this in applications/restart/.order: $ cat .e/e/applications/restart/.order agent_shutdown.desktop agent_startup.desktop However, they do not work: $ echo $GPG_AGENT_INFO shows nothing at all. :-( Any suggestions? -- Regards, Mick |