Difference between revisions of "Play a CD"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
(add a repository)
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

Revision as of 20:59, 4 April 2011

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

SUSE Linux 11.3

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