SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to know how to play a CD on Slackware, I use some CD Player program but when I insert the CD it plays but I can't listen it. Another question is, how do I see the contents of a CD-ROM or Floppy on Linux Slackware?
How do I configure my mouse so I can use the scroll (I know there are another posts in here but I want to know the command to see the configuration of it)
Thanks a lot to everyone who had been helping me, I finally got my modem working and a lot of other things fixed.
To listen to a CD, you have to mount it under Slackware.
To do this, use the following command as root:
mount -t iso9660 /dev/cdrom /mnt/cdrom
Same thing for a floppy disk, except you have to use (still as root):
mount -t msdos /dev/fd0 /mnt/floppy
You can then list the content of /dev/cdrom, copy files, etc... etc...
You can improve on this though, by either adding yourself to the "disk" group, or by using "sudo", which is nicer to use than "su" for that kind of thing.
The reason for all this is that "normal" UNIX users should not be allowed to mount/unmount disks -- only "root" is supposed to do that.
As far as the wheel mouse is concerned, I am afraid there is no special command for this, except "xf86config", which will ask you tons of question, including (I think!) one about your mouse being a wheel mouse.
To get your mouse working you could do xf86config like Noryungl said, but I find that it asks a lot of questions that I dont know the answer to, such as monitor refresh rate, etc.
Its pretty easy to edit your X config file to get the wheel working. First open it up:
vi /etc/X11/XF86Config
then page down to the section entitled "Core Pointer's Input Device Section" and add in some extra lines at the bottom:
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
this will tell X that your mouse has 5 buttons, corresponding to left, middle, right, and mousewheel up/down. The second part tells X to use buttons 4 and 5 for z axis movement (scrolling).
Yes, by default, only root can mount and unmount CD-ROMs. This is a nice security feature. However, this can get to be a hassle, having to su to root everytime you insert a CD. A way around this is to edit your /etc/fstab file.
Open the file in gEdit or pico and look for a line that says, "/dev/cdrom." In one of the rightmost columns of options on that line, there will be a string of commands that should read something like "noauto,owner,ro"
Change "owner" to "user" and reboot your machine to reload fstab. Now you will be able to mount and eject CDs using the GUI commands, such as right-clicking on the GNOME desktop and going to Disks>>CD-ROM.
root@ecuador:~# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
/dev/cdrom must be mounted with "auto" fs, instead of "iso9660"...to use with kscd by user "pippo" you have to do, (as root), "chown pippo:users /dev/cdrom", and obviously you have to do the same with the device /dev/hdc, or something similar, depending on your system. In facts, /dev/cdrom is s symbolic link to some other device, (/dev/hdc, /dev/hdd etc...).
chown the cdrom to some user won't bring serious security problems
Sound should come out of your speakers. Good. Skip ahead a bit.
No sound? Make sure your sound modules are loaded -- do lsmod | grep [name of your sound module here]
for example,if you have a soundblaster the module is sb. If there is no sound module listed, you will not have any sound because there is no driver loaded. Read the Sound-HOWTO at http://www.tldp.org. Slackware does not hold your hand and auto-configure things for you.
If the module is loaded, then run rexima and make sure the levels are turned up on your soundcard.
If you've gotten this far and you get sound but can't play audio CDs open your computer and make sure the audio cable (small cable) is connected from the CD drive to the soundcard ...
Just diving in to say thanks to all. I've been lurking on this thread. Everything that could be wrong with mine was. Had to change permissions, what pointed to what, and realize that my DVD was hooked to the onboard sound and not my CDRW. Once I got all the pieces together, it worked. *smack* Hardware! I'd probably be thinking it was exclusively a software problem forever, iantri. But that was only part of it. Now to see if I can figure out how to rip my CDs.
(And the rexima tip - I was at 67% - now I'm cranking.)
You're welcome. To rip CDs use your favourite tool in X or use cdparanoia (just read the man page.. simple.) You may need to point either to the appropriate drive (depending on how your symlinks are set up.. if /dev/cdrom points to the CD-RW drive you shouldn't need to.)
Your mixer settings will not hold past reboot (AFAIK). You can have it default to whatever you want, though.. (If there is a better way to do this I don't know about it) drop a line in your /etc/rc.d/rc.local that calls rexima with all the volume settings you want on the command line. Rexima works on the command line or with the textmode interface. The rexima manpage should be helpful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.