I get the following error when trying to run notify-send:
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.
Are you running this as normal user, or in a cron/root script (you'd need to override some env. variables)?
That is the error when I run as a normal user, when I run as root I get a different error:
Error spawning command line “dbus-launch --autolaunch=... --binary-syntax --close-stderr”: Child process exited with code 1
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.