Fix System Settings Docky icon displayed as bluetooth in Linux Mint

Docky, like Plank or Cairo Dock, is an advanced shortcut bar that sits at the edges of your screen. It provides easy access to some of the files, folders and applications on your computer, displays which applications are currently running, holds windows in their minimized state and more.

Install or remove Docky in Linux Mint
Installing Docky
From Terminal:

sudo add-apt-repository ppa:docky-core/stable
sudo apt-get update
sudo apt-get install docky

Removing Docky
From Terminal:

sudo apt-get remove --purge docky && sudo apt-get autoclean && sudo apt-get autoremove

Optional: Delete Docky PPAs and Authentication key in Software Sources


It happens that System Settings icon is incorrectly displayed as “Bluetooth” in Docky for Linux Mint users (at least in the Cinnamon edition).

Docky cinnamon-system-settings-docky-icon

Next, I’ll give you some tips on how to correct this visually odd glitch. Hopefully it will help you not only with the System Settings icon but with any other application icon wrongfully represented in Docky. Let’s get down to it :)


Straight to the point

In Terminal:

sudo killall docky
sudo cp /usr/share/applications/cinnamon-settings.desktop /usr/share/applications/cinnamon-settings.desktop.`date +"%m_%d_%Y"`
sudo sed '/Keywords=/a\' -i /usr/share/applications/cinnamon-settings.desktop
rm ~/.cache/docky/docky.desktop.*.cache

Now launch docky once again and enjoy your System Settings icon :)



What was done

1- Close Docky:

sudo killall docky

2- Make a backup copy of /usr/share/applications/cinnamon-settings.desktop. This is the file we worked with.

sudo cp /usr/share/applications/cinnamon-settings.desktop /usr/share/applications/cinnamon-settings.desktop.`date +"%m_%d_%Y"`

…and make sure the backup copy is there 😉

ls -la /usr/share/applications/cinnamon-settings.desktop*
$-rw-r--r-- 1 root root 11022 Jan  8 08:36 /usr/share/applications/cinnamon-settings.desktop
$-rw-r--r-- 1 root root 11022 Jan  8 08:40 /usr/share/applications/cinnamon-settings.desktop.01_08_2016

3- Edited cinnamon-settings.desktop adding attribute so that Docky can match its icon.

sudo gedit /usr/share/applications/cinnamon-settings.desktop


4- Clear current user Docky cache

 rm ~/.cache/docky/docky.desktop.*.cache

That’s all!


Fixing Docky Icons

If you ever come across an icon in Docky not being properly displayed, here is a way to correct it.

1- Get the WM_CLASS property from the application window. In Terminal:

xprop | grep WM_CLASS | awk '{print $4}'
Press < 'Enter'> and click the window you want to get the WM_CLASS from. Take note of the output


For example, System Settings WM_CLASS is “” (see screenshot above), which is the value we used as StartupWMClass attribute, as explained in step #3.

2- Edit its corresponding .desktop file under /usr/share/applications as we did with cinnamon-settings.desktop.

3- Close Docky, delete its cache files and launch it again.

Your comment is appreciated. Let me know if this helped you in some way!


Related Post

Scheduled Tasks GUI for Linux Lite 3.x After my little rant about SSD TRIM in Linux Lite 3.x Series the other day, I put some energy towards finding a better solution to help users configur...
Yad 3.9.1-0 package in Linux Lite breaks few thing... If you have installed some of the extra apps I've made available for Linux Lite in my repo, you'll notice that after updating Linux Lite home-brew ver...
Samba Share for Beginners – Video I noticed I have never posted a video in my blog. So, here is one that may help you setup Samba if you're new to Samba Shares. How to create Samba ...

Leave a Reply