-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't override timeout if program specified it; can't override urgency #1020
Comments
Allowing the timeout to be overwritten by the rules would break a lot of configs. Many configs, including the example dunstrc, include default timeouts for all the urgencies. If the timeout inside the rules has priority over the dbus timeout, something like So the correct priority to me should be:
I think this is all correct behaviour and as discussed in #1022, you should pay attention to rule order. |
My problem is that some programs set a timeout and don't allow me to change it. I was expecting that the override sections would override everything, like this:
I thought my original problem was with Firefox, but it was a website, and it turned out that it doesn't set a timeout but closes the notification after X seconds, so it can't be solved here. While I'm annoyed at the programs which do set a timeout and don't allow me to change it, I think it's relatively uncommon (I found 1 so far) and not a huge deal to me. So I still think it should be possible to override timeouts from applications, but I don't really need it anymore and maybe I'm the only one who is annoyed by this. 😊 |
I would be open for adding a new setting for overriding the dbus timeout (for example Are you aware of the Of course, you can also go to the programs that do this and tell them they should change, or add an option to disable it. |
That would be nice to have as a band-aid solution.
I was not aware, thanks! It would help me a lot if it were a rule.
Yes, that's what I usually do. (In this case the project is in maintenance mode, so that doesn't seem like a promising endeavor) |
I've added issues for both settings (see above). It would be great if you or @rpbranco could tackle these. |
Issue description
I'm trying to override the timeout for some notifications. It does not work when the application specified a timeout. I also discovered that I can not override the urgency.
notify-send -a "program" "summary" "body"
— timeout override works, urgency override does not work.notify-send -a "program" -t 10000 "summary" "body"
— timeout override does not work, urgency override does not work.Example notification
This is the output I get with
notify-send -a "program" -t 10000 "summary" "body"
The urgency seems to be set correctly, but it is displayed as a normal notidication.Installation info
Dunst - A customizable and lightweight notification-daemon 1.7.3 (2021-12-08)
Gentoo repo
i3
Minimal dunstrc
The text was updated successfully, but these errors were encountered: