Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-06-23 18:33:58

jdhedden
Member
Registered: 2021-06-23
Posts: 3

[WORKAROUND] Broken Notification Icon

I'm using XFCE 4.16 on an new Debian Sid installation. 

I found that icons in notifications are broken.  For instance, the notification from using the 'Show Preview' in the Notifications Settings panel does not have a yellow bell; it's displaying the default white page icon with the slashed red circle.

I'm using my own icons set that I brought over from an XFCE 4.14 installation.  I updated my set by copying into it all the icons from hicolor with the name 'xfce' in them, and installing them in the appropriate sub-dirs in my icon set.   I then updated the icon cache file using gtk-update-icon-cache.  However, all this did not correct the broken icons in the notifications.

Last edited by jdhedden (2021-06-23 21:35:20)

Offline

#2 2021-06-23 19:57:47

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,017

Re: [WORKAROUND] Broken Notification Icon

The preview function is using an icon called xfce4-notifyd.

Ref: https://gitlab.xfce.org/apps/xfce4-noti … main.c#L70 (3rd paramater of the notify_notification_new() function call.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2021-06-23 20:37:03

jdhedden
Member
Registered: 2021-06-23
Posts: 3

Re: [WORKAROUND] Broken Notification Icon

The xfce4-notifyd Debian package does not have any xfce4-notifyd.* icons.   Instead, it has:

/usr/share/icons/hicolor/16x16/apps/org.xfce.notification.png
/usr/share/icons/hicolor/48x48/apps/org.xfce.notification.png
/usr/share/icons/hicolor/scalable/apps/org.xfce.notification.svg
/usr/share/icons/hicolor/scalable/status/notification-disabled-new-symbolic.svg
/usr/share/icons/hicolor/scalable/status/notification-disabled-symbolic.svg
/usr/share/icons/hicolor/scalable/status/notification-new-symbolic.svg
/usr/share/icons/hicolor/scalable/status/notification-symbolic.svg

I added symlinks for org.xfce.notification.* to xfce4-notifyd.* as appropriate, and now the notification comes up with the icon.   (Although the icon is abnormally large.  I'm supposing it's defaulting to the 48x48 icon.)

The repository has the org.xfce.notification.* icons, so this appears to be a 'bug' because the icon filenames do not match what the code is asking for.

Offline

#4 2021-06-23 22:49:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,017

Re: [WORKAROUND] Broken Notification Icon

jdhedden wrote:

The repository has the org.xfce.notification.* icons, so this appears to be a 'bug' because the icon filenames do not match what the code is asking for.

I would agree that this is a bug. You can create a bug report here.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB