我想创建一个clion.Desktop
。但是,当我单击该图标时,将出现另一个图标。我已经设置了StartupWMClass。
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=IntelliJ CLion
GenericName=C/C++ IDE
Comment=c/c++ ide.
Exec=sh /home/lsmg/software/clion-2019.1.3/bin/clion.sh
Icon=/home/lsmg/software/clion-2019.1.3/bin/clion.png
Terminal=false
Type=Application
StartupWMClass=jetbrains-clion
Categories=Development
$ xprop | grep WM_CLASS | awk '{print $4}'
"jetbrains-clion"