17 01 2013
Fix size of system tray icons in cinnamon
I found a quick way to change the size of the system tray icons that will persist across themes. It involves one change.
Open /usr/share/cinnamon/applets/[email protected]/applet.js and find this on line 8;
1 |
const ICON_SCALE_FACTOR = .88; |
I wanted my tray icons to be 16 pixels and my height was 25 pixels so I changed this value to .64. You can determine your value by dividing desired font size / panel height.
The panel height of your theme can be overridden in cinnamon settings > panel if you do not know the height.
Here is the before and after:
Now your icons such as update manager, skype, truecrypt, xchat etc, will show in a similar size to the rest of the icons.
Installing ttf-mscorefonts-installer on Ubuntu 12.10 fails/is slow or doesn’t complete Pomodoro Applet for Cinnamon
Thanks! It works in Cinnamon 2.0! Make sure ‘Use customized panel size’ and ‘Allow Cinnamon to scale panel text and icons according to the panel heights’ are selected in System Settings >> Panel before the procedure.
🙂