2019-08-20 07:33:21 |
Khurshid Alam |
description |
Both freedesktop notification (https://developer.gnome.org/notification-spec/) spec & gnotification use "image-path" as hint where notify-osd uses "image_path".
As a result when one uses themed icon with gnotification it doesn't show the icon. Support for themed icon landed in https://github.com/GNOME/glib/commit/ec1edef3
This can easily be verified with
IMAGE=edit-copy
# IMAGE=/usr/share/icons/Adwaita/48x48/actions/edit-copy.png
python -c "import dbus; print dbus.Bus().call_blocking(\
'org.freedesktop.Notifications', \
'/org/freedesktop/Notifications', \
'org.freedesktop.Notifications', \
'Notify', \
'susssasa{sv}i', \
('appname', 0, '', 'summary', 'body', [], {'image-path': '$IMAGE'}, -1))" |
Both freedesktop notification (https://developer.gnome.org/notification-spec/) spec & gnotification use "image-path" as hint where notify-osd uses "image_path".
As a result when one uses themed icon with gnotification it doesn't show the icon. Support for themed icon landed in https://github.com/GNOME/glib/commit/ec1edef3
This can easily be verified with
IMAGE=/usr/share/icons/Adwaita/48x48/actions/edit-copy.png
python -c "import dbus; print dbus.Bus().call_blocking(\
'org.freedesktop.Notifications', \
'/org/freedesktop/Notifications', \
'org.freedesktop.Notifications', \
'Notify', \
'susssasa{sv}i', \
('appname', 0, '', 'summary', 'body', [], {'image-path': '$IMAGE'}, -1))" |
|