个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{From|https://help.ubuntu.com/community/XMMS}} {{Languages|php5}} == About == XMMS is lightweight music player similar to Winamp (in fact, it used to be called "X11Amp"!) and it can even...)
 
第16行: 第16行:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install xmms
 
sudo apt-get install xmms
</nowiki></code>
+
</nowiki></pre>
 
To do the same thing.
 
To do the same thing.
  
第29行: 第29行:
 
wget -c http://frankandjacq.com/ubuntuguide/xmms-wma_1.0.4-2_i386.deb
 
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
 
sudo dpkg -i xmms-wma_1.0.4-2_i386.deb
</nowiki></code>
+
</nowiki></pre>
  
 
== Associate With Media Files ==
 
== Associate With Media Files ==
第50行: 第50行:
  
 
sudo rm -f /tmp/defaults.*
 
sudo rm -f /tmp/defaults.*
</nowiki></code>
+
</nowiki></pre>
  
 
Thats it. Have a look at Applications -> Sound and Video -> XMMS
 
Thats it. Have a look at Applications -> Sound and Video -> XMMS

2007年5月13日 (日) 12:54的版本

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

This should work with Breezy, Hoary and Dapper versions of Ubuntu. You may need to add the Universe and Multiverse package repositories. See: UbuntuHelp: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 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


CategoryCleanup CategoryDocumentation