PDA

View Full Version : Running a script when cd/dvd is inserted



olpe
24th November 2004, 12:30 AM
I had this problem with fc2 that gnome didn't recognize if inserted disc was dvd. Music cd:s worked just fine. But my question is that is it possible and how if it is, to define somewhere in configs or some place else a script that would run everytime cd/dvd drive would be automounted?

Thanks for my bad english I will explain it simple.

howto: run a script from ~/script.sh everytime cd/dvd-device is mounted (usually automounted).