After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667342 - Avoid spawning notification daemon at startup
Avoid spawning notification daemon at startup
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
0.x.x [obsolete]
Other Linux
: Normal enhancement
: ---
Assigned To: martin.pitt
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-05 09:13 UTC by Martin Pitt
Modified: 2012-01-13 18:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Lazily initialize notification service (3.01 KB, patch)
2012-01-05 09:31 UTC, Martin Pitt
committed Details | Review

Description Martin Pitt 2012-01-05 09:13:35 UTC
nautilus is one of the few (in fact, the last on my system) components which spawn notification-daemon (or notify-osd) at startup, through querying server caps. nautilus uses the notification system only sparingly, during file copying progress reporting. It would be more efficient to lazily initialize the server cap query to only spawn the notification-daemon when necessary.

This improves boot speed a tad, by avoiding to start the notification service at all.

Thanks for considering!
Comment 1 Martin Pitt 2012-01-05 09:31:53 UTC
Created attachment 204671 [details] [review]
Lazily initialize notification service
Comment 2 Cosimo Cecchi 2012-01-13 18:19:15 UTC
Review of attachment 204671 [details] [review]:

Thanks, looks good!
Comment 3 Martin Pitt 2012-01-13 18:26:47 UTC
Pushed, thanks for the review!