在Ubuntu中为Navicat创建快捷方式

Navicat

下载图标

cd /home/guanhp/Desktop
vi /navicat.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Navicat
Comment=Navicate:The SQL Manager
Exec=/bin/sh "/opt/apps/navicat121_premium_cs_x64/start_navicat"
Icon=/opt/apps/navicat121_premium_cs_x64/navicat.png
Categories=Application;Database;MySQL;navicat
Version=1.0
Type=Application
Terminal=0

××注意××:

Exec=/bin/sh "/opt/apps/navicat121_premium_cs_x64/start_navicat"
Icon=/opt/apps/navicat121_premium_cs_x64/navicat.png

赋予运行权限

chmod +x navicat.desktop

为了方便后续查找快捷方式,我们将该快捷方式复制到ubuntu应用快捷文件存放路径,方便下次搜索并运行navicat.

sudo cp navicat.desktop /usr/share/applications/

linux下安装navicat并生成桌面图标