Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: TheKnifeThrower on 21 September 2003, 13:55
-
I have some more linux problems:
How do I get XMMS (or any other CD player) to play CD's with the sound?
I have downloaded a program which is a *.jar file. I have the java runtime environment installed. What do I do to execute the jar file as a program.
-
You better make sure the CD is mounted.
-
I have mandrake so it automatically mounts things. I think I am supposed to change the permissions on a device but which one?
-
if i were you i would sort out that horrible thing that mandrake does to mount disks it always arses up in my experience, read man supermount for more info.
as for mounting the CD, actually an audio CD does not and can not be mounted.
to try and answer the question, can't you just run /usr/java/bin/java *.jar or whatever?
as for permissions, it'll be something about symlinks in your /dev/ directory i suspect. for example, my cd writer gets the device name/dev/cdrom assigned to it, that is simply a symlink pointing to /dev/hdc however that is not the real device name. something about ide/scsi. to access the drive properly i would use /dev/scd0 - don't ask me how or why this works but i suspect it will be something along these lines.
either that or it might be a sound card issue, i never was able to play CDs with my C-Media sound card although i could rip them to oggs or mp3s and listen to those instead fine.
-
Permissions: Be sure your user is in the group disk.
In KDE you can use Konqueror for audio cd's(also for ripping). Just type audiocd:/ in the URL field.
PS: If your distro doesn't support this, take it from the SuSE or Slackware server. (http://smile.gif)
-
java -jar whatever.jar
-
Whoa Whoa Whoa Whoa peopl!!
You dont mount audio cds at all. TheKnifeThrower: can you get sound with mp3s and stuff? If you can then you play a CD by going to Open Directory and going to /mnt/cdrom. If that doesnt work, go to Options->Preferences, click CD Audio Player, then Configure. Then change "Directory" to /mnt/cdrom. And if that doesnt work and you have two or more CD-Roms, try doing /dev/cdrom1, /dev/cdrom2 etc until you run out of drives.
Should work dandy fine just the way it came though.
[ September 25, 2003: Message edited by: Fury: Freedom Fighter ]
-
Thats right don't mount the audio cd. What was I thinking? Prolly cause I have tons of data CDs with MP3s and oggs. Those you mount. Audio CDs? Do what Fury Fighter said. If by chance '/mnt/cdrom' doesn't work open a command prompt and enter 'more /etc/fstab' and it will show the correct path to the CDROM.