Skip to main content
Topic: Dbus Notifications unknow service error (Read 277 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Dbus Notifications unknow service error

I get the following error when trying to run notify-send:

Code: [Select]
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files

Running Artix with openrc. I'm not sure what other info will help with the problem, I'm very lost.

Re: Dbus Notifications unknow service error

Reply #1
Are you running this as normal user, or in a cron/root script (you'd need to override some env. variables)?

Re: Dbus Notifications unknow service error

Reply #2
That is the error when I run as a normal user, when I run as root I get a different error:
Code: [Select]
Error spawning command line “dbus-launch --autolaunch=... --binary-syntax --close-stderr”: Child process exited with code 1

Re: Dbus Notifications unknow service error

Reply #3
Okay, so that can be crossed out, it's most likely from your desktop, which one are you using?
I am on LXQt and notify-send works. Maybe you don't have a running notif. receiver?
Check if dbus works properly, i'm not a dbus guy and others know better than me but you can check the number of dbus processes, if too many get forked it gets problematic.