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

Title shows on systray icon using Cinnamon #24

Open
ColetteDiskette opened this issue Aug 13, 2024 · 3 comments
Open

Title shows on systray icon using Cinnamon #24

ColetteDiskette opened this issue Aug 13, 2024 · 3 comments

Comments

@ColetteDiskette
Copy link

ColetteDiskette commented Aug 13, 2024

When I'm running Cinnamon on my Arch install, the systray icon also has the text "Twitch Indicator" alongside it. From what I've seen, only Cinnamon seems to do this, so at first I was thinking of considering it a Cinnamon issue, but then I realized it's also true that only Twitch Indicator does this to me in Cinnamon.

My best guess is that removing self.set_label("Twitch Indicator") at line 25 in indicator.py would fix it, but I have it installed via AUR and so I'm not even sure how to check that on my end or if that's even a good idea in general.

This occurs while running Cinnamon 6.2.7 on Arch Linux.

EDIT: Adding image of systray area of panel:
systray-area

@buzz
Copy link
Owner

buzz commented Aug 13, 2024

This feature is part of the Desktop Environment you're using. 🤷

There may be an option in the Cinnamon status icon applet to disable the label. If not, consider reaching out to the Cinnamon project for help.

Alternatively, I'd accept a PR to make the label toggleable within twitch-indicator if necessary.

@ColetteDiskette
Copy link
Author

I would gladly reach out to the Cinnamon project if I had more examples of the label being printed to the systray applet (which has no settings) but Discord, streamdeck_ui, OBS, and literally every other program I've used thus far don't show a label there. This puts me between a rock and a hard place.

@buzz
Copy link
Owner

buzz commented Aug 17, 2024

Well, looking at the docs for XApp.StatusIcon.set_label, it seems showing a label next to the icon is the intended behavior:

Sets a label, shown beside the icon

My guess is, most Desktop environments don't support this. So, maybe it's okay to just remove the call to set_label altogether as you suggested?

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

2 participants