[Exchange and share] 如何才能启动器里显示程序? Resolved
Tofloor
poster avatar
fax928
deepin
2023-09-06 03:42
Author

如题,我把某个appimage文件的.desktop文件复制到 /usr/share/applications路径下,为什么启动器里不显示啊?重启也无效,是不是还要做别的操作?no

Reply Favorite View the author
All Replies
liwl
deepin
2023-09-06 03:50
#1

desktop要写Nodisplay=false?

Reply View the author
云的眼泪
deepin
2023-09-06 03:58
#2

放在~/.local/share/applications目录中试一下

Reply View the author
安洛
deepin
2023-09-06 03:58
#3

确保desktop文件准确无误能运行,否则启动器也不会显示。

Reply View the author
ice
Moderator
gaochang661
2023-09-06 04:12
#4

desktop里面各个字段的值要确保正确

Reply View the author
fax928
deepin
2023-09-06 04:53
#5

重启有了能运行!/usr/share/applications和~/.local/share/applications两个目录都复制了一个.desktop文件。
image.png

下面是.desktop的内容

[Desktop Entry]
Exec=/home/WWJ23/.local/share/appimages/audacity-linux-3.2.0-x64.AppImage
Icon=/home/WWJ23/.local/share/appimages/icons/audacity.png
Type=Application

(Exec后面的是appimage文件路径,Icon后面的是图标文件,Type必须是Application表示应用程序,之前漏了Type所以双击.desktop文件启动不起程序。)

Reply View the author
fax928
deepin
2023-09-06 04:53
#6
liwl

desktop要写Nodisplay=false?

可以了,感谢。

Reply View the author
fax928
deepin
2023-09-06 04:53
#7
云的眼泪

放在~/.local/share/applications目录中试一下

可以了,感谢!

Reply View the author
fax928
deepin
2023-09-06 04:53
#8
安洛

确保desktop文件准确无误能运行,否则启动器也不会显示。

可以了,感谢!!!

Reply View the author
fax928
deepin
2023-09-06 04:54
#9
ice

desktop里面各个字段的值要确保正确

可以了,感谢!!!!

Reply View the author
fax928
deepin
2023-09-06 05:00
#10

启动器另一种显示方式有两个图标,我猜/usr/share/applications和~/.local/share/applications两个目录可能都有效。
image.png

Reply View the author