UIKit0 / newsbeuter

Automatically exported from code.google.com/p/newsbeuter
0 stars 0 forks source link

Feature : urgent #212

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great that newsbeuter send a urgent signal to the WM, like irssi or 
mutt.
It could complete the auto-reload option, so that in a glance we know if 
there's someting new.

Original issue reported on code.google.com by shogun.o...@gmail.com on 10 Jun 2010 at 1:00

GoogleCodeExporter commented 9 years ago
What is the "urgent signal"? Newsbeuter has a number of ways to notify a user 
of new articles, such as the configuration options notify-beep (newsbeuter will 
beep on new articles), notify-xterm (newsbeuter will set the xterm title with a 
notification message), notify-screen (newsbeuter will send a "privacy message" 
to the terminal; GNU screen for example implements this), or notify-program 
(newsbeuter will call a configurable program on new articles). I think if none 
of the former configuration options fulfills your needs, you could implement it 
using the notify-program option and a custom script that triggers such an 
"urgen signal". The documentation contains more about this: 
http://www.newsbeuter.org/doc/newsbeuter.html

Original comment by theunixe...@gmail.com on 10 Jun 2010 at 8:45

GoogleCodeExporter commented 9 years ago
I found out that a more precise word is urgent hint.

I'm using urxvt, and notify-screen of xterm doesn't work.
However, notify-beep is working, thanks to urxvt'.Xdefaults : 
URxvt.urgentOnBell: true

The same function without the sound would be perfect.

Original comment by shogun.o...@gmail.com on 10 Jun 2010 at 9:42

GoogleCodeExporter commented 9 years ago
Could you try whether you can compile the test program found at 
http://testbed.newsbeuter.org/urgent.c (gcc command line is found inside there 
in the comment at the top). When you start it, it should set the urgency hint 
for the terminal for 1 second and then unset it again. Does this do anything 
for you?

Original comment by theunixe...@gmail.com on 11 Jun 2010 at 7:48

GoogleCodeExporter commented 9 years ago
It set the urgency hint.
However, to unset it, I have to select the program. It is not removed 
automatically.

Original comment by shogun.o...@gmail.com on 13 Jun 2010 at 6:34