Some of you might not be aware Karmic comes packed with a brand new version of PulseAudio that has some pretty neat new features built in. Amongst these is support for Apple AirTunes which is a protocol that allows you to stream audio to remote devices over a network. I’ve been using it to stream music wirelessly to my slightly louder desktop sound system while chilling on the couch with my netbook. You could potentially wire up your entire house and then DJ wirelessly from the loo. Below I will show how to do just that without having to touch the terminal.
Firstly you’ll need two computers with Ubuntu 9.10 installed. Both of these need to be connected to some kind of home or office network. In my case this is my desktop PC hooked up via Ethernet and my netbook which is on the same LAN via WiFi. Once you have this kind of setup the rest is pretty simple.
Next you need to install PulseAudio Device Chooser on both machines. The easiest way to do this is to open up Ubuntu Software Center which is under the applications menu. Start typing “pulseaudio device chooser” into the search box and it will pop up. Once installed, launch PulseAudio Device Chooser which is now under the Sound & Video section in the Applications menu. This wont bring up a new window but will add a new icon to the notification area at the top of your screen.
Now, on the machine with the nicest speakers attached to it do the following. Click on the icon in the notification area that looks like a headphone jack. This brings up a menu. Select “Configure Local Sound Server…”. In the new window that will pop up go to the “Network Server” tab and tick the boxes as shown below:

Do the same on the machine that you want to play audio from but instead of going to the “Network Server” tab, select the “Network Access” tab and tick the boxes like so:

All that remains now is to set the machine you want to stream audio from to use the remote computer’s speakers instead of it’s own. Again, bring up the device chooser menu by clicking on the headphone jack icon. At the top of the menu you will see a submenu titled “Default Server”. This is where you should now see your remote system listed right at the top and should look something like “joe@hostname”. Click it and you are done. All audio played will now be blaring through the other computers sound system.

Edit: Apparently AirTunes has nothing to do with what I’m explaining here.