Package: seahorse Version: 0.9.1-2.2 Severity: wishlist Tags: patch I have been talking to upstream about how best to get seahorse-daemon's GPG_AGENT_INFO environment setting into the user's session[0]. The present approach is no good because it breaks as soon as the user runs more than one daemon (they might log in twice, or on two different machine sharing the same home directory).
Seahorse 0.9 added a feature that makes it behave like ssh-agent, gpg-agent, dbus-launch and so on: $ seahorse-daemon -v GPG_AGENT_INFO=/home/sam/.gnome2/seahorse-osJVZl/S.gpg-agent:30690:1; export GPG_AGENT_INFO Therefore I suggest launching the agent in this way from a script in /etc/X11/Xsession.d. Using /etc/X11/Xsession.d/55gnome-session_gnomerc as a template, I suggest something like: # If we are running the GNOME session, launch seahorse-daemon BASESTARTUP=`basename "$STARTUP" | cut -d\ -f1` if [ "$BASESTARTUP" = gnome-session -o \ \( "$BASESTARTUP" = x-session-manager -a \ `readlink /etc/alternatives/x-session-manager` = \ /usr/bin/gnome-session \) ]; then eval $(seahorse-daemon -v) fi [0] http://bugzilla.gnome.org/show_bug.cgi?id=156306 -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-1-k7 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages seahorse depends on: ii debconf [debconf-2.0] 1.5.2 Debian configuration management sy ii gconf2 2.14.0-1 GNOME configuration database syste ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi ii libatk1.0-0 1.12.1-1 The ATK accessibility toolkit ii libavahi-client3 0.6.12-1 Avahi client library ii libavahi-common3 0.6.12-1 Avahi common library ii libavahi-glib1 0.6.12-1 Avahi glib integration library ii libbonobo2-0 2.14.0-1 Bonobo CORBA interfaces library ii libbonoboui2-0 2.14.0-3 The Bonobo UI library ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libcairo2 1.2.0-3 The Cairo 2D vector graphics libra ii libdbus-1-2 0.62-4 simple interprocess messaging syst ii libdbus-glib-1-2 0.62-4 simple interprocess messaging syst ii libfontconfig1 2.3.2-7 generic font configuration library ii libgconf2-4 2.14.0-1 GNOME configuration database syste ii libglade2-0 1:2.5.1-2 library to load .glade files at ru ii libglib2.0-0 2.10.3-3 The GLib library of C routines ii libgnome-keyring0 0.4.9-1 GNOME keyring services library ii libgnome2-0 2.14.1-2 The GNOME 2 library - runtime file ii libgnomecanvas2-0 2.14.0-2 A powerful object-oriented display ii libgnomeprint2.2-0 2.12.1-5 The GNOME 2.2 print architecture - ii libgnomeprintui2.2-0 2.12.1-4 GNOME 2.2 print architecture User ii libgnomeui-0 2.14.1-2 The GNOME 2 libraries (User Interf ii libgnomevfs2-0 2.14.2-1 GNOME virtual file-system (runtime ii libgnutls13 1.4.1-1 the GNU TLS library - runtime libr ii libgpg-error0 1.2-1 library for common error values an ii libgpgme11 1.1.2-2 GPGME - GnuPG Made Easy ii libgtk2.0-0 2.8.18-5 The GTK+ graphical user interface ii libgtksourceview1.0-0 1.6.1-3 shared libraries for the GTK+ synt ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library ii libldap2 2.1.30-13+b1 OpenLDAP libraries ii libnautilus-extension1 2.14.1-5 libraries for nautilus components ii libnotify1 0.4.0-1 sends desktop notifications to a n ii liborbit2 1:2.14.0-2 libraries for ORBit2 - a CORBA ORB ii libpanel-applet2-0 2.14.2-1 library for GNOME 2 panel applets ii libpango1.0-0 1.12.3-1+b1 Layout and rendering of internatio ii libpopt0 1.10-2 lib for parsing cmdline parameters ii libsm6 1:1.0.0-4 X11 Session Management library ii libsoup2.2-8 2.2.95.1-1 an HTTP library implementation in ii libx11-6 2:1.0.0-7 X11 client-side library ii libxcursor1 1.1.5.2-5 X cursor management library ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar ii libxfixes3 1:3.0.1.2-4 X11 miscellaneous 'fixes' extensio ii libxi6 1:1.0.0-5 X11 Input extension library ii libxinerama1 1:1.0.1-4 X11 Xinerama extension library ii libxml2 2.6.26.dfsg-2 GNOME XML library ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library ii libxrender1 1:0.9.0.2-4 X Rendering Extension client libra ii zlib1g 1:1.2.3-13 compression library - runtime Versions of packages seahorse recommends: ii openssh-client 1:4.3p2-2 Secure shell client, an rlogin/rsh -- debconf information: * seahorse/SUID: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]