Difference between revisions of "Play a CD"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
m (Reverted edits by 94.175.232.210 (talk) to last revision by ThorstenStaerk)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Playing a CD under Linux is like rocket-science. [[Find out your distribution]] and proceed accordingly:
 
Playing a CD under Linux is like rocket-science. [[Find out your distribution]] and proceed accordingly:
  
= SUSE Linux 11.3 =
+
= SUSE Linux 11.4 =
 
We will use vlc as media player. Do not reboot during the following instructions:
 
We will use vlc as media player. Do not reboot during the following instructions:
 
* Log in as root and [[open a console]]
 
* Log in as root and [[open a console]]
Line 15: Line 15:
 
* Priviledge ordinary users to access the sound device:
 
* Priviledge ordinary users to access the sound device:
 
  # chmod 777 ''/dev/dsp''
 
  # chmod 777 ''/dev/dsp''
 +
* add a repository: yast2 -> software -> software repositories -> add -> community repositories -> pacman
 
* install vlc
 
* install vlc
 
  # yast -i vlc
 
  # yast -i vlc
Line 24: Line 25:
 
* start vlc:
 
* start vlc:
 
  # vlc
 
  # vlc
* select File -> Open Disc -> CD-ROM
+
* select Media -> Open Disc... -> Audio CD
 +
* as disc device, enter your CDROM drive, e.g. ''/dev/sr0''
 
* start playing with title 0
 
* start playing with title 0
  

Latest revision as of 23:03, 23 May 2011

Playing a CD under Linux is like rocket-science. Find out your distribution and proceed accordingly:

SUSE Linux 11.4

We will use vlc as media player. Do not reboot during the following instructions:

# hwinfo --cdrom --short
cdrom:                                                          
  /dev/sr0             HL-DT-ST DVD+-RW GH50N
  • Priviledge ordinary users to access the CDROM drive:
# chmod 777 /dev/sr0
  • Find out your sound device
# ls /dev/dsp*
/dev/dsp
  • Priviledge ordinary users to access the sound device:
# chmod 777 /dev/dsp
  • add a repository: yast2 -> software -> software repositories -> add -> community repositories -> pacman
  • install vlc
# yast -i vlc
  • create an ordinary user
# useradd -m myuser
  • assign a password to the ordinary user
# passwd myuser
  • graphically log out and log in again as ordinary user
  • start vlc:
# vlc
  • select Media -> Open Disc... -> Audio CD
  • as disc device, enter your CDROM drive, e.g. /dev/sr0
  • start playing with title 0

Generic

CD playing software includes

See also