You are not logged in.
Hi,
Dunst has just seen a large update to version 1.7.0. My old dunstrc was no longer 100% compatible with the new version and a few things got broken, but after updating dunstrc, I got everything working. All except the default icons which are set up in my dunstrc (towards the end) and which aren't showing up at all. Now I am seeing this warning:
$ dunst -verbosity info
INFO: '/home/user/.config/dunst/dunstrc' open, fd: '3'
INFO: '/usr/etc/xdg/dunst/dunstrc' open, fd: '4'
INFO: Parsing config, fd: '4'
INFO: Parsing config, fd: '3'
WARNING: Cannot use filtering rules in special section. Ignoring icon in section urgency_low.
WARNING: Cannot use filtering rules in special section. Ignoring icon in section urgency_normal.
WARNING: Cannot use filtering rules in special section. Ignoring icon in section urgency_critical.
INFO: Using X11 output
INFO: X11: Hiding windowI really don't get what the "special section" is. A search for the word "special" in my dunstrc doesn't return anything.
I have followed the template dunstrc to the dot. Do you think I am doing something wrong, or could this be a bug worth reporting? I didn't find anyone else having the same problem though.
Edit: icons are being displayed correctly only when they get specified using dunstify --icon path/to/icon
Last edited by goldmund (2021-10-23 11:53:07)
Offline
I think "special section" means any section that is not a rule (so [global] and the urgency sections). There seems to be a distinction between filtering and modifying rules. "icon" is listed under "filtering" in dunst(5) and "new_icon" under "modifying", so you may want to try the latter. But this looks like a bug.
Offline
I think "special section" means any section that is not a rule (so [global] and the urgency sections). There seems to be a distinction between filtering and modifying rules. "icon" is listed under "filtering" in dunst(5) and "new_icon" under "modifying", so you may want to try the latter. But this looks like a bug.
Thanks, I still haven't managed to fix it and have now submitted the issue.
Offline
I've received a reply from a Dunst maintainer. The syntax in dunstrc has changed and icons are now set up using new_icon like so:
[urgency_normal]
background = "#285577"
foreground = "#ffffff"
timeout = 10
new_icon = /path/to/iconnew_icon has not yet been implemented into the dunstrc template.
Icons are working now, marking as solved.
Offline