swift 12/10/31 18:44:41 Modified: gnupg-user.xml Log: Fix bug #433792 - Update instructions for KDE4, with thanks to Chris Reffett for the patch
Revision Changes Path 1.51 xml/htdocs/doc/en/gnupg-user.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gnupg-user.xml?rev=1.51&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gnupg-user.xml?rev=1.51&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/gnupg-user.xml?r1=1.50&r2=1.51 Index: gnupg-user.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gnupg-user.xml,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- gnupg-user.xml 9 Jul 2012 04:34:16 -0000 1.50 +++ gnupg-user.xml 31 Oct 2012 18:44:41 -0000 1.51 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gnupg-user.xml,v 1.50 2012/07/09 04:34:16 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gnupg-user.xml,v 1.51 2012/10/31 18:44:41 swift Exp $ --> <guide> <title>GnuPG Gentoo User Guide</title> @@ -24,8 +24,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>2</version> -<date>2012-07-08</date> +<version>3</version> +<date>2012-10-31</date> <chapter> <title>Introduction</title> @@ -61,8 +61,7 @@ is probably a good idea. If you wish to have an email client capable of using gnupg you can use pine (<c>emerge pinepgp</c>), mutt (<c>emerge mutt</c>), Mozilla Thunderbird (<c>emerge thunderbird</c>), evolution (evolution is -a GNOME Microsoft Outlook work alike) and KDE's own KMail (KMail is part of the -kdepim package). +a GNOME Microsoft Outlook work alike) and KDE's own KMail. </p> <p> @@ -507,9 +506,9 @@ <p> If you use KDE as graphical environment, edit -<path>/usr/kde/3.x/env/agent-startup.sh</path> (system-wide) or -<path>~/.kde/env/gpgagent.sh</path> (local user) and add the following command -to it to have KDE automatically starting the GPG agent: +<path>/etc/kde/startup/agent-startup.sh</path> and uncomment the following +(system-wide) or <path>~/.kde4/env/gpg-agent.sh</path> (local user) and add +the following command to it to have KDE automatically starting the GPG agent: </p> <pre caption="Make KDE automatically start the GPG agent"> @@ -517,6 +516,18 @@ </pre> <p> +Additionally, uncomment the following in +<path>/etc/kde/shutdown/agent-shutdown.conf</path> (system-wide) or add it to +<path>~/.kde4/shutdown/gpg-agent.sh</path> (local user): +</p> + +<pre caption="Make KDE shut down the GPG agent"> +if [ -n "${GPG_AGENT_INFO}" ]; then + kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1 +fi +</pre> + +<p> If you use a different graphical environment, put that line (the same one as mentioned above) in <path>~/.xinitrc</path> (if you use <c>startx</c>) or <path>~/.xsession</path> (if you use XDM/GDM/KDM/...).
