No notification or sound for timer
Arnavpmr opened this issue · 2 comments
I am running plasma 5 with arch for context. When I tried the timer, notifications don't seem to work at all. Other timer widgets have worked fine so its not some personal system issue.
I've noticed this as well in OpenSUSE Tumbleweed. Seems that by default, neither gi.require_version('GLib', '2.0')
nor gi.require_version('Notify', '0.7')
is installed.
Seems that python311-notify2
is preinstalled (or something else I installed added it). I'll need to check out the Plasma6 OpenSUSE build to know for sure what'll be available in a few months.
i | python311-notify2 | Python interface to DBus notifications | package
I might just copy a chunk of notify2
source code to make sure it's always installed... However I need to also replicate GLib.MainLoop
as well.
Hmm, it recommends https://pypi.org/project/desktop-notify/ which supports actions to, and has an async option. Edit: Nevermind, it depends on https://pypi.org/project/dbus-next/ which also requires the GLib MainLoop.
Hmmm...
i | libpulse-mainloop-glib0 | GLIB 2.0 Main Loop wrapper for PulseAudio | package
...
i | python311-gobject | Python bindings for GObject | package
i | python311-gobject-cairo | Python bindings for GObject/Cairo | package
| python311-gobject-devel | Metapackage to pull in all of python-gobject's packages | package
i+ | python311-gobject-Gdk | Python bindings for GObject/Gdk | package
I've a feeling I'll need to completely rewrite
https://github.com/Zren/plasma-applet-eventcalendar/blob/master/package/contents/scripts/notification.py
I'm also getting this issue.