[Exchange and share] AppImage 软件在任务栏不能正常显示图标
Tofloor
poster avatar
一醉陶然
deepin
2022-08-15 18:46
Author

AppImage 软件在任务栏不能正常显示图标

未命名.png

Reply Favorite View the author
All Replies
忘记、过去
deepin
2022-08-15 19:04
#1

自己写一个 desktop 启动 AppImage 就可以了

Reply View the author
一醉陶然
deepin
2022-08-15 20:02
#2

AppImage 桌面图标创建方法

这里以 synergy 为例.
比如实际AppImage路径为 ~/MyTools/synergy-1.14.0.4-stable-linuxmint-20-ulyana-x86_64.AppImage,我们使用 ln -s ~/MyTools/synergy-1.14.0.4-stable-linuxmint-20-ulyana-x86_64.AppImage ~/synergy 创建一个软链接,方便后面软件更新好操作.

使用 vim 创建一个 synergy.desktop 文件,输入一下内容:

[Desktop Entry]
Name=synergy
Exec=/home/chiebotgpuhq/synergy
Icon=/home/chiebotgpuhq/Pictures/icon/synergy.png
Type=Application
StartupNotify=true
123456

其中 Icon 项是设置图标,没有可以不填删去这一行.

然后改权限移到指定目录即可.

sudo chmod a+x synergy.desktop
sudo mv synergy.desktop /usr/share/applications/
Reply View the author
Shalling
Deepin Wiki Editor
2022-08-15 20:31
#3

agree

Reply View the author
xuqi
deepin testing team
2022-08-15 21:14
#4
一醉陶然

AppImage 桌面图标创建方法

这里以 synergy 为例.
比如实际AppImage路径为 ~/MyTools/synergy-1.14.0.4-stable-linuxmint-20-ulyana-x86_64.AppImage,我们使用 ln -s ~/MyTools/synergy-1.14.0.4-stable-linuxmint-20-ulyana-x86_64.AppImage ~/synergy 创建一个软链接,方便后面软件更新好操作.

使用 vim 创建一个 synergy.desktop 文件,输入一下内容:

[Desktop Entry]
Name=synergy
Exec=/home/chiebotgpuhq/synergy
Icon=/home/chiebotgpuhq/Pictures/icon/synergy.png
Type=Application
StartupNotify=true
123456

其中 Icon 项是设置图标,没有可以不填删去这一行.

然后改权限移到指定目录即可.

sudo chmod a+x synergy.desktop
sudo mv synergy.desktop /usr/share/applications/

👍

Reply View the author
HMOS1
deepin
2022-08-15 22:34
#5

学习一下

Reply View the author
doooooit
deepin
2022-08-16 01:02
#6

有一个 App 可以简化并图形化 2 楼的操作:Appimage Installer,应用商店可以直接安装使用

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-08-17 00:45
#7

这个在正式版中应该要得到兼容,感谢兄台的反馈~

Reply View the author
iceyer
deepin
2022-08-17 03:52
#8

https://github.com/linuxdeepin/developer-center/discussions/3382

建了个issue跟进一下。

Reply View the author