ksni
ksni copied to clipboard
custom dbus name for StatusNotifierWatcher
This is for flatpak packaging. If we own org.kde.StatusNotifierItem-2-1
, it will be tricky: it's not guaranteed that my app will have PID 2.
As workarounds from chromium, instead we register a existing dbus name we are using, and everything works fine.
To address this, just use the default bus name we were given on initially connecting to the bus. This violates the spec, but there's actually no consequence for doing this.