I know this has been asked before but nothing is working for me. My sublime text icon in the tab switcher is blurry. I have tried to set the icon in /opt/sublime_text/Icon` to an svg with no luck. I am using Linux mint 17.2 64 bit.
- Related: This old post asked on "Lowres application icon on window switching (alt-tab)" for manually installed Sublime Text on Linux Mint 13 and has several answers. Is this no longer working on Linux Mint 17.X?user125388– user1253882015-12-29 20:29:24 +00:00Commented Dec 29, 2015 at 20:29
- To avoid repetition, can you describe what you've tried already.EightBitTony– EightBitTony2016-01-05 15:18:10 +00:00Commented Jan 5, 2016 at 15:18
- @EightBitTony I tried referencing a 512x512 png directly in the .desktop file. I also tried to set it to an svg.Marcel– Marcel2016-01-05 18:44:35 +00:00Commented Jan 5, 2016 at 18:44
1 Answer
I've had a similar problem with PyCharm icon.
If you have created your own launcher for the application (.desktop file in ~/.local/share/applications) you need to make sure, that you have correct StartupWMClass attribute set.
To find the proper value, start your application, then open the terminal and run xprop WM_CLASS and click on your application window. Make sure that the value from the terminal matches the StartupWMClass in your launcher. Restart the app, and you should see the correct icon.
