Hacking together a quick update notifier

NOTE: I’ve written a newer post on this, covering an improved version of the script.

Since upgrading to Lubuntu 14.04 (more vitriol on the bugs therein later), I’ve discovered that the update notifier has lost the dconf key to disable the daily “please reboot” nag.

Distraction aside, I don’t react well to programs trying to impose specific behaviours on me, so I decided to replace it (and this blog post might have taken more time to write than my replacement).

Here’s what my new update notifier looks like:

To be honest, I actually prefer a flat list like this as opposed to the new tree-view layout they also added to update manager. This way, I don’t have to waste time clicking expanders to get a complete list of what’s being installed before I OK it.

Clicking “Upgrade Now” opens a terminal window containing apt-get and clicking “Remind Me Later” exits the script until cron re-runs it the next morning.

Here’s the source for anyone who wants it:

CC BY-SA 4.0 Hacking together a quick update notifier by Stephan Sokolow is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This entry was posted in Geek Stuff. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution under the same terms as the associated post.

All comments are moderated. If your comment is generic enough to apply to any post, it will be assumed to be spam. Borderline comments will have their URL field erased before being approved.