我在~/.local/share/icons/hicolor/scalable/status/foo.png中添加了一个256x256的图标。然后我尝试(在Python3中)
import notify2
notify2.init("a")
notification = notify2.Notification(
"a"
"b,
"foo")
notification.show()现在,该图标未被拾取。为什么?
我试着把它放进
~/.local/share/icons/hicolor/scalable/apps/
~/.local/share/icons/hicolor/256x256/status/
~/.local/share/icons/hicolor/256x256/apps/但还是没有成功。
发布于 2016-09-15 21:37:29
我将图标放在与脚本相同的文件夹中,它就可以工作了。
https://stackoverflow.com/questions/39065353
复制相似问题