This guide is for Ubuntu 9.04 Jaunty Jackalope and will show you how to stream audio from any application to your AirportExpress. PulseAudio has built in support for AirTunes/AirportExpress with version 0.9.15. Unfortunately it did not make the Jaunty release, but installing it yourself is a small task. This guide will show you how. (Guide is updated for 9.10 Karmic Koala)
Update for 9.10 Karmic Koala:
Run the following command:
sudo aptitude install pulseaudio-module-raop pavucontrol paprefs
Then follow the steps below starting at number 5.
NOTE! Make sure your Januty installation is up to date with all the latest security fixes and update packages before going any further.
The first thing that has to be done is to add a new package repository and install it’s OpenPGP key.
1. Go to System->Administration->Software Sources. Select the Third-Party Software tab and press add. Paste the following:
deb http://ppa.launchpad.net/themuso/ppa/ubuntu jaunty main
and press add source. Press close. (If you do a reload now you will get an error. Ignore it.)
2. Right click the following url, choose Save Link As, and save the file to your desktop.
3. Again go to System->Administration-Software Sources, but this time select the Authentication tab. Press Import Key File button (down to the left). Browse and select the file you just saved to your desktop and press Ok. Make sure the new key gets imported, and press close.
4. To install the new packages write the following in a terminal:
sudo aptitude update sudo aptitude install pulseaudio-module-raop pavucontrol sudo aptitude dist-upgrade
5. Go to System->Preferences->PulseAudio Preferences. Under Network Access select both “Make discoverable network sound devices available locally”, and “Make discoverable Apple Airtunes sound devices available locally”. Press Close.
7. Start Pulse Audio Volume Control (under Applications -> Sound & Video), hit the Output tab and select your AirportExpress and make it your default output device.
8. Start the application you want to stream audio from.