LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-28-2006, 04:36 PM   #16
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Talking


THANKS 'mANISH'!
 
Old 05-28-2006, 05:42 PM   #17
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Quote:
Originally Posted by randell6564
THANKS 'mANISH'!
It's my pleasure. Enjoy
 
Old 05-28-2006, 05:57 PM   #18
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by manishsingh4u
I have installed XMMS on Debian 3.1 r1, Ubuntu 6.06 - Flight 6 (Dapper Drake), K/Ubuntu 5.10 using the same
Code: apt-get install xmms
and it plays mp3 without any further apt-gets or anything.
My information comes from: http://easylinux.info/wiki/Ubuntu#Ho...yer_.28XMMS.29
Quote:
How to install Multimedia Player (XMMS)

* Read #General Notes
* Read #How to add extra repositories
* Read #How to install Multimedia Codecs

sudo apt-get install xmms
sudo apt-get install xmms-skins
wget -c http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb
sudo dpkg -i xmms-wma_1.0.4-2_i386.deb

* Associate XMMS to play MP3/M3U/WAV files

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

* Read #How to refresh GNOME panel
* Read #How to refresh GNOME desktop
* Applications -> Sound & Video -> XMMS
... this to install xmms with mp3 playback under Ubuntu 5.10 (Breezy Badger). I am running Dapper Drake - Installing XMMS from the standard repo using "apt-get install xmms" just today did indeed allow me to play mp3s right away. OTOH: the mp3codecs are already installed...

Possibly this is the reason why xmms is no longer included in the default install.

Notice the bit about adding the repositories? That is the main reason your original instruction would not work - for the same reason apt-get install mp32ogg didn't work ... the extra repos weren't installed in the OPs system.

Notice the bit about adding the multimedia codecs packages: this suggests that the wiki page authors (and all those that viewed it since) find that mp3 playback is not available by default. Could it be that you had already installed the codecs packages before you installed xmms? Just like you had installed the extra repositories?

This is probably important to verify, since it would be cause to edit the wiki page... and we don't want to get this wrong.

So: I have set up Ubuntu Dapper Drake on a test box, nothing else done. Following your post I find, indeed, that I need to enable the extra repos first. So I do so - xmms installs happily along with four extra libraries. Will not play my test mp3, only vorbis files.

I have to install lame first and then xmms to get mp3 support.

It would follow that you must have followed the same steps without realising that they were essential. Namely 1. enable extra repos, 2. install lame.

Which is a releif as it means I needen't go rewrite the article.

Last edited by Simon Bridge; 05-28-2006 at 06:19 PM.
 
