Non-Linux FOSS: libnotify, OS X Style

One of the things I dislike about using Irssi in a terminal window on OS X is that I often miss the screen flash when someone mentions my name in IRC. With some fancy SSH tunneling (maybe more on that some other issue) and a really cool pop-up notification tool, if someone mentions my name, I can't miss it.

terminal-notifier is a command-line tool for creating OS X-native user notifications. It doesn't rewrite the concept of pop-ups; instead, it gives us nerds a way to add pop-ups to scripts (Figure 1). Because it uses the native notification system, it's easy to modify what sort of pop-up appears. I prefer the kind that doesn't go away until dismissed, but you can change that in the notification settings in OS X's preferences.

Figure 1. A quick command-line-ninja move creates a pop-up.

If you like pop-up notifications like libnotify, but find yourself on a Macintosh machine more often than not, terminal-notifier might be as useful for you as it is for me at my day job. Plus, now you know that if you mention my name in IRC during the workday, you'll make a window pop up on my screen! Get it at https://github.com/alloy/terminal-notifier.

______________________

Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter

Comments

Comment viewing options

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

It's a great pleasure reading

Annabelleclara's picture

It's a great pleasure reading your post.It's full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work!
http://www.ScarfsMall.com/

Technology

Rahul Pandya 's picture

the Article is a very amazing. it has a wonderful and great post, the linux operating system is a very simple

yea

beba's picture

But after all i found from your site. thanks for posting such a interesting topic.

info

Anonymous's picture

How 2 Seo Backlink These facts are amazing . I was searching for at least 5 weaks and i didn't get the perfect answer. But after all i found from your site. thanks for posting such a interesting topic.

notifier shortcomings

Roland's picture

Current mini-apps like notify-send have no options at all. No control of colors, fonts, placement, NUTHIN! I have been using zenity for notifiers from shell scripts, but it doesn't recognize -geometry, requiring me to jump thru hoops with wmctrl. This 'terminal-notifier' isn't in the Deb repos, how flexible is it?

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Webcast
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot