GNOME Bugzilla – Bug 608012
Please drop the autostart .desktop file
Last modified: 2010-02-07 20:58:35 UTC
seahorse-daemon should not have an autostart .desktop file: * The daemon is not even needed for the ssh and GPG agents, which are certainly the most common use cases. It is needed only for the nautilus plugin and the key manager application; for both of which a slightly increased startup time is bearable, since they do not get used very often. * The daemon costs quite a lot of startup time, almost one second of CPU on a Dell Mini 10 v netbook (see http://people.canonical.com/~pitti/bootcharts/daniel-lucid-20100122-1.png). I dropped the autostart .desktop file locally, and verified that the ssh and gpg agents still work fine. One regression is that seahorse-preferences finds no key (due to seahorse-daemon crashing on d-bus activation, filed as bug 608010), and the other is the nautilus plugin not finding any keys (filed as https://launchpad.net/bugs/512233 for now, as a reminder for me; it might very well be due to the very same crash); I'll file a bug for it if it has a separate cause. I'll send a patch for this once the two regressions are fixed.
Oh, the bootchart actually has two "seahorse-daemon" (since it forks with an autostart file); so CPU usage is actually more like 1.5 to 2 seconds.
For the record, once bug 608010 is fixed, the nautilus plugin correctly triggers seahorse-daemon and shows available keys, so the second bug mentioned (https://launchpad.net/bugs/512233) is just a duplicate.
Created attachment 152209 [details] [review] git formatted patch This patch removes the daemon autostart file (details in git log in the patch). What do you think about this?
Updated from libegg/smclient. Thanks.
Thanks. Tested and committed.