cinnamon-preferences-update-manager

Update Manager status custom icons for Linux Mint

I’ve put together a small set of fresher Linux Mint 17.x (Cinnamon, MATE, Xfce, KDE) Update Manager status icons and I’d like to share it with you :)

In the process, I have also included an installer script for convenience and it does quite a few things to make the installation as smooth as possible. I hope you find it useful because I coded more than 250 lines to update and restore 7 icons (insane huh?) – I know, I’m terrible!

The initial script version 201601200 includes 3 icons sets: MintyDark, MintyLight and Default Update Manager status icons.

MintyDark – Update Manager status custom icons

status custom icons Cinnamon Preferences - Update Manager

Status custom icon Cinnamon Updates Available

status custom icon Cinnamon - Up to date

MintyLight – Update Manager status custom icons

Status custom icon MATE Preferences - Update Manager

status custom icon MATE Updates Available

mate-up-to-date

 

Easy Installer

The install script (install.sh) is wrapped up as executable by default, so you can double click on it and “Run in Terminal”.

run-in-terminal

Run in Terminal

install-sh-properties

install.sh Properties

Downloading and running it from Terminal:

cd ~/Downloads
wget https://unlockforus.com/downloads/mus-icons.tar.gz
tar -vxzf mus-icons.tar.gz && cd mus-icons
sudo bash install.sh

When the script is not executed with administrative privileges it will prompt for elevation:

checking-permissions-privileges

Checking permissions

credentials

Credentials

From the main window you can install your preferred icon set, restore default status icons and also check for script updates. The UI is nothing more than bash scripting with zenity (a tool that allows you to display GTK dialog boxes in commandline and shell scripts)… and it is here where I decided to actually give the script a simple UI. When looking at the icons set, you’ll soon realize that these 2 sets (MintyDark and MintyLight) will not fit all themes nor every user’s personal preferences. So, in order to provide more custom Update Manager status icons set in the future and to make it easier for users to update the script, I included a “Check for script Updates” option.

Check for script Updates

First, the script performs checks for requirements: Internet connection and cURL. If curl isn’t available, it will prompt the user for install…

No Internet Connection

No Internet Connection

curl not found

curl not found

It will also check and report whether cURL installation succeeds or not:

Succees

Succees

Fail

Fail

When checking for updates, the script informs you whether you’re using the latest available script version or not. The idea here is to provide an easy way to download script updates containing additional icons set, suitable to match other themes. So, if you create your own Update Manager status icons and you would like to share them, get in contact with me and I will add them to the script. Also, improvements to the script itself are welcome!

Version check failed

Version check failed

Up to date script

Up to date script

Script update available

Script update available

Download completed

Download completed

Download failed

Download failed

Anyways, the script does quite a bit of things for what it is. Use it if you like it, share your comments or help improve it if you wish.

If you prefer to manually update the status icons in your box instead of using the script, just copy the files in the MintyDark or MintyLight folder to /usr/lib/linuxmint/mintUpdate/icons (you’ll need administrative privileges).

I hope you like ’em!

ToDo’s:

– I’m thinking about including icons preview in a future version. First, I need to find a way to do that with zenity… and I’m lost here! Your help and ideas are appreciated.

– Improve the script logic so we can add custom status icons folders and have them load dynamically.

Related Post

DNS Security with dnscrypt-proxy for your home net... DNSCrypt to the rescue! DNS is one of the fundamental building blocks of the Internet. It’s used any time you visit a website, send an email, have an ...
Linux Mint 17.2 Rafaela on MacBook 4,1 (late 2007)... So you installed Linux Mint in a Macbook 4,1 (or older version) and found out that the iSight webcam does not work. Hmmm... but you want to use your M...
Remember screen brightness settings in Linux Mint ... Linux Mint 17.2 Rafaela suffers from a long known Ubuntu bug where the screen brightness setting is reset on every session/reboot, which translate...

Leave a Reply