个人工具

UbuntuHelp:XMMS

来自Ubuntu中文

跳转至: 导航, 搜索

About XMMS

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 Audacious or BeepMediaPlayer which is a fork of XMMS using GTK2 - meaning that its menus and dialogs integrate with your system's themes better than XMMS's.

Installing

You can install XMMS using any package management program. You need to use this repository for Intrepid Seems that xmms was removed from official repository from hardy version.

Getting WMA-support

In order to get WMA-support you need to install xmms-wma.

  • For Feisty 7.04 you can find xmms-wma in the Universe Repository.
  • For previous versions of Ubuntu you need to download xmms-wma from xmms-wma.

Associate With Media Files

To associate XMMS with any file type you need to right click on that file type you want to associate with XMMS and select properties. Then 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.*

To open XMMS go to Applications -> Sound and Video -> XMMS