|NOTE: The contents of this page are not set in stone, and are subject to change!
This page is a draft in active flux ...
|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:
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:
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?
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.
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)
Restoring the Tiny Window
Once you have XMMS running small all you have to do to bring it back up would be to:
- Click on it to focus on it
- Double size it (CTRL + D)
- Open up the full window, un-window shade (CTRL + W)
- Open the playlist if you need to (ALT + E)
- import the Livna public key
- install the Livna repository package
- perform an update of the package database:
# yum update
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