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. Edit (04-03-2011): As some has pointed out, you need to input your username in lowercase. ...

February 12, 2010 · 1 min · alj

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 alert you when you are not looking at the terminal. I have looked at many implementations for libnotify (default in Ubuntu), Mumbles (Growl for Linux) and Dzen. ...

February 6, 2010 · 3 min · alj

Ubuntu: Fixing Java in Firefox 3.6

If you have installed Firefox 3.6, 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

January 28, 2010 · 1 min · alj

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 DROP it’s as simple as that. Remember to reload all the rules: $ sudo ufw reload

January 24, 2010 · 1 min · alj

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 want them to. Today I stumbled across Twirssi, a script for irssi to interact with Twitter. Out of the box twirssi expects input to be UTF-8 which caused some grief because my terminal is ISO-8859-15. ...

December 25, 2009 · 2 min · alj

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 article 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.

December 23, 2009 · 1 min · alj

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 to write down how I made backup and bare-metal restore using rdiff-backup work for my own future reference; and what better place to write it down than in my own blog :) ...

October 16, 2009 · 4 min · alj

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 /var/lib/locales/supported.d/local like so en_DK ISO-8859-15 regenerate locates $ sudo locale-gen --purge The next step is to change the locale globally ...

October 8, 2009 · 1 min · alj

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

Background In the past I have written a couple of articles on how to run Windows applications using SeamlessRDP and Sun xVM (Virtualbox) and [Linux KVM](http://www.linux-kvm.org/page/Main_Page Linux KVM) (Kernel-based Virtual Machine). After reviewing both articles I have decided to write a new article encompassing both hypervisors and correcting some of the mistakes I have found as well improvements made by a couple of guys who have done quite a deal of testing: Thomas Hansson and Peter Clarén. ...

October 3, 2009 · 12 min · alj

XFCE: Unable to perform shutdown

At some point during the Jaunty test cycle shutting down and rebooting the machine stopped working with the Action Buttons menu applet – It would fail with the message “Unable to perform shutdown” and some HAL-related messages. While annoying I didn’t put any real effort into solving the problem, until today. I didn’t have to look long though as the answer was in the Arch Linux forum. Open the file /etc/PolicyKit/PolicyKit.conf and add these lines ...

May 5, 2009 · 1 min · alj