Skip directly to content

linux

OpenOffice reverse caps lock

on Fri, 2010-08-06 23:33

Sometimes the function of my Caps Lock-key is inverted. I get lowercase characters when caps lock is on, and uppercase characters when caps lock is off. Every time this happens, I have to spend a good amount of time to search for the solution, which I have forgot since last time it happened. So to save myself this trouble next time, I write this blog post as a not to myself. Hopefully, someone more find it valuable.

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 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 tunnel CVS over SSH

on Sun, 2009-02-08 01:54

This mini-HOWTO explains how to tunnel CVS by port forwarding with OpenSSH.

Pages