当前位置:网站首页>Create a desktop shortcut to your appimage

Create a desktop shortcut to your appimage

2022-06-23 04:19:00 Muzi huaner

Running environment :Ubuntu 22.04 LTS

1. Get ready first AppImage File and put it in a place you know

2. Open the terminal , stay /usr/share/applications Under the new APP.desktop file (APP Can be changed to your app name )

cd /usr/share/applications
sudo touch APP.desktop

3. root Use... In mode vi edit qi edit APP.desktop file , Fill in the following , And modify according to the actual situation

[Desktop Entry]
Encoding=UTF-8
Type=Application
# apply name 
Name=LANDrop
# Icon path 
Icon=/home/user/ picture /APP.svg
# Start whether to start the terminal 
Terminal=false
#AppImage File path 
Exec=/home/user/APP/APP.AppImage

  for example :

4.  Add execution permission to all users  

sudo chmod u+x  /usr/share/applications/APP.desktop

5. Log off or restart your host , There will be an application icon in the menu bar ! In addition, you can also use cp The command copies the shortcut to other places as needed

原网站

版权声明
本文为[Muzi huaner]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206222247004594.html