I tried to understand a bit better how notifications work on Linux, then I played around with the dbus library and, after some silly mistakes, I managed to write a toy "client" that when executed requests the notification server to show a hardcoded message.
But now my interest is: is the dbus library also useful if I want to write a notification server?
If yes, then can you point me at the relevant part of the documentation?
If no, then what else can I use?
Despite the name "
Client", yes,Dbus.Clientis also used for writing dbus-based servers. The relevant documentation section is labeled Receiving method calls.