buzz / twitch-indicator

Twitch indicator for Linux. Tracks your followed channels and notifies when they go live.
GNU General Public License v3.0
17 stars 9 forks source link

Title shows on systray icon using Cinnamon #24

Open ColetteDiskette opened 1 month ago

ColetteDiskette commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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?