[Python] libnotify error GLib.Error: The name org.freedesktop.Notifications was not provided...

Discussão em 'Python' iniciado por Stack, Maio 20, 2025.

  1. Stack

    Stack Membro Participativo

    I am getting this error. Any idea what is wrong?

    from gi.repository import Notify
    Notify.init("App Name")
    Notify.Notification.new("Hi").show()

    GLib.Error: g-dbus-error-quark: GDBus.Error:eek:rg.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files


    (using latest Raspbian on Raspberry Pi)

    Continue reading...

Compartilhe esta Página