Old 05-28-2006, 06:02 PM   #19
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
randell6564: consider "sudo apt-get install synaptic" ... this will provide a GUI for apt. Then you can peruse the packages available at your leasure instead of having to guess the name of what you need. (It will create a menue item under system > administration called "synaptic packet manager" ... it's fairly intuitive.)
 
Old 05-28-2006, 06:22 PM   #20
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Quote:
Originally Posted by Simon Bridge
Thanks for the update Simon.
 
Old 05-28-2006, 10:22 PM   #21
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Simon,

I have absolutely no experience with ubuntu.

The only thing that I did was download the 'iso' from http://www.distrowatch.com , and install on my box.

Immediately after the install, I managed (thanks to all of you) to mount my fat32.

THAT is when I attempted to play one of my mp3's and hit a wall!

I could not have installed any packages or repo's because I did not know any of the commands to enter in the terminal.

However, I cannot recall wether there was a time, shortly after installing ubuntu that it updated itself or I told it to update!

Could it be that it downloaded the mp3 codecs during an update?
 
Old 05-28-2006, 10:24 PM   #22
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Simon Bridge
randell6564: consider "sudo apt-get install synaptic" ... this will provide a GUI for apt. Then you can peruse the packages available at your leasure instead of having to guess the name of what you need. (It will create a menue item under system > administration called "synaptic packet manager" ... it's fairly intuitive.)
Thank You Sir!
 
Old 05-29-2006, 12:20 AM   #23
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Have I got an install for you

Since I had this xmms on a test box, I figured I'd investigate further...

(make sure you have followed the wiki instructions to install multimedia codecs)

sudo apt-get install xmms-goom
sudo apt-get install smpeg-xmms

After the first of these you need to go into the preferences > visualisation dialog and enable the goom plugin. Then, when you play audio tracks you get the goom visualisation.

The second gets you mpeg video in xmms...

My test box has some issues with these though...

the goom plugin includes a frequent appearance of "goom" in the background that looks aweful and spoils the effect. Havn't discovered how to remove this. The one in totem dosn't do this - the one in totem is a different version.

the mpeg playback dosn't work well for me - video playback is wobbly on this box anyway so it may just be me. The video opens and plays properly for a few seconds, then freezes... the audio continues with some distortion. The entire desktop is frozen, and can only be shut down by the power button (possibly if I ssh into the session from another computer but I havn't tried.)

The standard skins package for xmms is pretty dull all round. There are more at the xmms homepage.

However - others have found these things just the bees knees - so I figured it was worth a mention while we're talking about it.

I Note:
MPlayer has a skin to make it look like xmms ... and it plays all the codecs too.

I still refer totem-xine: plays everything!

Last edited by Simon Bridge; 05-29-2006 at 12:21 AM.
 
Old 05-29-2006, 12:36 AM   #24
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
CRAP!!

This is what I get:

root@Shop:/home/scott# sudo apt-get install xmms-goom
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package xmms-goom

NOW ur teasing me! LOL!
 
Old 05-29-2006, 12:51 AM   #25
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Code:
$ sudo apt-get install xmms-goom
Password:
Reading package lists... Done
Building dependency tree... Done
xmms-goom is already the newest version.
0 upgraded, 0 newly installed, 0 to remove.
(just checking)

Have you got all the extra repos enabled?
Go look for it in synaptic > search > xmms
 
Old 05-29-2006, 01:10 AM   #26
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
While I am checking synaptic, Any info anywhere on installing 'Limewire'?

It's been a long time! The last time that I was successful installing it was when I was using 'Mandriva'.

At that time I had to figure out how to install java R.E. because it did not come with the OS, BEFORE wrestling with limewire!

I've forgotten all of it unfortunately!

But Im sure its different with ubuntu anyway. Ubuntu already has java installed.

ALRIGHT! I'm on my way to check 'synaptic'!
 
Old 05-29-2006, 01:19 AM   #27
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Well...

Everything that says xmms in 'synaptic' is installed!

I'm gonna try to look for 'Repo's' under synaptic search and add more, because I think thats what you meant.
 
Old 05-29-2006, 01:42 AM   #28
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Actually, I'm talking about enabling universe and multiverse repos in /etc/apt/sources.list ... here's what mine looks like (you really aught to read the wiki.)
Code:
deb http://nz.archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://nz.archive.ubuntu.com/ubuntu dapper main restricted

## Major bug fix updates produced after the final release of the
## distribution.
#deb http://nz.archive.ubuntu.com/ubuntu dapper-updates main restricted
#deb-src http://nz.archive.ubuntu.com/ubuntu dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://nz.archive.ubuntu.com/ubuntu dapper universe
deb-src http://nz.archive.ubuntu.com/ubuntu dapper universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
#deb http://nz.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
#deb-src http://nz.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted

deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
... See what I mean?

You do
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo gedit /etc/apt/sources.list
(make the file look like mine and save)
sudo apt-get update

Last edited by Simon Bridge; 05-29-2006 at 01:43 AM.
 
Old 05-29-2006, 02:04 AM   #29
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
I've been reading! LOL!

And because of that fact, I already added the sources.list to /etc/apt folder just before you gave me the info above!

Heres what it looks like:

deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


deb http://us.archive.ubuntu.com/ubuntu breezy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://us.archive.ubuntu.com/ubuntu breezy universe
# deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

# deb http://security.ubuntu.com/ubuntu breezy-security universe
# deb-src http://security.ubuntu.com/ubuntu breezy-security universe

And here is what I got next:

root@Shop:/home/scott# sudo gedit /etc/apt/sources.list

(gedit:14525): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
root@Shop:/home/scott# sudo apt-get update
Get:1 http://security.ubuntu.com breezy-security Release.gpg [189B]
Get:2 http://us.archive.ubuntu.com breezy Release.gpg [189B]
Get:3 http://us.archive.ubuntu.com breezy-updates Release.gpg [189B]
Hit http://security.ubuntu.com breezy-security Release
Hit http://us.archive.ubuntu.com breezy Release
Hit http://security.ubuntu.com breezy-security/main Packages
Hit http://us.archive.ubuntu.com breezy-updates Release
Hit http://security.ubuntu.com breezy-security/restricted Packages
Hit http://security.ubuntu.com breezy-security/main Sources
Hit http://us.archive.ubuntu.com breezy/main Packages
Hit http://us.archive.ubuntu.com breezy/restricted Packages
Hit http://us.archive.ubuntu.com breezy/main Sources
Hit http://security.ubuntu.com breezy-security/restricted Sources
Hit http://us.archive.ubuntu.com breezy/restricted Sources
Hit http://us.archive.ubuntu.com breezy-updates/main Packages
Hit http://us.archive.ubuntu.com breezy-updates/restricted Packages
Hit http://us.archive.ubuntu.com breezy-updates/main Sources
Hit http://us.archive.ubuntu.com breezy-updates/restricted Sources
Fetched 3B in 1s (3B/s)
Reading package lists... Done

Thanks Simon!

Anything on limewire?
 
Old 05-29-2006, 02:16 AM   #30
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Just google "limewire ubuntu" and you'll see tons of blogs and howtos. Then there is that wiki page ... (nudge).

How to Install P2P Gnutella Client
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing network audio on Ubuntu with smb: martian Linux - Software 3 03-19-2006 10:03 AM
Playing MP3 files tiredoflogins Linux - Newbie 2 10-02-2004 03:12 PM
Playing Mp3 files in RH9 Adam555 Linux - Newbie 7 05-06-2004 01:23 PM
Playing remote MP3 files rsanfelice Linux - Software 4 04-20-2004 11:02 AM
Problem with playing audio CDs and mp3 songs dhanakom Linux - General 2 07-05-2003 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration