Skip directly to content

howto

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.

How to install the most current stable version of Git on Ubuntu

on Thu, 2010-07-29 02:23

The easiest way to install the version control system Git on Ubuntu is of course to do apt-get install git-core. But that will not give you the most current stable version of Git.

Usually, that wouldn’t matter to me. I prefer the stability of Ubuntu’s official repositories, instead of having the latest version of every software. But with Git it is different.

How to use Sed together with UTF-8

on Tue, 2010-07-27 01:56

One of the eldest Unix utilities is the stream editor Sed. It was born 1973, and is still going strong. If you haven't yet made its acquaintance, I highly recommend that you read Bruce Barnett's Sed -- An Introduction and Tutorial. I use the GNU version of Sed almost everyday.

There is just one problem with Sed. It sometimes get confused by character encoding, in particular UTF-8 and ISO-8859-1

How to install Git from source on Ubuntu

on Fri, 2009-01-16 15:14

UPDATE: There is an easier and better way to do this. See How to install the most current stable version of Git on Ubuntu.

This mini-HOWTO explains how to install Git from source on Ubuntu. Git is a free Version Control System (VCS) which is distributed.

Pages