Package: pyhoca-gui

I see that pyhoca-cli and pyhoca-gui are configured to require
notify-python.  However, it doesn't look like pyhoca-cli uses it.

Looks like the modern way is using gobject (pygobject2 or pygobject3 in RHEL7). See https://wiki.archlinux.org/index.php/Desktop_notifications#Usage_in_programming

Python

Dependencies: libnotify, python-gobject (or python2-gobject for Python 2)

hello_world.py

#!/usr/bin/python
from gi.repository import Notify
Notify.init ("Hello world")
Hello=Notify.Notification.new ("Hello world","This is an example notification.","dialog-information")
Hello.show ()


It would be good to get this updated.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
x2go-dev mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-dev

Reply via email to