以 navicat 为例子:
进入/home/www/Desktop 目录创建 navicat.desktop 。
编辑 vim navicat.desktop
[Desktop Entry] Version=1.0 Type=Application Name=Navicat Icon=/opt/navicat120_premium_cs_x64/icon.png Exec=/opt/navicat120_premium_cs_x64/start_navicat Comment=The Drive to Develop Categories=Development;IDE; Terminal=false StartupWMClass=Navicat
给文件增加执行权限:
chmod +x navicat.desktop