Hello, I am using Orage 4.8.1 with libnotify-0.7.2 under Gentoo. I have a recurring appointment to remind me to take medicine every few days in the morning. However, I do not always wake up at the same time. Thus, I need the notification to stay on my desktop indefinitely so I can see it when I do wake up. This was the case with Orage 4.7.x . However, after upgrading to Orage 4.8.x, the desktop notification disappears after 10 minutes if I don't set the expiration time. If I do set the expiration time, the maximum I can set is only 999 seconds . How do I get the Orage desktop notifications to never expire until I click on them?
I have libnotify 0.4.5 and 0.5.0 in my systems (ubuntu). Those do not have problems and the alarm stays. There is big changes in libnotify 0.7 though and I have some macros to get Orage to work. Those should not caues issues, but I can't test it now. Need to see how I can find 0.7
In the meantime you can use Orage window instead of libical.
I'm sorry, I neglected to mention that I had the same problem with libnotify v. 0.4.5, which is what prompted me to upgrade to 0.7.2, without success. The problem may not be with Orage, but with xfce4-notifyd, as the following script I clipped from the Ubuntu forums does not work -- the notice still only lasts exactly 10 minutes. ############### #!/usr/bin/env python import dbus item = ('org.freedesktop.Notifications') path = ('/org/freedesktop/Notifications') interface = ('org.freedesktop.Notifications') icon = '' array = '' hint = '' time = 0 # '0' should mean never expires! app_name = ('Test Application') title = ('NOTIFICATION TEST') body = ('This is a test of the notification system via DBus.') bus = dbus.SessionBus() notif = bus.get_object(item, path) notify = dbus.Interface(notif, interface) notify.Notify(app_name, 0, icon, title, body, array, hint, time) ###############
Thanks. Yes, looks like this is xfce4-notifyd bug. It probably does not support never expiring setting. I'll move this bug to xfce4-notifyd. If that is not correct, just assign back to Orage and I will then try to test it agains xfce4-notifyd.
This should be fix in git master with commit 46ad7630ed9a5dc78f7ee9307ba8268fe14bab5c. Xfce4-notifyd has a close timeout to exit automatically when being idle 10 minutes. Unfortunately, it was not initialized properly and it would cause the daemon to exit even if notifications were active...