版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_32768743/article/details/84675504
遇到一个问题,就是应用在启动器的图标不显示,然后在桌面和dock都正常
我自己写的文件内容如下
[Desktop Entry]
Categories=System;
Comment=Deepin Graphics Driver Manager is a compact and easy to use graphics driver managing tool.
Exec=bulbasaur
GenericName=Bulbasaur
GenericName[zh_CN]=妙蛙种子
Icon=bulbasaur
Name=Bulbasaur
Name[zh_CN]=妙蛙种子
StartupNotify=true
Terminal=false
Type=Application
X-Deepin-Vendor=user-custom
在/usr/share/icons
路径下有png文件
百度是没找到任何有用的东西。
上Google,找到这个,原文在:Installing icons
The desktop looks for icons in the selected theme directory of
/usr/share/icons/. Application icons should be available at least at a
resolution of 48x48 pixels. Place the icon in
/usr/share/icons/hicolor/48x48/apps/.
我放在这个文件夹下,也没有什么用,最后直接把路径写死,OK
Icon=/usr/share/icons/bulbasaur.png