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

App indicator does not show in icon tray #1

Open
acotis opened this issue Nov 7, 2021 · 0 comments
Open

App indicator does not show in icon tray #1

acotis opened this issue Nov 7, 2021 · 0 comments

Comments

@acotis
Copy link
Collaborator

acotis commented Nov 7, 2021

This code is supposed to display an app indicator in your system's icon tray. It is supposed to be white when the script is not "listening" to inputs and red when it is listening. This lets you always see at a glance whether you've accidentally left it in "listening" mode. Unfortunately this feature is currently broken on some distros because support for the libappindicator library has been discontinued in favor of the libayatana-appindicator library, and the pystray library (which this code uses to manage the tray icon) doesn't support that yet (but they are working on it). When it does, the fix will be to simply change the "run" recipe in the Makefile from:

run:
	python3 main.py #| python3 trayicon.py

to:

run:
	python3 main.py | python3 trayicon.py

E.g., simply uncomment the second half of the line.

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

No branches or pull requests

1 participant