Skip to content
Archive of posts tagged Ubuntu

FUSE coolness with mhddfs

Let’s say you have three disks but you wish to share with Samba or NFS clients. Of course you could just mount the disks on three separate mount points and export those. Or you could mount the three disks on three mount points inside the same directory and export the parent directory. The problem with [...]

Tip: Fixing character encoding in Terminator 0.14 (Ubuntu 10.04)

I’ve been using the excellent terminal emulator Terminator for a long time. Terminator sports (among other things) split screen hand “cluster support” (grouping of screens, making it possible to type the same thing in all terminals). In previous versions of Ubuntu (Terminator versions prior to 0.14) Terminator would pick all settings from GNOME Terminal, including [...]

Tip: Moving the titlebar buttons back where they belong in Ubuntu 10.04

I’m not going to dwell on the subject – The Ubuntu Design team (and in the end Mark Shuttleworth) decided to change the titlebar button layout as part of the new Light GNOME theme (which is a really nice theme); for more information read this article Being the good Ubuntu fanboy that I am, I [...]

Tip: How to fix the ATI driver when upgrading Ubuntu 9.10 to 10.04

I decided to upgrade my laptop to 10.04 beta 1. When the update was done (something I had to do at home because the damn Update Manager does not work with proxies, at least not when running it manually) I was left without a working Xorg configuration, apparently because the fglrx (non-free) ATI driver did [...]

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

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

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

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