Hi Jeremy, thanks for your bug report and all the work on GNOME! On Sat, Oct 26, 2019 at 02:40:52PM -0400, Jeremy Bicha wrote: > As part of the Python2 removal, the Debian GNOME team is working to > remove pygtk from Debian. One of the blockers is python-notify. > > Please drop debian-edu-config's dependency on python-notify so that we > can remove python-notify from Debian. > > There are other ways to emit notifications besides python-notify so > let us know if you need help implementing a replacement. If you have > any questions don't hesitate to ask. I guess some pointers to alternatives would be nice. Currently we use: etc/ltspfs/mounter.d/edu-notify:# requires python-notify etc/ltspfs/mounter.d/edu-notify:import pynotify etc/ltspfs/mounter.d/edu-notify:if not pynotify.init("edu-notify"): etc/ltspfs/mounter.d/edu-notify:n = pynotify.Notification("ltspfs","%s" % sys.argv[1]+' '+sys.argv[2]) and share/debian-edu-config/tools/notify-local-users:# Uses notify-send from libnotify-bin, but could be rewritten to use share/debian-edu-config/tools/notify-local-users:# pynotify and python if it is a better idea. share/debian-edu-config/tools/notify-local-users:if [ ! -x /usr/bin/notify-send ] ; then # from libnotify-bin share/debian-edu-config/tools/notify-local-users: echo "error: unable to find /usr/bin/notify-send" 1>&2 share/debian-edu-config/tools/notify-local-users: # options for notify-send share/debian-edu-config/tools/notify-local-users: su $user -m -s /bin/sh -c "notify-send -i ${icon} -t ${timeout} -u ${urgency} '${title}' '${msg}'" \ -- cheers, Holger ------------------------------------------------------------------------------- holger@(debian|reproducible-builds|layer-acht).org PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
Attachment:
signature.asc
Description: PGP signature