Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No notification or sound for timer #357

Open
Arnavpmr opened this issue Feb 2, 2024 · 2 comments
Open

No notification or sound for timer #357

Arnavpmr opened this issue Feb 2, 2024 · 2 comments

Comments

@Arnavpmr
Copy link

Arnavpmr commented Feb 2, 2024

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.

@Zren
Copy link
Owner

Zren commented Feb 5, 2024

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

@yuannan
Copy link

yuannan commented Mar 11, 2024

I'm also getting this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants