25 Jun
2012
25 Jun
'12
8:18 a.m.
Excerpt from Randy's message of 2012-06-23T00:02-0400:
What I ended up doing was per the Arch wiki. Creating the file /etc/profile.d/gpg-agent.sh with the following:
/#!/bin/sh
envfile="${HOME}/.gnupg/gpg-agent.env" if test -f "$envfile" && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then eval "$(cat "$envfile")" else eval "$(gpg-agent --daemon --write-env-file "$envfile")" fi export GPG_AGENT_INFO # the env file does not contain the export statement/
This did the trick for me.
I applied your trick: it also works on Xfce.