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
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