eg:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
[Desktop Entry]
Encoding=UTF-8
Name=Tabby
Comment=Tabby
Exec=/home/asleep/softwares/tabby/tabby/tabby %U
Icon=/home/asleep/softwares/tabby/tabby/tabby.svg
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
StartupWMClass=tabby

需要改变的是 name,common,exec,icon,startupwmclass

.desktop 文件位于 /usr/share/application/ 下面

StartupWMClass

1
xprop | grep CLASS