Skip to content

Some options provided to libnotify not work #21

Closed
skyeagle opened this Issue Jun 4, 2013 · 6 comments

3 participants

@skyeagle
skyeagle commented Jun 4, 2013

Here is the irb example:

1.9.3p392 :001 > require 'libnotify'
 => true 
1.9.3p392 :002 > Libnotify::VERSION
 => "0.8.0"
1.9.3p392 :003 > Libnotify.show(:body => "hello", :summary => "world", :timeout => 1, :append => true)
 => true 
1.9.3p392 :004 > Libnotify.show(:body => "hello", :summary => "world", :timeout => 1, :append => true)
 => true 

Messages have been displayed but with much longer timeout and

successively instead of appending.

My sistem is Ubuntu 12.04 x86_64.
libnotify4 version is 0.7.5-1

Any help appreciated. Thank you.

@splattael
Owner

I guess Ubuntu overrides some timeouts. Sadly, I cannot verify this behaviour until next monday :-(

@jerefrer
jerefrer commented Jun 7, 2013

Yep you're right, here is the discussion about it : https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/390508

@splattael
Owner

@jerefrer Thanks for the hint.
@skyeagle Quoting from https://wiki.ubuntu.com/NotifyOSD#org.freedesktop.Notifications.Notify

All other hints, and all other parameters (including expire_timeout) should be ignored.

Damn :-(

@jerefrer
jerefrer commented Jun 9, 2013

I did manage to make it work by using a patched version of the NotifyOSD package. See this post.

@skyeagle

@jerefrer thanks for workaround but unfortunately it doesn't contain x64 version '(

@splattael splattael added a commit that closed this issue Jun 18, 2013
@splattael Closes #21 3030b8e
@splattael splattael closed this in 3030b8e Jun 18, 2013
@splattael splattael added a commit that referenced this issue Jun 18, 2013
@splattael Add caveat about not working options on Ubuntu.
Closes #21

[ci skip]
00299eb
@splattael
Owner

I've added a caveat to README describing the problem on Ubuntu.

Sorry, guys :-(

@splattael splattael added a commit that referenced this issue Jun 18, 2013
@splattael Add caveat about not working options on Ubuntu.
Closes #21

[ci skip]
e50a3e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.