Take for xapp.APPImage
example
Create a soft symbolic link
# sudo ln -s 文件路径(根据情况改变) 符号连接路径(不变)
sudo ln -s ~/xapp.AppImage /usr/local/bin/xapp
Create Shortcut
- Download the desktop icon, the picture format is arbitrary, such as: png, jpg, etc. (you can directly Baidu related pictures)
- Create a shortcut file
sudo gedit ~/.local/share/applications/xapp.desktop
- Change the file information and save
Name as the shortcut name, Exec as the created soft link symbol, and Icon as the path where the icon is located
[Desktop Entry]
Encoding=UTF-8
Name=xapp
Exec=xapp
# 图标路径
Icon=~/icon.png
Terminal=false
Type=Application
Categories=Internet;
delete desktop shortcut
sudo rm /usr/local/bin/xapp
sudo rm ~/.local/share/applications/xapp.desktop