Create a shortcut in ubuntu 18 in navicat

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/qq_40147863/article/details/98473593

Create a shortcut in ubuntu 18 in navicat

Refer to the original: View connection

problem:

In ubuntu, the decompression navicat and does not generate a shortcut, each run will need to enter decompression software directory, then run the command to open navicat, very inconvenient. Today, an attempt to introduce a shortcut, simply double-click to run, I feel pretty good.

First, download a suitable png files, charts, general requirements as a shortcut is png format. This is an icon link I downloaded, the software will be placed under the path where and renamed navicat.png

Tip: Right-saving recommendation from here https://www.navicat.com.cn/products

Create Shortcut:

Next, create a file navicat.desktop in the path where the software, as a shortcut. It reads as follows:

Tip: Even amend their own paths, Exec, Icon

[Desktop Entry]

Encoding=UTF-8

Name=Navicat Premium

Comment=The Smarter Way to manage dadabase

Exec=/bin/sh "/home/fit/Downloads/navicat112_premium_en_x64/start_navicat"

Icon=/home/fit/Downloads/navicat112_premium_en_x64/navicat.png

Categories=Application;Database;MySQL;navicat

Version=1.0

Type=Application

Terminal=0

At this point, double-click the shortcut, there will be tips:

Untrusted Application Launcher

We need to give permission to run the shortcut:

chmod +x navicat.desktop

In order to facilitate the follow-up to find a shortcut, we copy the shortcut to the application of ubuntu shortcut file storage path, and run a search for next navicat.

sudo cp navicat.desktop /usr/share/applications

effect:

Here Insert Picture Description

Guess you like

Origin blog.csdn.net/qq_40147863/article/details/98473593