[Gambas-user] Gio icon, GIcon serialized for DesktopPortal Notify?

Bruce Steers bsteers4 at gmail.com
Sun Nov 26 01:08:27 CET 2023


On Sat, 25 Nov 2023 at 23:53, BB <adamnt42 at gmail.com> wrote:

> Er, no. What does a call to
> DBus["org.freedesktop.Notifications"]["/org/freedesktop/Notifications","org.freedesktop.Notifications"].GetServerInformation()
> give?
>
> Notifications are a session item, i.e. user specifies which notification
> daemon they want to use (or the system default). This is the program that
> draws the popups, not the dbus daemon that sends the messages. For e.g. I
> use dunst coz I like it better than the system default. I can display icons
> with dunst but they need to be in the shared system icon directory, I cant
> display arbitrarily located images because dunst cant handle that.
>
> b
>
> p.s. here GetServerInformation() gives "dunst", "knopwob", "1.5.0
> (2020-07-23)", "1.2"
>
> Okay I get
 Notification Daemon "MATE" "1.26.0" "1.1"

i can apparently send just system icon names but again it needs to be a
"serialized GThemedIcon"  whatever that is. just an icon name string for
all accounts but somehow gio serialized.

I think the code needs to be generic though, something that'll work on any
system.

Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231126/2c019317/attachment.htm>


More information about the User mailing list