Switch to libayatana-appindicator dart port #80
Open
arran4 wants to merge 3 commits intoantler119:mainfrom
Open
Switch to libayatana-appindicator dart port #80arran4 wants to merge 3 commits intoantler119:mainfrom
arran4 wants to merge 3 commits intoantler119:mainfrom
Conversation
Refactor the system_tray package to use a platform interface `SystemTrayPlatform`. Implement `LinuxSystemTray` using `dart_libayatana_appindicator` (pure Dart) for tray and menu operations. Maintain `MethodChannelSystemTray` for Windows and macOS. Refactor `linux/` C++ plugin to remove tray/menu logic but keep `AppWindow` logic (which still relies on C++/GTK). Add `dbus` dependency. Update `pubspec.yaml` SDK constraint to support Dart 3. Fix Linux menu item image support by setting `icon-name` property. Delete unused C++ files in `linux/`.
This was referenced Mar 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I created this port of libayatana to dart to resolve this issue: #79
However I discovered it has a GPL license so I don't think it can be used: #78
See #81 for something better but not exactly the same.
Has not been rigorously tested.
If anyone would like to help with that. Or simply just use it try