Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
when I insert an audio cd, 99 times out of 100 it is to rip the tracks nd encode them. when I do insert an audio CD, KSCD automatically launches. I have to close it before GRIP recognizes the CD. how do I disable the auto launching of KSCD?? thanks.
autoplay is not checked. it does not play, just launches the application. i want the application not to self-launch when i insert the audio CD. still wondering.....
nice workaraound..but grip is running most of the time. if that link gets executed each time I insert a CD, then I will have multiple instances of GRIP running. then, I'd have to close one of them, to work with the other. now I will have replaced having to close kscd with having to close an instance of GRIP.
I think I'd rather understand where the association between an audio CD and kscd is made. then, there must be an opportunity to configure kscd not to launch when an audio cd is inserted.
Did anybody ever figure out how to tame kscd? I'm having same problem -- kscd starts up whether I have "autoplay" checked or not in config. What gives?
I think the issue here is not so much disabling kscd, but controlling the default behavior when a CD is mounted. Try inserting a data CD. Konqueror should come up with a listing of /mnt/cdrom. What we need to find out is where the system specifies that Audio CDs should load kscd and Data CDs should load Konqueror, and change it (or disable it) there, in much the same way you can control default Autoplay settings in (God help us) Windows XP.
Aha! Found it. Auto-run support is controlled in KDE by the Autorun.desktop module, which is automatically started when you start KDE by virtue of its being in the ~/.kde/Autostart folder.
If you want to disable autorun (but not automount; there's a difference), then just remove this item from the folder (you can copy it to another folder, like your Desktop or something in case you ever want to re-enable it). Just keep in mind that this will most likely disable autorun of data CDs as well.
If you want to CHANGE the default cd player, then right-click on the item, and pick Properies. Select the Execute tab, and look for the "--cdplayer=/usr/bin/kscd" part. Change it to whatever you want (like grip). Unfortunately, autorun DEFAULTS to kscd, so removing this part will not disable it (which was why I just removed the item from Autostart entirely), but you can change it to something else. I haven't tried using /dev/null instead, that might work, too.
For the gory details and/or specifics, open up a terminal window and type "man autorun".
Originally posted by mike_loux If you want to CHANGE the default cd player, then right-click on the item, and pick Properies. Select the Execute tab, and look for the "--cdplayer=/usr/bin/kscd" part. Change it to whatever you want (like grip). Unfortunately, autorun DEFAULTS to kscd, so removing this part will not disable it (which was why I just removed the item from Autostart entirely), but you can change it to something else. I haven't tried using /dev/null instead, that might work, too.
Thanks for answering my unspoken question
I edited the ~/.kde/Autostart/Autorun.desktop file, first just deleting the --cdplayer=/usr/bin/kscd entry. Restarted KDE, stuck in my audio CD (Propellerheads tonight!), and of course, kscd started up. Not good.
I usually keep xmms running full-time, either playing MP3's off my HDD, or audio CD's. Having an external program try to play the CD I just added to xmms' playlist is just annoying.
On a whim, I tried the setting --cdplayer=/dev/null and... it worked! No error messages (what I was afraid of) and kscd doesn't start. Victory.
There is a proper way to configure that.
I use KDE, don't ask me why, the command I ran was gnome-cd-properties...
I use the mandrake community 10.1
(Menu K / System / Config / Hardware / CD properties )
You can in this dialog disable / enable many options and choose what programms are launched...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.