I should add that, for StatusNotifier to work, it requires the app to have
implemented the specification. So you may find some apps have systray icons
but not StatusNotifier icons.

On Wed, 13 Oct 2021, 19:30 Justine Smithies, <[email protected]> wrote:

> Thank you so much for your excellent explanation. I understand totally now
> and think I'll be dumping the Systray in favour of your StatusNotifier
> Widget. ;)
>
> On Wed, 13 Oct 2021, 19:18 elParaguayo, <[email protected]> wrote:
>
>> Justine,
>>
>> Just seen your question on IRC about the difference between SysTray and
>> StatusNotifier.
>>
>> I don't want to get too complicated here but, in short, System Tray is an
>> X client which displays icons in a special window. It's not available on
>> Wayland.
>>
>> StatusNotifier is a new specification and an attempt to standardise how
>> apps display icons. It uses dbus for apps to notify that they want to
>> display an icon and, as a result, it's available on both Wayland and X11.
>>
>> Another difficulty with SystemTray is that, as the icons are drawn in a
>> window, it's harder to get the transparency to work (or, at least, I
>> couldn't get it to work). StatusNotifier, on the other hand, tells you
>> which icon to display but, as you're not constrained to a specific window,
>> there's more flexibility as to how to draw the icon which means I can get
>> icons to display on transparent/semi-transparent bars.
>>
>> If you're really interested, you can read these:
>>
>> https://specifications.freedesktop.org/systemtray-spec/systemtray-spec-latest.html
>> https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/
>>
>> On Wednesday, 13 October 2021 at 09:01:55 UTC+1 elParaguayo wrote:
>>
>>> There's a lot of extra code required to add menus and it's not fair on
>>> the maintainers to introduce so much when it's only used by one widget (so
>>> far).
>>>
>>> You can do some cool stuff with the popup toolkit besides making menus
>>> though.
>>>
>>> On Wed, 13 Oct 2021, 08:29 Justine Smithies, <[email protected]>
>>> wrote:
>>>
>>>> Oh very nice and thank you so much ! I think that definitely deserves a
>>>> place in the main repo though. 😉
>>>>
>>>> On Wed, 13 Oct 2021, 08:09 el Paraguayo, <[email protected]> wrote:
>>>>
>>>>> Justine,
>>>>>
>>>>> Glad you like it.
>>>>>
>>>>> As for the context menus, these may not feature in the main repo.
>>>>>
>>>>> However, I have a present for you:
>>>>> https://qtile-extras.readthedocs.io/en/latest/manual/ref/widgets.html#statusnotifier
>>>>>
>>>>> This is in my repo of unofficial extras.
>>>>>
>>>>> On Wed, 13 Oct 2021, 07:58 Justine Smithies, <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Just found the new StatusNotifier Widget and it works perfectly with
>>>>>> my transparent bar than the Systray widget. One question though are 
>>>>>> context
>>>>>> menus planned for future releases as I'd really like to ditch Systray in
>>>>>> favour of this widget.
>>>>>>
>>>>>> Thanks again
>>>>>>
>>>>>> Justine
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "qtile-dev" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/qtile-dev/CADrRWNaohoicvjbc_dNKxktjxgE3AyQLfTPyQUZB9dUkE4D0TQ%40mail.gmail.com
>>>>>> <https://groups.google.com/d/msgid/qtile-dev/CADrRWNaohoicvjbc_dNKxktjxgE3AyQLfTPyQUZB9dUkE4D0TQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "qtile-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/qtile-dev/CADPQLhCfzsQGaVcH0y6K%3Dhdu0OGYAtr8Lr4xeBsa9GiqV3T4zg%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/qtile-dev/CADPQLhCfzsQGaVcH0y6K%3Dhdu0OGYAtr8Lr4xeBsa9GiqV3T4zg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "qtile-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>>
>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/qtile-dev/CADrRWNYZTJiGncRW15LXu7Ag3AUO7T5x8-zd%3D1pKXUWqds%2BBMA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/qtile-dev/CADrRWNYZTJiGncRW15LXu7Ag3AUO7T5x8-zd%3D1pKXUWqds%2BBMA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "qtile-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/qtile-dev/cbc300c4-b72e-487c-8b54-0a5ae59a7e70n%40googlegroups.com
>> <https://groups.google.com/d/msgid/qtile-dev/cbc300c4-b72e-487c-8b54-0a5ae59a7e70n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "qtile-dev" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/qtile-dev/adTwh6doJu8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qtile-dev/CADrRWNY0fBSdbs4y%2BD8iqgVqM_89NdwYEEhpw1u1dmO1mWa1qg%40mail.gmail.com
> <https://groups.google.com/d/msgid/qtile-dev/CADrRWNY0fBSdbs4y%2BD8iqgVqM_89NdwYEEhpw1u1dmO1mWa1qg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CADPQLhD%3DjemoaPJb-bE0_iyOfdzngqtvO1goE1UBYQ8cr78Xsw%40mail.gmail.com.

Reply via email to