Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some options provided to libnotify not work #21

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

Some options provided to libnotify not work #21

skyeagle opened this issue Jun 4, 2013 · 6 comments

Comments

@skyeagle
Copy link

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
Copy link
Owner

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

@jerefrer
Copy link

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
Copy link
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
Copy link

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
Copy link
Author

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

splattael pushed a commit that referenced this issue Jun 18, 2013
@splattael
Copy link
Owner

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

Sorry, guys :-(

splattael pushed a commit that referenced this issue Jun 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants