About
XMMS is lightweight music player similar to Winamp (in fact, it used to be called "X11Amp"!) and it can even use WinAmp skins.
NOTE: You may want to check out ["BeepMediaPlayer"] which is a fork of XMMS using GTK2 - meaning that it's menus and dialogs integrate with your system's themes better than XMMS's.
This should work with Breezy, Hoary and Dapper versions of Ubuntu. You may need to add the Universe and Multiverse package repositories. See: ["AddingRepositoriesHowto"].
Installing
You can add XMMS using any package management program, like Applications -> Add/Remove (look under Sound & Video then tick the box next to XMMS)
Alternatively you can run the command:
sudo apt-get install xmms
To do the same thing.
Getting WMA-support
A mirror can be found here http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb
Download [http://frankandjacq.com/ubuntuguide/xmms-wma_1.0.4-2_i386.deb this file] and run it with GDebi (usually just double-click on it), -it doesn't work at this time-
To do this from a command line you can run:
wget -c http://frankandjacq.com/ubuntuguide/xmms-wma_1.0.4-2_i386.deb sudo dpkg -i xmms-wma_1.0.4-2_i386.deb
Associate With Media Files
You can right click on a filetype you want to associate with XMMS and go on it's Properties. In there select Open With and select the radio button next to XMMS. If it is not there then use Add and select it.
Alternatively you can edit the system's file association configuration files with these commands:
sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list_backup sudo cp /usr/share/applications/defaults.list /tmp/defaults.list_tmp sudo sed -e 's/audio\/mpeg=.*/audio\/mpeg=XMMS.desktop/g' /tmp/defaults.list_tmp > /tmp/defaults.mp3 sudo sed -e 's/audio\/x-mpegurl=.*/audio\/x-mpegurl=XMMS.desktop/g' /tmp/defaults.mp3 > /tmp/defaults.m3u sudo sed -e 's/audio\/x-wav=.*/audio\/x-wav=XMMS.desktop/g' /tmp/defaults.m3u > /tmp/defaults.list sudo mv /tmp/defaults.list /usr/share/applications/defaults.list sudo rm -f /tmp/defaults.*
Thats it. Have a look at Applications -> Sound and Video -> XMMS
Comments
Do we really need this page? Rhythmbox and Totem along with all the gstreamer plugins and w32codecs pretty much satisfy media playing requirements. - OnkarShinde
- Why have Kubuntu and Xubuntu when Ubuntu works? It is about choice, and I use Totem, Amarok, Listen and XMMS for media playing, depending on my needs at the time. The WMA bit is very useful, although I was a bit dubious of the CLI nature of this page, so I GUIfied it