Since Sublime Text is launched via subl command which is a helper shell script instead of the actual excutable of the program, some other management program cannot treat the sublime_text or sublime-text process as the program that sublime-text.desktop linked to. Thus in the taskbar (dock, etc.) will show another icon beside the pinned icon. Adding the StartupWMClass property will solve this problem.
Since Sublime Text is launched via subl command which is a helper shell script instead of the actual excutable of the program, some other management program cannot treat the
sublime_text
orsublime-text
process as the program thatsublime-text.desktop
linked to. Thus in the taskbar (dock, etc.) will show another icon beside the pinned icon. Adding theStartupWMClass
property will solve this problem.