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/systray[email protected]/applet.js and find this on line 8;
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.