English
Ask Your Question
2

notify-send ignores timeout

asked 2011-12-05 13:39:27 +0000

thomas gravatar image

In gnome-shell I tried executing:

notify-send --expire-time=1000 test
notify-send --expire-time=10 test
notify-send --expire-time=500 test
notify-send --expire-time=8000 test
notify-send --expire-time=-1 test
notify-send --expire-time=0 test

But regardless of the --expire-time option value, the notification will stay for a fix amount of time of appx. 5 seconds or until the user clicks on it.

Am I doing something wrong?

edit retag flag offensive close delete

Comments

Nice catch, definitely a bug!

ztank1013 ( 2011-12-05 20:33:15 +0000 )edit

Do you think, this is an upstream bug? I didn't have the possibility lately to test it somewhere else than with Fedora 16.

thomas ( 2011-12-07 07:45:32 +0000 )edit

4 Answers

Sort by ยป oldest newest most voted
1

answered 2011-12-07 13:27:40 +0000

I checked in KDE too and that works as @ZenDark already mentioned. Can you file a bug in Gnome Bugzilla and post the link here for followup.

edit flag offensive delete publish link more

Comments

Thanks for your contribution. I filed a bug as you proposed: https://bugzilla.gnome.org/show_bug.cgi?id=665761

thomas ( 2011-12-07 23:55:16 +0000 )edit
1

answered 2011-12-05 14:32:48 +0000

Under kde it just work... It seems to be a problem with gnome shell. Try:

notify-send --expire-time=1000 --hint=int:transient:1 test
edit flag offensive delete publish link more

Comments

Thanks for your answer. It's definitely a gnome-shell-issue. I tried all the commands from my first posting with "--hint=int:transient:1", but still the "--expire-time" option is ignored entirely.

thomas ( 2011-12-07 07:43:48 +0000 )edit
0

answered 2012-02-14 08:44:08 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2012-02-14 08:44:08 +0000

https://bugzilla.redhat.com/show_bug.cgi?id=781906

edit flag offensive delete publish link more
0

answered 2012-02-14 08:43:37 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2012-02-14 08:43:37 +0000

See https://bugzilla.redhat.com/show_bug.cgi?id=781906

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question tools

Follow
2 followers

Stats

Asked: 2011-12-05 13:39:27 +0000

Seen: 1,645 times

Last updated: Feb 14 '12