stop update-notifier when updates have been run, or when no updates available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: update-notifier
I'd like to propose a way of saving a couple of MB's on the avarage system.
I noticed that when ubuntu starts, it also starts the update-notifier process, which presumably handles the finding of updates, and displaying of the update notifier icon in the gnome tray.
I propose stopping the process when one of two conditions are met:
1) No updates found.
2) All updates run.
I know that update manager checks for updates on more occasions then just system boot, so i'd like to also propose a connecting scheme like firefox uses for directing multiple processes into one.
Eg, the system boots, finds updates, notifies the user,
The user runs all the updates, update-notifier stops.
Either a set time runs by and update-notifier gets started again trough cron. (to check for updates on the following day)
Or, the user selects a new repository, and by doing this, also starts the update-notifier.
The firefox like start scripts should make sure that just one update-notifier is running at any time.
This is one of those little adjustments that saves memmory, and sets the bar a little lower for low-memmory systems.
Its also pretty save to change, as on the avarage desktop, there's a reboot and thus a normale start for update-notifier every day anyway,
Thanks for your bugreport.
The amount of data that update-notifier consumes is not that big, most of it are shared libraries that are mapped into u-n adress space. Those are shared with the other gnome apps.
Cheers,
Michael