XMMS

From OLPC

Revision as of 21:51, 26 October 2009 by 200.2.130.15 (Talk)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.

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.

Contents

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


Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
Projects
OLPC wiki
Toolbox