比如,添加goland
代码语言:javascript复制cd ~/.local/share/applications/
touch goland.desktop
gedit goland.desktop
输入下面:
代码语言:javascript复制[Desktop Entry]
Name=goland
Icon=/home/honoryin/software/GoLand-2019.1.4/bin/goland.png
Type=Application
Categories=Programming;
Exec=/home/honoryin/software/GoLand-2019.1.4/bin/goland.sh
StartupNotify=false
Terminal=false
大功告成。