node-notifier icon indicating copy to clipboard operation
node-notifier copied to clipboard

Timeout not working on linux

Open amiut opened this issue 8 years ago • 4 comments

Hi, thanks for the great module, The timeout flag doesn't work on arch linux

amiut avatar Oct 19 '17 12:10 amiut

It didn't work for me either(at Ubuntu).

selfrefactor avatar Nov 01 '17 09:11 selfrefactor

Issue still occurring for me, via webpack-build-notifier

Related #215

JoshuaDoshua avatar Jan 24 '19 00:01 JoshuaDoshua

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

mikaelbr avatar Jan 24 '19 12:01 mikaelbr

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.

ildella avatar Nov 15 '20 08:11 ildella