Playing Audio CDs

You need a special application to play audio CDs in the CD/DVD drive. Both GNOME and KDE come with CD Players.

Before using any CD Player program, make sure you unmount any CD currently in the drive (use the umount /dev/cdrom command), remove the CD, and place an audio CD in the drive. To play the audio CD, you must also have a sound card and the appropriate sound drivers installed, as described in earlier sections of this chapter.

If you are using the GNOME desktop, you can play audio CDs by simply inserting an audio CD in the CD drive. The GNOME CD Player starts and begins playing the CD.

If the CD Player does not start automatically, you can launch the CD Player by selecting Applications O Sound & Video O CD Player. Figure 5-2 shows this CD Player playing a track from an audio CD. As you can see, the CD Player displays the title of the CD and the name of the current track. The CD Player gets the song titles from — a

free open-source CD database on the Internet ( at port 888). You need an active Internet connection for the CD Player to download song information from the CD database. After the CD Player downloads information about a particular CD, it caches that information in a local database for future use.

This American Life

Lies Sissies And h ins cos (Disque One "We Laughed"





1 - Peier Pan






Figure 5-2: The GNOME CD Player Playing a Track from an Audio CD.

The CD Player's user interface is intuitive, and you can learn it easily. One nice feature is that you have the ability to select a track by title, as shown in Figure 5-3.

Figure 5-3: Selecting a Specific Audio Track to Play with the CD Player.

insider To learn more about the freedb CD database, read the Frequently Asked Questions at insight

If you want to log in as a normal user and play audio CDs on the CD/DVD-ROM drive, you should first log in as root and set the permissions settings on the Secret CD/DVD-ROM device so that anyone can read it. (You have to set the permissions for the actual CD/DVD-ROM device, not the generic /dev/cdrom device.) To do this, follow these steps:

1. Log in as root. If you are already logged in, type su -, and enter the superuser's password to assume the identity of root.

2. Type Is —l /dev/cdrom and find the actual device for which /dev/cdrom is a symbolic link. For example, in my case, /dev/hdc is the physical device, as the output of the ls -l /dev/cdrom command indicates:

lrwxrwxrwx 1 root root 3 Apr 2 14:04 /dev/cdrom -> hdc continued

3. Make the CD/DVD-ROM device readable by all users by using the chmod command as follows:

chmod o+r /dev/hdc

Anyone who has access to your Linux PC can now play audio CDs and access the CD drive. Note, however, that anyone with access to the PC, including anyone who can remotely log in, can now read data CDs as well.

If you use KDE as your desktop, you can find a similar audio CD Player in KDE. Start the KDE CD Player by selecting Main Menu O Sound & Video O KsCD.

Was this article helpful?

0 0
Make Money Writing

Make Money Writing

This Report Will Show You How To Make Money By Providing Writing Services To Other Internet Marketers. Learn how to make money by writing the right way. Grab your copy of this report now and learn. Why writing is a great way to earn money. How to compete with cheap writers, even if you charge a lot more money.

Get My Free Ebook

Post a comment