特殊:Badtitle/NS100:XMMS

来自Ubuntu中文
Wikibot留言 | 贡献2008年10月19日 (日) 18:22的版本
跳到导航跳到搜索

{{#ifexist: :XMMS/zh | | {{#ifexist: XMMS/zh | | {{#ifeq: {{#titleparts:XMMS|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:XMMS|1|-1|}} | zh | | }}

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 UbuntuHelp: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.

Installing

You can install XMMS using any package management program.

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