XMMS: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (template fix.)
 
(10 intermediate revisions by 6 users not shown)
Line 2: Line 2:
{{Linux software}}
{{Linux software}}
{{RightTOC}}
{{RightTOC}}
XMMS is a simple media player for X based systems. It stands for X Multimedia System. It is a pretty lightweight GTK+ player.
XMMS is a simple media player for X based systems. It stands for X Multimedia System. It is a pretty lightweight [http://en.wikipedia.org/wiki/GTK%2B GTK+] media player.


XMMS is pretty easy to get ging on the XO. Here is how:
XMMS is pretty easy to get ging on the XO. Here is how:
Line 8: Line 8:
== Installation ==
== Installation ==


open the [[terminal activity]] and type
Switch over to a VT console ([[CTRL]] + [[ALT]] + Mesh)

Then type


yum install xmms
yum install xmms
Line 16: Line 14:
It will ask if you want to download ~15 mb, hit '''y''' and <enter> and wait a few moments.
It will ask if you want to download ~15 mb, hit '''y''' and <enter> and wait a few moments.


Now in the terminal activity you can launch XMMS by simply entering the command:
== Launching ==

If you try to launch XMMS from the VT console it will freak-out about not being able to launch a GUI. Don't worry about it.


xmms
Jump back over to Sugar ([[CTRL]] + [[ALT]] + [[Home]]). Then launch the [[terminal activity]]. Now in the terminal activity you can launch:


=== Automatic Launch ===
[olpc@xo-03-19-79 ~]$ xmms
You can also check out the [[ExecCommand]] activity. XMMS can be started directly from it without starting a terminal. Furthermore, the ExecCommand activity can be customized to directly launch XMMS.


You can also check out the [[ExecCommand]] activity. XMMS can be started directly from it without starting a terminal. Furthermore, the ExecCommand activity can be customized to directly launch XMMS. Downloading [http://jtolds.googlepages.com/Xmms.xo Xmms.xo] (modified ExecCommand) will launch XMMS from the activity list for you.
Downloading [http://jtolds.googlepages.com/Xmms.xo Xmms.xo] (modified ExecCommand) will launch XMMS from the activity list for you. However, you'll get a new "TamTam" (drum) icon. Could someone create a new one?


== Using XMMS ==
== Using XMMS ==


XMMS is going to look TINY on the XO's 200dpi screen. So the first thing to do is switch to Double size (CTRL + D). Play with whatever settings with the Preferences (CTRL + P) and EQ (ALT + G) that you like.
XMMS is going to look tiny on the XO's 200dpi screen. So the first thing to do is switch to Double size (CTRL + D). Play with whatever settings with the Preferences (CTRL + P) and EQ (ALT + G) that you like.


== Loading files ==
== Loading files ==


The playlist (ALT + E) is still pretty small, so you're gonna just have trust me for what the menu say. If you click the button that says '''+ FILE''' (leftmost) you can load one or more files into the playlist.
The playlist (ALT + E) is still pretty small. If you click the button that says '''+ FILE''' (leftmost) you can load one or more files into the playlist.


At this point I suggest you load up some [[ogg]] files onto a thumb drive. They are easy to get to, and plenty fast.
At this point I suggest you load up some [[ogg]] files onto a thumb drive. They are easy to get to, and plenty fast. There are plenty of free, public domain .ogg formatted audiobook and music files at [archive.org] for your listening pleasure. To play mp3s you'll have to enable mp3 support as described below

'''Note that I said ogg. I suggest some audiobooks from [archive.org] for your listening pleasure. I happen to like Tryad's album Public Domain. But just get something ogg... or enable mp3 support at the bottom of the article.'''


Drag the player window out of the way so you can navigate the file system. '''../''' means go up a level in the folders. Click on that a few times until you can't go any further. It should say something like:
Drag the player window out of the way so you can navigate the file system. '''../''' means go up a level in the folders. Click on that a few times until you can't go any further. It should say something like:
Line 47: Line 42:
... and so on ...
... and so on ...


Go into the [[media/]] folder to access USB drives or SD cards. Go in to that folder and find the list of songs you want to listen to. You can select multiple files by pressing CTRL or use the '''Add all files in directory''' button.
Go into the [[media/]] folder.

Now the media folder should have as many entries as usb drives or sd cards you have plugged in. Probably only the one usb drive that you have plugged in, Go in to that folder and find the list of songs you want to listen to. You can select multiple files by pressing CTRL or use the '''Add all files in directory''' button.


Then just click play to start listening!
Then just click play to start listening!



== Using XMMS while doing other things ==
== Using XMMS while doing other things ==
Line 61: Line 53:


This window fits in the blank space of many activities top bar nicely. To make it even smaller you can take off the Double size mode from before. (CTRL + D)
This window fits in the blank space of many activities top bar nicely. To make it even smaller you can take off the Double size mode from before. (CTRL + D)



== Final notes ==
== Final notes ==
Line 77: Line 68:
=== Adding [[mp3]] and [[aac]] Support ===
=== Adding [[mp3]] and [[aac]] Support ===


If you also want [[mp3]] and [[aac]] support, import the [[Livna]] repository package (as described on [[MPlayer#Installation|MPlayer]]) and type:
If you also want [[mp3]] and [[aac]] support, you need to follow these steps:


'''As of [http://rpm.livna.org/rlowiki/ 2008-11-03], "rpm.livna.org merged into [http://rpmfusion.org RPM Fusion]", so these commands are obsolete.

* import the Livna public key
* install the Livna repository package
* perform an update of the package database: <code># yum update</code>


The commands you need to execute to import the [[Livna]] repository packages are:
(This was originally described on [[MPlayer#Installation|MPlayer]])

su
rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
rpm -i http://rpm.livna.org/livna-release-9.rpm
yum install xmms-mp3 xmms-aac
yum install xmms-mp3 xmms-aac



==== On builds before 8.2 ====
''Before release [[8.2.0]] 750 or earlier, builds were based on 'Fedora release-7' not release-9. So you would need a slightly different command.''

su
rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
rpm -i http://rpm.livna.org/livna-release-7.rpm
yum install xmms-mp3 xmms-aac


=== A few extras ===
=== A few extras ===
Line 99: Line 111:
'''CTRL+P''' Preferences
'''CTRL+P''' Preferences


== See also ==
[[Category:Media Player]]
* http://en.wikipedia.org/wiki/XMMS
* http://www.xmms.org/

[[Category:Music]]
[[Category:Music]]



Latest revision as of 21:51, 26 October 2009


Pencil.png NOTE: The contents of this page are not set in stone, and are subject to change!

This page is a draft in active flux ...
Please leave suggestions on the talk page.

Pencil.png
This command is run in the standard Linux environment via the Terminal Activity. The GUI will probably not integrate comfortably with the XO Laptop's Sugar environment. Your user experience may vary considerably depending on the established environment and the other programs running on the laptop, may need re-installation after an OS Update. See the Linux software category for other commands.

XMMS is a simple media player for X based systems. It stands for X Multimedia System. It is a pretty lightweight GTK+ media player.

XMMS is pretty easy to get ging on the XO. Here is how:

Installation

open the terminal activity and type

yum install xmms

It will ask if you want to download ~15 mb, hit y and <enter> and wait a few moments.

Now in the terminal activity you can launch XMMS by simply entering the command:

xmms

Automatic Launch

You can also check out the ExecCommand activity. XMMS can be started directly from it without starting a terminal. Furthermore, the ExecCommand activity can be customized to directly launch XMMS.

Downloading Xmms.xo (modified ExecCommand) will launch XMMS from the activity list for you. However, you'll get a new "TamTam" (drum) icon. Could someone create a new one?

Using XMMS

XMMS is going to look tiny on the XO's 200dpi screen. So the first thing to do is switch to Double size (CTRL + D). Play with whatever settings with the Preferences (CTRL + P) and EQ (ALT + G) that you like.

Loading files

The playlist (ALT + E) is still pretty small. If you click the button that says + FILE (leftmost) you can load one or more files into the playlist.

At this point I suggest you load up some ogg files onto a thumb drive. They are easy to get to, and plenty fast. There are plenty of free, public domain .ogg formatted audiobook and music files at [archive.org] for your listening pleasure. To play mp3s you'll have to enable mp3 support as described below

Drag the player window out of the way so you can navigate the file system. ../ means go up a level in the folders. Click on that a few times until you can't go any further. It should say something like:

./
../
activities/
bin/
boot/
... and so on ...

Go into the media/ folder to access USB drives or SD cards. Go in to that folder and find the list of songs you want to listen to. You can select multiple files by pressing CTRL or use the Add all files in directory button.

Then just click play to start listening!

Using XMMS while doing other things

Ok so now you have XMMS floating on your screen and playing music. So now how do you do something else too? Easy!

XMMS has a windowshade mode that makes it pretty darn small. (CTRL + W)

This window fits in the blank space of many activities top bar nicely. To make it even smaller you can take off the Double size mode from before. (CTRL + D)

Final notes

Restoring the Tiny Window

Once you have XMMS running small all you have to do to bring it back up would be to:

  1. Click on it to focus on it
  2. Double size it (CTRL + D)
  3. Open up the full window, un-window shade (CTRL + W)
  4. Open the playlist if you need to (ALT + E)

Adding mp3 and aac Support

If you also want mp3 and aac support, you need to follow these steps:

As of 2008-11-03, "rpm.livna.org merged into RPM Fusion", so these commands are obsolete.

  • import the Livna public key
  • install the Livna repository package
  • perform an update of the package database: # yum update


The commands you need to execute to import the Livna repository packages are: (This was originally described on MPlayer)

su 
rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
rpm -i http://rpm.livna.org/livna-release-9.rpm
yum install xmms-mp3 xmms-aac


On builds before 8.2

Before release 8.2.0 750 or earlier, builds were based on 'Fedora release-7' not release-9. So you would need a slightly different command.

su 
rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
rpm -i http://rpm.livna.org/livna-release-7.rpm
yum install xmms-mp3 xmms-aac

A few extras

A few other shortcuts that are handy are:

R Repeat
S Shuffle
Shift+CTRL+W to windowshade the playlist
ALT+G to open the EQ
Z Previous
X Play
C Pause
V Stop
B Next
CTRL+P Preferences

See also