Syndicate
Site (RSS, Atom)
Contact
Weblog status
Total entries: 50
Last entry: 2016-10-17 22:22:03
Last updated: 2016-10-18 07:57:57
powered by vim, bash, cat, grep, sed, and nb 3.4.2

June 2014 Archives

2014-06-24 22:21:00

Bug: notification-daemon ignores timeout

On LXDE and other desktops the dbus component which listens for notifications is often notification-daemon. On most of these installations (Fedora, Red Hat and more) this listener ignores the timeout sent by clients like notify-send.

There's a discussion that notification listeners may recognize timeouts sent by clients but they should not do it because the client may set it to zero (= no timeout, display forever) or to a very big timeout (int32) causing some kind of "overload". Therefore it's up to notification-daemon to decide if it honors the given timeout.

But if you read the man page of notify-send it suggests that you actually can set this timeout. It's even worse because it belongs to a different package (libnotify). If you need the timeout because i.e. you want to display a longer text which can't be read while the default display time of 5 seconds then you need to patch your notification-daemon.

In Red Hat's bugzilla for this bug 829269 there was proper patch posted by Fabrice Bellet. Here are some RPM packages for Fedora with this patch included:

notification-daemon-0.7.6-3.fc17.src.rpm
notification-daemon-0.7.6-3.fc17.x86_64.rpm
notification-daemon-0.7.6-3.fc18.src.rpm
notification-daemon-0.7.6-3.fc18.x86_64.rpm
notification-daemon-0.7.6-3.fc19.src.rpm
notification-daemon-0.7.6-3.fc19.x86_64.rpm
notification-daemon-0.7.6-4.fc20.i686.rpm
notification-daemon-0.7.6-4.fc20.src.rpm


Posted by Frank W. Bergmann | Permanent link | File under: rpm, fedora, shell