以postman为例(路径以及配置文件内容要按需修改)
创建图标
- 建立软链接
sudo ln -s /home/king/Software/Postman/Postman /usr/bin/postman
前面地址为安装目录,后面软链接地址
- 创建启动项文件
sudo vim /usr/share/applications/postman.desktop
添加如下内容:
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/usr/bin/postman
Icon=/home/king/Software/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development