Bug#443115: [patch] seahorse should unless running gnome
Martin Bock
ixel at gmx.de
Wed Apr 9 10:01:11 UTC 2008
I run neat and lean icewm from my private .xsession. I do neither want
nor dbus or seohorse or any other gnome thing. To mitigate the problem,
I suggest the following:
---------------------------------------- begin diff
--- 60seahorse.orig 2008-04-09 11:34:32.000000000 +0200
+++ 60seahorse 2008-04-09 11:35:10.000000000 +0200
@@ -2,7 +2,9 @@
SEAHORSE=/usr/bin/seahorse-agent
-if [ -x $SEAHORSE ]; then
+# check wether gnome is started, only then execute seahorse
+# cf. /etc/X11/Xsession.d/55gnome-session_gnomerc
+if [ -n "$GNOMERC" -a -x $SEAHORSE ]; then
STARTUP="$SEAHORSE --execute $STARTUP"
fi
---------------------------------------- end diff
Indeed the Xsession.d scripts are sourced in the sequence as /bin/ls
displays (cf. /etc/X11/Xsession, the run_parts () function). That means
60seahorse can check for 55gnome-session_gnomerc. More basic would be to
go for BASENAMESTARTUP but I do not know the significance or
implications of this.
Now when a user selects gnome from kdm/gdm, seahorse will be started. If
a user selects any other session, seahorse will not be started. If a the
user wants to have seahorse w/o gnome, a private .xsession can be
written, which is the generic way to configure for special taste.
--
Martin Bock :wq
More information about the pkg-gnome-maintainers
mailing list