Skip to content

[feat] Auto-detect appindicator library during runtime #3859

@wusyong

Description

@wusyong

Describe the problem

Right now there's two libraries being used for system tray on Linux: libappindicator and libayatana-appindicator. ayatana is former's fork since the old one is unmaintained. This becomes an issue because different distros might use different one. I would say the ratio is around 50:50.
Decide one during compile time means the other half won't work.

Describe the solution you'd like

Add a feature or default to auto detect the library. We can use pkg_config crate to probe if the library is exist on the end user device.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions