Skip directly to content

notify-send

Gmail notification

on Fri, 2010-08-06 18:53

Gmail notify in action.

In my last blog I wrote how to use notify-send to make a balloon notification from the command line. The reason I researched that subject, was that I wanted to make a Bash-script that runs on cron to notify me of any emails on my Gmail and Google Apps accounts. There are of course several such applications already. But it wanted to do it myself as an excuse to play with Google's mail feed, which I recently became aware of. In this blog post, I will explain how you can make such script yourself.

Pop-up notification from the command line

on Sat, 2010-07-31 01:40

If you are running Ubuntu on your desktop, you certainly have seen the ephemeral balloons that pop-up with notifications. These are designed to make you aware of something, e.g. that you have email, without interrupting your work with a window that you must close.

These balloons, also called bubbles, are shown by a notification daemon, that receives messages from other programs, queue them and presents them in a overlay for a short period of time. On Ubuntu (from 9.04) the notification daemon is called Notify OSD.

Many GUI programs use this desktop notification service to provide unobtrusive information about progress, events and such things. Wouldn't it be nice if you could send such messages from your own Bash scripts? Well, you can with notify-send.