[newbie] k3b autostarting on DVD insertion help?

2005-02-05 Thread Rick Kunath
I've almost got things sorted out on this new machine and new 10.1 
installation. I've got sound working finally, but have a small issue I don't 
know where to remedy.

Upon insertion of a pre-recorded commercial DVD, k3b pops up on autostart. I'd 
expect a DVD player to run rather than a recorder, as the disk(s) is not 
blank.

I checked the /etc/dynamic/user-scripts directory and edited the 
video_dvd.script file by moving the order of the called players listed there 
to place vlc at the top of the list. But none of the players were getting 
launched anyway.

I can successfully watch DVDs by opening them up from a player, i.e. Kaffeine 
(Xine) VLC, Mplayer, etc, but a player never gets launched on autostart. From 
the command line the commands entered in the script (with variables replaced 
with actual devices for the test) runs each app fine.

I don't believe this script is ever getting called. I am trying to discover 
where k3b intercepts the DVD insertion. I've checked kdeglobals, but found no 
references to any devices there.

I'd sure appreciate a pointer to where k3b is getting called on DVD insertion.

Thanks in advance,
Rick Kunath


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] k3b autostarting on DVD insertion help?

2005-02-05 Thread Derek Jennings
On Saturday 05 February 2005 21:40, Rick Kunath wrote:
 I've almost got things sorted out on this new machine and new 10.1
 installation. I've got sound working finally, but have a small issue I
 don't know where to remedy.

 Upon insertion of a pre-recorded commercial DVD, k3b pops up on autostart.
 I'd expect a DVD player to run rather than a recorder, as the disk(s) is
 not blank.

 I checked the /etc/dynamic/user-scripts directory and edited the
 video_dvd.script file by moving the order of the called players listed
 there to place vlc at the top of the list. But none of the players were
 getting launched anyway.

 I can successfully watch DVDs by opening them up from a player, i.e.
 Kaffeine (Xine) VLC, Mplayer, etc, but a player never gets launched on
 autostart. From the command line the commands entered in the script (with
 variables replaced with actual devices for the test) runs each app fine.

 I don't believe this script is ever getting called. I am trying to discover
 where k3b intercepts the DVD insertion. I've checked kdeglobals, but found
 no references to any devices there.

 I'd sure appreciate a pointer to where k3b is getting called on DVD
 insertion.

 Thanks in advance,
 Rick Kunath

In 10.1 magicdev is used to launch applications when a CD/DVD is inserted.
Magicdev gets its configuration from /etc/gconf/schemas/magicdev.schemas.

Depending on the type of media detected it will launch one of the scripts in
/etc/dynamic/user-scripts
I do  not know why your DVDs are being detected as blank media, but if you 
edit those scripts you can make it launch whatever you want.

derek

-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com