How to set a local image in pynotify?
Posted
by George Edison
on Stack Overflow
See other posts from Stack Overflow
or by George Edison
Published on 2010-05-23T21:09:11Z
Indexed on
2010/05/23
21:10 UTC
Read the original article
Hit count: 303
If I run the following in python
in Ubuntu 10.04:
>>> import pynotify
>>> p = pynotify.Notification ("Notice","","/home/george/Pictures/test.png")
>>> p.show()
true
The message displays as expected, except the image does not appear in the OSD. How can I display a local image?
In fact, for what I need, it would be better if I could display a remote image. (via HTTP)
How can I do that?
© Stack Overflow or respective owner