Skip to content

Configurable bus name #429

Description

@yofukashino

According to this,

char *bus_name; /* org.kde.StatusNotifierItem-{PID}-1 */

The bus name will always be org.kde.StatusNotifierItem-{PID}-1 and if some other app already has that it just fails silently. (Happens with flatpak apps since it doesnt reveal all the proc)

Maybe make it configureable to use a custom string from env variables? Something like ComposeNativeTrayBusId and if that isn't set then fallback to PID.

Or do something like done with with mpris, org.mpris.MediaPlayer2.{name} and subsequent are registered under it as org.mpris.MediaPlayer2.{name}.*, perhaps org.kde.StatusNotifierItem.{name}.

Also, switch to using org.freedesktop.StatusNotifierItem as that is the standard.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions