个人工具

“UbuntuHelp:XMMS”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:XMMS}}
 
{{Languages|UbuntuHelp:XMMS}}
 
== About XMMS ==
 
== 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.
 
''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''.
 
'''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 ===
 
=== Installing ===
 
 
You can install ''XMMS'' using any package management program.
 
You can install ''XMMS'' using any package management program.
 
 
=== Getting WMA-support ===
 
=== Getting WMA-support ===
 
 
In order to get WMA-support you need to install xmms-wma.
 
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 Feisty 7.04 you can find xmms-wma in the Universe Repository.
 
* For previous versions of Ubuntu you need to download xmms-wma from [http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb xmms-wma].
 
* For previous versions of Ubuntu you need to download xmms-wma from [http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb xmms-wma].
 
 
=== Associate With Media Files ===
 
=== 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.
 
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:
 
Alternatively you can edit the system's file association configuration files with these commands:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list_backup
 
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 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\/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-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 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 mv /tmp/defaults.list /usr/share/applications/defaults.list
 
 
sudo rm -f /tmp/defaults.*
 
sudo rm -f /tmp/defaults.*
 
</nowiki></pre>
 
</nowiki></pre>
 
 
To open ''XMMS'' go to  '''Applications -> Sound and Video -> XMMS'''
 
To open ''XMMS'' go to  '''Applications -> Sound and Video -> XMMS'''
 
 
----
 
----
 
[[category:CategoryDocumentation]]
 
[[category:CategoryDocumentation]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 22:36的版本

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