Ubuntu 6.06 Multimedia How-To's


Objective.
This page lists some general how-to's for anyone new to Ubuntu 6.06 (Dapper Drake) trying to install various multimedia options. This guide covers individual package installations but the easiest way to obtain the software listed here is with Automatix. For more details see http://www.getautomatix.com

Tasks.
Install Realplayer.
Install XineUI with DVD playback.

Recommendations.
Review all instructions on this page before you begin.

Page dependencies (ensure you have access to everything you need before you begin).
Commands issued at the command prompt in this section are done so as superuser or root unless otherwise specified. When installed, Dapper does not ask for a root password to be specified. Either set a root password using sudo passwd root so that you can log in as superuser, or enter the commands listed in this guide prefixed with 'sudo'.
RealPlayer requires a download from www.real.com
For DVD playback, download the three libdvdcss packages from http://download.videolan.org/pub/libdvdcss/1.2.9/rpm/
'Make' will be used to install software. By default Make is not available in Dapper so ensure you have an internet connection and execute the command sudo apt-get install gcc g++ make to install.
'Alien' will be used to install RPM packages as there is no 'rpm' command in Dapper. Install this first with apt-get install alien

Text file editing from the command line.
This guide uses the Nano application for text editing because of its simplicity. Alternative text editors are available. Basic Nano key combinations to remember are CTRL-O to save and CTRL-X to exit.

Page format.
Text in this format indicates command line entry by the user.
Text in this format indicates an error returned by the system.
Text in this format indicates a normal return from the system.
Beware of similar characters such as 1(one), l(lowercase L), 0(zero), O(uppercase 'o'), | (pipe – Shift ' \ ' usually).
Text enclosed in [square brackets] indicates a build-specific variable such as a version number or user name.

Conditions.
This page was written for Ubuntu 6.06 and may contain content or instructions that are not relevant to other distributions.
This information is provided for guidance only. Use of these instructions is deemed to be at your own risk.
R3UK Limited welcomes comment on this information but cannot guarantee a reply and provides no technical support. Please use one of the many dedicated Linux forums or IRC channels if you require assistance.
Text colours and fonts used in the formatting of this page relating to command input and output are used for illustration purposes. Actual command line colours and fonts will vary according to individual system preferences.
GUI instructions were written for the Gnome 2.14 desktop environment and may differ for other desktop environments.

Procedure.
This page lists some general how-to's for anyone new to Ubuntu 6.06 (Dapper Drake) trying to install various multimedia options.

---------

How to install RealPlayer.
I don't use this much but I do like to catch the odd show off Radio 1 via the Internet. There is a Linux version of RealPlayer available from www.real.com so that's where to start. Download the .bin file to your desktop and make it executable (using chmod a+x RealPlayer10GOLD.bin from the command line). The ls -l command will confirm if the changes have taken effect.

Run the installer with ./RealPlayer10GOLD.bin and follow the prompts (although change the installation path to /usr/bin to avoid any errors later stating "Could not find an appropriate hxplay or realplay in the system path to use as an embedded player)".

Restart Firefox. From the FireFox address bar type in about:plugins and the RealPlayer plugin should be listed as enabled. It should now be ready for use.

One quick note, I've been having trouble with audio in Dapper which prevents audio streaming or DVD audio playback via Xine (I get an error in Xine informing me the audio device is in use by another application). The command killall esd seems to clear out the problem.

Also, if music is your game, I recommend using Automatix to install StreamTuner. This nifty app has a bunch of internet radio stations to cater for all tastes (and you can record the tracks as MP3's while listening to them - not that you should break any copyright laws or anything). You can install Streamtuner and the Xmms player it requires from Synaptic.

---------

How to play DVD movies.
The multimedia player included with Ubuntu won't play DVD's. While this can be rectified, this guide explains installation of an alternative player, namely the Xine-UI front-end to Xine.

First things first...
Use Synaptics to install the GTK and GTK2 packages.
Use Synaptics to remove totem and totem gstreamer
Use Synaptics to install libxine-dev.

Download Xine-lib and Xine-UI from www.xinehq.de and use the GUI to extract to Desktop

From the command prompt, install Xine-lib…
cd /home/[username]/Desktop/Xine-lib-[version]
./configure
make
make install
ldconfig

… and install Xine-ui…
cd /home/[username]/Desktop/xine-ui-[version]
./configure
make
make install

Download the three libdvdcss RPM's (see Page Dependencies) to your desktop. Use Alien to unpackage each RPM and dpkg to install...

alien –k libdvdcss-[version].src.rpm
dpkg –i libdvdcss_[version]_i386.deb
alien –k libdvdcss2-[version].i386.rpm
dpkg –i libdvdcss2_[version]_i386.deb
alien –k libdvdcss2-devel-[version].i386.rpm
dpkg –i libdvdcss2-devel_[version]_i386.deb

Xine-UI can be started by entering xine from the command prompt.

One quick note, I've been having trouble with audio in Dapper which prevents audio streaming or DVD audio playback via Xine (I get an error in Xine informing me the audio device is in use by another application). The command killall esd seems to clear out the problem.


Did the information on this page help you? If so, please help to fund this site by clicking one of our sponsored ads...