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

Get the most out of low-end hardware in Linux Lite Linux Lite is a distro perfect for bringing some extra life to ancient hardware although that's not its sole purpose of existence. It has been put tog...
Definitive fix for Linux Lite 3.x Menu Linux Lite's heavily customized Whisker menu wouldn't be such a problem if proper measures had been put in place during its development; or better sai...
UnlockMe cos’ I’m lazy! I don't know about you but I happen to have quite a few scripts for my Linux installations. This was a Linux Mint deployment week for me; my father's ...

Leave a Reply