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
Minimize to tray on Plasma5 (KDE) #1756
Comments
Go to "Music", then "Plugins" and activate "Tray Icon", that should do it. |
Ok, the problem is that KDE doesn't show it in the tray bar... |
Afaik plasma5 no longer supports tray icons. Might be related: #1343 |
It does support, but it follows this spec: http://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/ which is (as I understood) the right one... |
We don't support that atm (I didn't know that that was used outside of Ubuntu where mpris + the unity task bar integration is usually enough..) |
Is it what is used? |
What are you referring to? On Linux there are four things for exposing a menu of some sorts:
|
Ok. I think KDE was using what you put in 1). But they movedto 4) and 3). I was asking if your link (api) is what you currently use. |
Possible. I remember that early Ubuntu versions only used MPRIS if (4) was implemented.. maybe that's the case here too
This is the Python API for implementing https://wiki.freedesktop.org/www/Specifications/StatusNotifierItem/ (If I'm not mistaken..) |
So it means that it's almost solved isn't it? |
Note that Plasma 5.5, which came out today, has a new change related to this:
(From https://dot.kde.org/2015/12/08/plasma-55-beautiful-new-artwork) |
Yes I saw that too... Nevertheless they reimplement the 1) on lazka's list which is old and deprecated, so going to the new things (4) seems needed. |
Thanks for the info.
Agreed, especially as (1) doesn't work with Wayland. |
Split things up; The appindicator needs a persistant menu so try to make the existing menu code dynamic (player repead/orders missing) and use it for both implementations. Atm the indicator will be used under Unity and Wayland.
Basics are working now with master. But you need libappindicator-gtk3 (afaics this in only in AUR) |
I've got it. I'll check this. Thx a lot. |
Things should work now in master, so I'm closing this. If there are any problems please report them here or in a new issue. |
@lazka: is this patched in 3.5.3? thx |
No, but as pointed out in #1756 (comment) the old tray icon should work again if you update to plasma 5.5. This will be part of 3.6 I guess we should look into providing an unstable build for the AUR.. |
See #1805 |
I can write one if you want.... With the upgrade of plasma 5.5 it doesn't really work. You have an icon, but most of the time black, never scaled. |
From master branch:
@lazka I don't find the "Reopen" button. |
What's your output for |
No output....
|
Ok... I'm on plasma 5.5.4 as well, libappindicator-gtk3 as well but it's still the same : weird icon, no interaction with the icon (no menu either).... Don't know why... I'll try to check if I'm missing something. Are you using the Tray Icon plugin? Very strange. |
I just completely uninstall quodlibet and check the config of plasma.. Still the same. |
D: 249.60: fake.plugins.trayicon.get_indicator_impl: use app indicator: False XDG_SESSION_DESKTOP is set with KDE. but you check plasma. |
hm, It's plasma here.. maybe because I use gdm3, I'll have a look (That's why I asked about the "Show Quod Libet" item, which is only there if AppIndicator3 is used..) |
Okay, AFAICS this was fixed in #1813. I've also just tested the Tray Icon plugin (Kubuntu 18.04) and it works flawlessly. |
Is there an option or a plugin to install to minimize to tray?
I'm using Plasma5 on Archlinux and when I quit QuodLibet, it quits for real...
Thx
The text was updated successfully, but these errors were encountered: