Irssi libnotify integration

I came across irssi-libnotify integration in a picture in blog post I read this morning.

I thought about this, and decided that this was something I had to have. I often don’t pay attention to my IRC while I’m busy with something else, and miss out on a conversation that I’m being hailed in. (By something else, I’m meaning non-important, non-masked-interrupts-something-else.)

It isn’t an easy problem to solve, though. Irssi is running on a remote machine inside screen. I’ll be accessing it from one of many machines, possibly NATed, and possibly unable to receive incoming TCP connections.

I googled around a bit, and came across 3 main classes of solution to this problem:

  1. Run libnotify directly on the irssi-box, and use ssh’s X-forwarding to display it on my client. This is sub-optimal, because your X server isn’t always available. Example: irssi-libnotify (which requires the module to be reloaded every time you re-attach screen)
  2. Output all hilighted messages to a log file (using fnotfiy), and tail that log file with a second ssh session into a local script that calls libnotify. Sub-optimal, because it requires manually running a second ssh session, and restarting it in the event of network issues. Example
  3. Send notify events down the Print Channel of the terminal. This will pass through screen, and pop out at your terminal-emulator. xterm and rxvt are both capable of then sending them to an arbitrary command (which could call libnotify). This is quite a clever hack, except that gnome-terminal doesn’t support it. Example

As you can see, they all have major short-comings, and I wasn’t about to implement any of them.

Finally, I realized that Jabber would be a good way to hail me. My laptop / desktop / n800 / foo all run jabber clients. Perfect. I googled, and found a few pre-canned solutions. I settled for jabber-hilight-notify. It runs a jabber client in a perl irssi script. This then sends me a message whenever a hilighted line crops up. (Assuming I’m not in “Do Not Distrub” mode)

I initially had some problems with getting jabber-hilight-notify working. It turns out that setting a custom resource string is a bad idea. My final config was:

jabber_hilight_notify_target = stefano@rivera.za.net
jabber_password = xxxxxxxx
jabber_id = irssi@rivera.za.net
jabber_server_reconnect_time = 60
jabber_hilight_notify_target_presence = online chat away xa
jabber_hilight_notify_when_away = OFF

My Pidgin provides the libnotify integration, although jabber-hilight-notify’s designed to work with Tavu (a desktop-notification frontend for KDE). I think a better approach would be to use Telepathy. If such a general telepathy-based solution could be found, then it would be easy to have multiple remote daemons send notifications to you via jabber transport.

Now to see if I’m still happy with it after a week of it interrupting me.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Option 4

Cron a script that emails log content to me.

What do you mean?? Klicka här

What do you mean??

Klicka här

Great website here, really

Great website here, really useful and interesting information. Thanks a lot for all your efforts, and please keep the great work up!
Tips Cepat Hamil - yamaha r15 dan yamaha r25 motor sport racing dan kencang - camry mobil hybrid terbaik indonesia - asus zenfone smartphone android terbaik - cipto junaedy

Thank you

Saat ini sangat banyak orang yang mendambakan kulit putih. Mungkin karena saat ini budaya korea sedang trend. Jadi mungkin panduan berikut ini bisa anda pakai untuk membantu anda memutihkan kulit secara cepat cara memutihkan kulit . baca selengkapnya cara memutihkan kulit dengan benar kunjungi website kami .
Saat ini ada banyak jasa pembuatan canopy. Jika anda sedang membutuhkan bantuan untuk jasa pembuatan canopy silahkan hubungi kami. Kami sudah berpengalaman mengerjakan canopy awning, kain, atau lainnya. Dengan harga sangat bersaing. canopy rumah . lihat ragam produk canopy kami di sini silahkan baca selengkapnya .
Apakah anda ingin menjadi langsing? Saat ini sangat banyak ditawarkan produk pembuat badan menjadi langsing, namun anda harus selektif dalam memilih yang aman dan berkhasiat menurunkan berat badan anda. cara menjadi langsing . kenali manfaat dan produk herbal slim. klik di sini .
Apakah anda membutuhkan informasi seputar gadget, komputer ataupun tablet dan smartphone? Di sini adalah tempatnya segala informasi terkini bisa anda dapatkan. Silahkan kunjung halaman website kami dan dapatkan info yang anda butuhkan. samsung galaxy tab 4.7 . beli online samsung galaxy dengan harga murah dari toko ini. read more .
Jika anda membutuhkan banyak informasi seputar dunia otomotif, baik itu harga mobil terbaru atau tips perawatan kendaraan, atau bahkan anda berminat membeli mobil baru. Ada baiknya anda berkunjung terlebih dahulu ke halaman otomotif bandung. harga toyota avanza . dapatkan info otomotif selengkapnya di sini lihat penawaran kami .
Saat ini kesehatan wanita semakin perlu mendapatkan perhatian khusus karena saat ini alam sekitar kita semakin kotor dan penuh dengan radikal bebas. Jadi jika anda ingin mencegah segala macam penyakit kewanitaan ada baiknya anda mencoba Crystal x, sebuah produk yang sangat dikenal saat ini. cara merapatkan vagina . Lihat info lengkap dari produk crystal x download di sini .
Properti saat ini sedang berkembang di mana-mana. Salah satunya adalah kota jogja. Walaupun biaya hidup di kota ini terbilang ringan, tapi jangan bilang harga tanahnya murah. Dan oleh karena itulah berbisnis tanah atau rumah di jogja akan sangat menguntungkan anda. rumah jogja . temukan lokasi-lokasi tanah dan rumah di jogya yang sedang dijual baca di sini .
Saat ini semakin banyak rumah tangga yang mendabakan kehadiran seorang anak, tapi belum mendapatkannya. Ada beberapa hal yang bisa menghalangi kehamilan. Jadi pelajari tips hamil berikut ini agar bisa menunjang program hamil yang sudah anda rencanakan. tips cepat hamil . tips hamil lainnya silahkan buka halaman web kami. kunjungi blog .
Jika anda ingin membuat kue takoyaki yang lezat, atau kue pukis yang empuk atau tempe mendoan, atau emping melinjo lezat. Ada baiknya anda membaca blog berikit ini. Karena blog ini menawarkan itu semua kepada anda dengan harga yang ringan. Resep membuat takoyaki . dapatkan panduan takoyaki dan makanan lainnya di sini lihat artikel .
Grosir baju batik pekalongan saat ini semakin menjamur di internet. Mungkin karena baju batik pekalongan sendiri semakin populer belakangan ini. Jadi jika anda tertarik juga tersedia baju batik muslim model terbaru yang tentunya sangat sesuai dengan anda. baju batik wanita . Dapatkan informasi tentang jual grosir busana harga murah. baca artikel .
Jika anda membutuhkan sebuah website yang menyediakan daftar harga terbaru maka ini adalah alamat yang harus anda kunjungi, karena di sini sangat lengkap daftar harga untuk gadget, elektronik, mobil, dan lain sebagainya. Daftar Harga Handphone Terbaru . dapatkan daftar harga produk apapun itu hanya di sini. lihat penjelasan lengkapnya .
Membuat template blog yang SEO friendly bisa membantu performa blog anda di hasil pencarian. Jadi oleh karena itu ada baiknya saudara membuat halaman template yang SEO friendly. Silahkan gunakan template ini dengan melakukan sedikit penyesuaian. belajar SEO dan Blog Pemula . pelajari lebih lanjut cara membuat blognya baca artikel .
Dalam membangun bisnis online seperti di dunia fashion ada banyak sekali kendala. Khususnya yang menawarkan produk tas, baju, sepatu, dan aksesoris wanita, karena semuanya ini adalah produk yang mempunyai persaingan yang tinggi jual sepatu wanita online . silahkan lihat koleksi baju wanita dan sepatu lainnya lihat penjelasan lengkapnya .

I could not resist

I could not resist commenting. Well written! I will right away grasp your rss feed as I can’t in finding your e-mail subscription link or e-newsletter service. Do you have any ? Kindly allow me understand so that I may just subscribe. Thanks.

Check the excite info http://www.dunia-promosi.info/iklan/3028/yamaha-r15-dan-yamaha-r25-motor... Yamaha R15 dan Yamaha R25 Motor Sport Racing dan Kencang , & don't forget click significant article http://arisnbw.blogspot.com/2014/07/YamahaR15YamahaR25.html Yamaha R15 dan Yamaha R25 Motor Sport Racing dan Kencang , & don't forget click significant article http://chat.dddinfotech.asia/link/33126 Yamaha R15 dan Yamaha R25 Motor Sport Racing dan Kencang & good article http://czgay.eu/gay/link/2373 Yamaha R15 dan Yamaha R25 Motor Sport Racing dan Kencang & article http://nomor.96.lt/yamaha-r15-dan-yamaha-r25-motor-sport-racing-kencang/ Yamaha R15 dan Yamaha R25 Motor Sport Racing dan Kencang & good article http://www.iklan7788.info/iklan/3028/yamaha-r15-dan-yamaha-r25-motor-spo... Yamaha R15 dan Yamaha R25 Motor Sport Racing Kencang & significant article http://kerajinantembaga.hol.es/yamaha-r15-dan-yamaha-r25-motor-sport-rac... Yamaha R15 dan Yamaha R25 Motor Sport Racing Kencang . Please, Love it!
Wow, this paragraph is pleasant, my younger sister is analyzing these kinds of things, thus I am going to let know her.

You can read news http://smartdatacollective.com/user/391181 Cipto Junaedy , & don't forget browse helpful information http://arisnbw.blogspot.com/2013/10/ciptojunaedy.html Cipto Junaedy , & don't forget browse helpful information http://teaclub.by/?q=node/23836 Cipto Junaedy & nice information http://www.unimor.ac.id/komunitas/groups/viewgroup/75-cipto-junaedy Cipto Junaedy & information http://closocial.com/link/3353 Cipto Junaedy & nice post http://cjunaedy.blogdetik.com/2014/05/22/seminar-membeli-rumah-tidak-uta... Cipto Junaedy that interesting & helpful post http://theenergycollective.com/users/zidane Cipto Junaedy . Love it !

Currently, we each are

Currently, we each are largely structured on highly technological mobile phone devices. Mobiles usually are certainly by far the most desired new technology for advertising and marketing information to one another. Mobiles are classified as the trusted equipment for dialling. mobile development

Weblink Interesting

Weblink

Interesting question... let me know what you found out...

Option 5

thanks


thanks

Cricket record is brimming

Cricket record is brimming with extremely accomplished cricketers and some of them have been recently exceptional. Let us make an attempt to figure out the highest cricketers in recent history that get graced your field involving cricket. Very easy reflect on the personal effectiveness. cricket

I just wanted to know more

I just wanted to know more about how jabber-hilight-notify working. The code that you have shared above was really diffucult to underestand it would have been better if you had provided more information on the code and how that works as you mentioned.
apple operating systems

I considered this, and chose

I considered this, and chose that this was something I needed to have. I frequently don't give careful consideration to my IRC while I'm occupied with something else, and pass up a major opportunity for a discussion that I'm being hailed in. (By something else, I'm importance non-vital, non-covered interferes with something-else.online latin translation

Thank you very much, I did

Thank you very much, I did not even know how to classify this problem! The fact that the machine is running inside the screen - this is big news for me!
personal statement anesthesiology

top essay writing reviews

Regularly learners attempt to keep away from article composing in their typical study course. Then again, they overlook that article composing is the most paramount some piece of the educational module. Today because of rivalry there is an elevated standard from learners. With the load of scholarly subjects, scholars regularly get inconsiderate about article written work in this circumstance top essays services are truly critical for them as they don't get enough time to consider creating a great paper composing ability.

Its really fantastic blog .

Its really fantastic blog . its realy informational and a such a good job. i love this! Smokers need an online tobacco store where you pay less and get a better choice of top quality EU brands... Hooky Street

I would like to thank you for

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.
Corporate video production Sydney

driven rollers

Supreme of prosperity for an other! We embrace deeply to the speciess of topics you indite-up under. driven rollers

I helped the first way to

I helped the first way to solve this problem! It seems to me that it is the most valid to solve this problem! Running inside the screen the number of items and other processes require a lot of attention!
paraphrasing tool

Effortlessly, the article is

Effortlessly, the article is really the best point on this registry related issue. I fit in with your decisions and will energetically anticipate your next overhauls.
home window tinting services toronto

There is visibly big money to

There is visibly big money to recognise about it. I assume people made sure great items within attributes in addition.
http://www.pasutri.biz

SRSG incorporated in 1997

SRSG incorporated in 1997 with a vision to provide the technology of Apple. SRSG is one and half decade old agile and adaptable company dealing with wide spectrum of broadcast IT and media technology products and services.
Apple authorized service center Delhi
ipad Service center in Guwahati
Apple iphone dealer in Mumbai

Ibeacons from Alibaba

When i thought to be this, along with selected that it had been something When i was required to possess. When i usually do not give careful Ibeacons from Alibaba consideration to be able to my IRC whilst Now i am active with something else, along with shun an essential chance of any dialogue that will Now i am becoming hailed throughout. (By something else, Now i am magnitude non-vital, non-covered disturbs something-else.

Cheap Hologram projection online

Cheap Hologram projection online There may be visibly lots of money to discover over it. I suppose people made sure fantastic objects in characteristics additionally.

Thanks for sharing.... Nice

Thanks for sharing.... Nice posting...

| sewa rumah harian di jogja | tiket pesawat promo

I would love to stop by. But,

I would love to stop by. But, I think it might have to wait until this summer. I did not know that Serlkay had ever expanded its size. I must say that a succesful family owned business in this day and age is a very refreshing sight! As well as this is a very refreshing site!
mi40x

Trying to say much obliged

Trying to say much obliged won't simply be sufficient, for the fantasti c clarity in your written work. I will right away snatch your rss channel to stay educated of any upgrades.
heating and airconditioning repair mclean va

In order to easily make ultra

In order to easily make ultra strong hash brownies you need them to be loaded with hash, but taste good at the same time. When making hash brownies the main ingredient and most important part is...find it out here: hash browniess. Enjoy!

This is the kind of article

This is the kind of article that I was expecting from you. There is pure boldness in the article. The kind of boldness that is hard to find in any other article. That, for me, makes this one of the best articles. I hope that you continue to deliver this quality work in the future as well. jay servidio

Took personal time to peruse

Took personal time to peruse all the remarks, yet I truly reveled in the article. It turned out to be Very useful to me and I am certain to all the commentators here! It's generally decent when you can be educated, as well as entertained!
Houston home inspectors

When looking for a place to

When looking for a place to stay it’s important to remember there is more to comfort than meets the eye. Try not to judge too quickly based on the pictures – take some time to browse and consider the features and experiences each accommodation has to offer. Always go for the best accommodation! hunter valley accommodation

http://www.oaklandreal-estate.org

You should comment on the competition comparison of the blog. You can highlight it's mind boggling. Your blog exploration/tour will broaden your conversions.
www.oaklandreal-estate.org |

Greetings I discovered your

Greetings I discovered your site by oversight when i was hunting hurray down this acne issue, I must say your site is truly useful I additionally love the outline, its astonishing!.
Tempe Electrical Contractors

I likewise profit from taking

I likewise profit from taking in the appraisals, however discover that alot of individuals should stay on article to attempt and include worth toward the real weblog discharge.
chapter 13 bankruptcy attorney texas

Keeping up a healthy

Keeping up a healthy pregnancy diet nourishment is the number 1 way to securing your tyke’s prosperity while he or she is inside your womb. With that you really need to know what to eat during pregnancy, that you may or may not eat normally, to give that extra boost of help to your body and the baby. http://healthypregnancywithoutpounds.com

nice work!!

Certainly a fantastic piece of work ... It has relevant information. Thanks for posting this. Your blog is so interesting and very informative.Thanks sharing. Definitely a great piece of work Thanks for your work. backlinks

Artemis Hospital, spread

Artemis Hospital, spread across 9 acres, is a 350 bed, state-of-the-art multi-speciality hospital located at Gurgaon, in the Capital Region, India. Artemis Hospital is the first JCI and NABH accredited hospital in Gurgaon.
Hospital in gurgaon
Liver transplant in gurgaon
Cardiology hospital in gurgaon
Best ent Hospital in gurgaon

Nice article. Really nice. I

Nice article. Really nice. I have a hunch that this is going to be a really top class article in the future. This has earned my 100% respect. I am sure after some time it will earn other's respect as well. mail order marijuana

I thought it was going to be

I thought it was going to be some exhausting old post, however it truly made up for my time. I will present a connection on this page on my web journal. I am certain my guests will find that extremely helpful.
herbalist winder

A really amazing and good

A really amazing and good site this is, for reading blogs. I have read many of your blogs over the months and I have liked each one of them very well. You give the best to us and I really wish that this will be the case in the future as well. Cheers! adult online business

Really great post, Thank you

Really great post, Thank you for sharing This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place.

You have raised a paramount

You have raised a paramount issue..thanks for sharing..i might want to peruse more present issues from this blog..keep posting..
baby toys

Trying to say much obliged

Trying to say much obliged won't simply be sufficient, for the fantasti c clarity in your written work. I will right away snatch your rss channel to stay educated of any upgrades foredi.

Took personal time to peruse

Took personal time to peruse all the remarks, yet I truly reveled in the article. It turned out to be Very useful to me and I am certain to all the commentators here! It's generally decent when you can be educated, as well as entertained!
malaysian virgin hair

Jual Al Quran Rainbow Murah

Really great post, Thank you for sharing This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place.

Jual Al Quran Rainbow

Step Up Height increaser

Step Up Height increaser helps to increase height naturally. Step up Height Increaser is a Herbal & Ayurvedic Product. Step up height growth

Fantastic process contain up

Fantastic process contain up the decorous process. Acknowledges. http://1a.co.nz/1845

http://www.mysincityhomes.com

Would gladly pay for this mod is there was voice-acting too, thats half the experience, would u ever watch a movie if u couldn’t hear what people say
mysincityhomes |

Great post and plzz thanks

Great post and plzz thanks for amazing share ....

GREAT WORK !!!! awesome post

GREAT WORK !!!! awesome post , really thanks .....

This is so beautiful and

This is so beautiful and creative. I just love the colors and whoever gets it in the mail will be smiling.
לימוזינה לחתונה

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.