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


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


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!


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


beba's picture

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


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?

One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix