Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tray icon generation only when systray available. #40

Closed
wants to merge 1 commit into from

Conversation

Bass-03
Copy link

@Bass-03 Bass-03 commented Oct 27, 2018

Got annoyed by this pop up error on POP_os 18.04.
Should happen on ubuntu > 17.04 or any gnome 3 distro.

Run code only when systray is available instead of showing an error.

Now I can run aw-qt on startup with no issues.

@ErikBjare
Copy link
Member

ErikBjare commented Oct 27, 2018

Thanks for the PR!

I'm a bit concerned however about the UX for the users where a systray isn't available since it gives a differing experience (although that's better than not working at all, lol). Preferably we'd just implement support for appindicators as discussed in ActivityWatch/activitywatch#238 but this might be a good alternative for now.

What do you think @johan-bjareholt?

@johan-bjareholt
Copy link
Member

It now also seems like upstream gnome itself has removed support for appindicators as well.
However, Ubuntu and a few other distros seem to ship with an extension by default which allows them.

@ErikBjare
Copy link
Member

I've recently added a --no-gui option in 744c8d2 that doesn't initialize the trayicon at all.

Kinda makes this PR redundant, so closing.

Thanks for contributing!

@ErikBjare ErikBjare closed this Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants