Skip to content
Archive of posts tagged Ubuntu

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 [...]

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 [...]

Running Windows applications on Linux with KVM and SeamlessRDP

Please go to the updated article.
Since I wrote the post about running Windows applications on Linux with Sun xVM VirtualBox and SeamlessRDP I have been using the system almost daily to run some applications needed at work. It has been running well except for crashes in VirtualBox from time to time. Two new releases of [...]

Using hdapsd in Ubunty (Jaunty Jackalope)

One of the cool features in a Thinkpad is HDAPS or IBM Active Protection System as it’s called.
The system consist of two parts. The driver that enables reading the acceleration data and some sort of userspace software that does the actual parking of the harddrive heads, usually hdapsd.
The hdaps driver is part of the kernel [...]

GMailFS in Ubuntu Gutsy

Gmail Filesystem provides a mountable Linux filesystem which uses your Gmail account as its storage medium. Gmail Filesystem is a Python application and uses the FUSE userland filesystem infrastructure to help provide the filesystem, and libgmail to communicate with Gmail.

There is a problem with gmailfs in Gutsy or rather libgmail
$ sudo mount.gmailfs none /gmailfs
HTTP Error [...]