LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 01-04-2003, 01:33 PM   #1
adenardo
Member
 
Registered: Oct 2001
Location: Fort Collins, Colorado
Distribution: RHEL3/FedoraCore3
Posts: 61

Rep: Reputation: 15
disable launch of kscd


redhat 8, kde3

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.
 
Old 01-04-2003, 10:01 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Go to the configuration dialog and uncheck the Autoplay option.
 
Old 01-05-2003, 03:37 AM   #3
adenardo
Member
 
Registered: Oct 2001
Location: Fort Collins, Colorado
Distribution: RHEL3/FedoraCore3
Posts: 61

Original Poster
Rep: Reputation: 15
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.....
 
Old 01-05-2003, 05:55 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
i would get violent if i was in a hurry, and
mv /usr/bin/kscd /usr/bin/kssuck,

and make
a link from grip to kscd
ln -s /usr/bin/grip /usr/bin/kscd
 
Old 01-05-2003, 03:03 PM   #5
adenardo
Member
 
Registered: Oct 2001
Location: Fort Collins, Colorado
Distribution: RHEL3/FedoraCore3
Posts: 61

Original Poster
Rep: Reputation: 15
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.
 
Old 10-27-2003, 07:05 PM   #6
dot hog
Member
 
Registered: Oct 2003
Location: Boondocks USA
Distribution: RH9
Posts: 50

Rep: Reputation: 15
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?
 
Old 11-06-2003, 10:16 AM   #7
mike_loux
LQ Newbie
 
Registered: Oct 2003
Location: Caribou, ME
Distribution: Redhat 8/9, Fedora
Posts: 9

Rep: Reputation: 0
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.
 
Old 11-06-2003, 11:36 AM   #8
mike_loux
LQ Newbie
 
Registered: Oct 2003
Location: Caribou, ME
Distribution: Redhat 8/9, Fedora
Posts: 9

Rep: Reputation: 0
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".

HTH!!!!
 
Old 11-20-2003, 11:03 PM   #9
sbadelt
Member
 
Registered: May 2003
Location: Los Angeles, CA
Distribution: Mandrake 9.2
Posts: 36

Rep: Reputation: 15
Disable autorun... or change options

The alternative to brutally removing your autorun.desktop file is to make it do the work for you!

Edit the line

Exec=/usr/bin/autorun -l --interval=1000 --cdplayer=/usr/bin/kscd

Options are under the man pages (prompt> man autorun). For instance -m will just cause the device to be mounted.
 
Old 05-04-2004, 09:14 PM   #10
CodeSplice
LQ Newbie
 
Registered: Feb 2004
Location: Vestavia Hills, AL
Distribution: Red Hat 9
Posts: 10

Rep: Reputation: 0
Exclamation Success!

Quote:
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.

I shall indulge in a well-deserved w00t...

w00t.

Ciao
 
Old 05-22-2004, 12:32 PM   #11
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
very informative, i just deleted my Autorun.desktop file after reading through these posts
 
Old 12-29-2004, 08:17 AM   #12
hsaturn
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
disabling KSCD autoplay

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...

 
Old 12-30-2004, 12:55 PM   #13
Skankpuss
Member
 
Registered: Nov 2003
Location: England
Distribution: mandriva 2005 le
Posts: 37
Blog Entries: 1

Rep: Reputation: 15
Thankyou hsaturn!

This has been bothering me for 2 years now!

Happy New Year
 
Old 12-30-2004, 04:51 PM   #14
bad_andy
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1/Slackware 10.0
Posts: 154

Rep: Reputation: 30
Geez, that was TOO easy!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM
How do I disable or remove KsCD? bfair Linux - General 8 03-07-2005 11:36 AM
KSCD + CD Players? Micro420 Mandriva 1 10-08-2004 06:55 PM
Kscd bibilit Linux - Software 0 12-07-2003 11:38 AM
Kscd jdphjp Linux - Hardware 3 05-02-2003 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration