Skip to content
Archive of posts filed under the Ubuntu category.

Irssi notifications using Desktop Notifications and Minivan

I was pretty happy with solution to get notifications from Irssi though it had some shortcomings.
A couple of days ago a colleague made me aware of a Perl modules written by another colleague (Anton Berezin) called IPC::Message::Minivan which, it turns out, is perfect for my notification script. Basing the notifications on Minivan combine the [...]

Facebook Chat in bitlbee

Facebook now supports XMPP. Yay.
Using Facebook Chat in bitlbee is pretty straight forward (I am running 1.2.4, older versions of bitlbee require a bit more tweaking, consult the manual).
For Facebook Chat through XMPP to work you need to set a Facebook username.
In the &bitlbee channel
account add jabber <username>@chat.facebook.com> <Facebook password>
account on
that’s it.
Facebook users are [...]

Yet another way to get Irssi notifications on your Linux desktop

For a better solution, see this article – I am keeping this post online because it makes it possible to implement distributed notifications with Perl modules included in the Ubuntu repositories.
One of the things lacking (in my opinion at least) when using Irssi and GNU Screen is the lack of a way for Irssi to [...]

Ubuntu: Fixing Java in Firefox 3.6

If you have installed Firefox 3.6 (for instance from the Ubuntu Mozilla Daily Build Team PPA) you will discover that Java is no longer working
For i386 (32 bit Ubuntu):
$ sudo update-alternatives –install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so 50
For amd64 (64 bit Ubuntu):
$ sudo update-alternatives –install /usr/lib/mozilla/plugins/libjavaplugin.so mozilla-javaplugin.so /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so 50

UFW: Blocking outgoing connections

Note: This is known to work for a machine acting as masquerading firewall for an entire network.
I wanted to block connections to certain outbound ports. After some trial and errors I found something that works
Add the following to /etc/ufw/before.rules:
-A ufw-before-forward -s <SOURCE IP> ! -d <LOCAL NET>/24 -p tcp -m tcp –dport <DEST PORT> -j [...]

Using ISO-8859-15 encoding with Twirssi

Since I run irssi all the time, packing as many features into it as possible seems like a nice idea.
So I use bitlbee to connect to Messenger, Google Talk/Jabber and ICQ and I have been using tircd (Twitter/irc gateway) and tweet.im (Twitter/Google Talk gateway) to connect to Twitter; but none of them works like I [...]

AT&T Global Network Client on Ubuntu article updated

It’s been a while since I last looked at my AT&T Global Network Client on Ubuntu article (primarily because I never actually used the application when I worked at IBM).
Anyway, at some point AT&T reorganized their FTP server, breaking the download link – The rest of the article is still valid.

Backup and bare-metal restore with rdiff-backup

I know there are lots of different backup tools for Linux and that many people recommend Mondo Rescue but I have never been able to make it work properly (my last attempt resulted in 8 DVD images totaling 31 GB – The source of the backup was 140GB), no doubt my own fault.
So I decided [...]

Setting the correct locale in Karmic

I want to use ISO-8859-15 instead of UTF-8 because I use IRC a lot.
For some reason the tip I posted a long time ago does not work in Ubuntu Karmic Koala (the trick was to add the correct locale and then selecting it from GDM).
This seems to do the trick. After adding your locale to [...]

Running Windows applications natively and seamlessly on Linux with SeamlessRDP and Virtualbox or KVM

This guide will go through how to install Virtualbox or kvm and running applications inside a virtual Windows XP machine and display them seamlessly on your X-based desktop.