自制图标有时在启动器里找不到
Tofloor
poster avatar
xtudbxk
deepin
2019-03-11 07:45
Author
我自己写了一个图标的快捷方式,放在 /usr/share/applications 下面,当时写好能在启动器中搜索到我指向的程序
但一旦重启,或睡眠后,就不能在启动器里找到这个图标了,有人知道这是怎么回事嘛
----------
这是我写的图标里的内容:

[Desktop Entry]
Version=1.0
Name=Freeplane
Exec=/usr/local/bin/freeplane %F
Terminal=false
Icon=/usr/share/icons/hicolor/128x128/apps/freeplane.png
Type=Application
MimeType=application/x-freeplane;
Categories=Office;
GenericName=Freeplane
Comment=A free tool to structure and organise your information with mind mapping
Keywords=Mindmaps; Knowledge management; Organize information; Brainstorming; ...;


Reply Favorite View the author
All Replies
avatar
海天鹰
deepin
2019-03-11 21:32
#1
自制图标放在.local/share/application就可以了,但是找不到的问题已经很久了。
Reply View the author
avatar
donghaiming
deepin
2019-03-11 22:58
#2
最后有执行sudo desktop-file-install XXX.desktop吗 !
Reply View the author
avatar
xtudbxk
deepin
2019-03-12 04:31
#3
, 没有耶,还有这个命令嘛,我试试~
Reply View the author
avatar
xtudbxk
deepin
2019-03-13 17:54
#4
还是不行,reboot后启动器里没有这个图标,但如果马上退出,然后再登录,启动器里就有这个图标了,猜测会不会是没读取什么信息呀。。
Reply View the author