node-notifier
node-notifier copied to clipboard
Timeout not working on linux
Hi, thanks for the great module,
The timeout flag doesn't work on arch linux
It didn't work for me either(at Ubuntu).
Issue still occurring for me, via webpack-build-notifier
Related #215
Hi. Is it working when using time as specified here https://github.com/mikaelbr/node-notifier#usage-notifysend ? I saw there was missing a mapping from timeout to expire-time, I've added that in master now, but if using the time or testing master isn't working out for you now, we have some other issue I think
It can't work as notify-send has a bug (or a feature...) to ignore --expire-time parameter
See here: https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/390508
In fact, man notify-send reports that:
-t, --expire-time=TIME
The duration, in milliseconds, for the notification to appear on screen.
(Ubuntu's Notify OSD and GNOME Shell both ignore this parameter.)
Another annoying issue with notify-send is that it floods the notification area.
I am thinking that maybe using yad as backend for Linux should probably work better for practical use case.