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.
When launching on KDE Wayland, if
arch-audit-gtk
starts too early it will not show up in the tray and spit out this error:It seems that if you launch too early on KDE Wayland attempting to setup the tray icon just randomly fails (on my machine, less than 1 in 10 logins will end up with the icon). This PR adds an arbitrary delay to the autostart entry, which causes the icon to show up in the tray every time on my machine.
KDE also has the option to delay the startup of entries to after another entry has started, but none of these reliably fixed the issue in my testing (specifically the relevant ones are probably
org.kde.plasmashell
andpanel
- both had less than a 50% success rate on my machine).Probably fixes #10
Additional testing welcome to see if 5 seconds really is enough for all cases.