Results 1 to 10 of 13
My version of Linux doesn't have the program that automatically starts an application when a CD is inserted so as to allow me to insert a CD with say mp3's ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-12-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 15
CD application automatically starts stuff?
My version of Linux doesn't have the program that automatically starts an application when a CD is inserted so as to allow me to insert a CD with say mp3's and automatically runs a player, so where do I get such a beast and what would it be called?
- 06-12-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
You didn't say what distribution you are running, or what desktop environment you are running on it. That information would be very helpful to anyone trying to provide a good answer.
oz
- 06-12-2008 #3Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
That usually depends on the desktop environment, as long as the hal daemon is running, that is. As someone said, your distro (name + version number) and your desktop (kde/gnome/xfce + version number) are critical factors to start diagnosing this.
- 06-17-2008 #4Just Joined!
- Join Date
- Jun 2008
- Posts
- 15
- 06-17-2008 #5Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
If you don't own a desktop then explain a bit more accurately what results are you expecting from such autoplay feature. In linux, even on desktops, autoplay usually just means open a explorer or play an audio cd. What are you expecting this feature to do on command line?
The audiocd autoplay might be easily achievable by writing some udev rules, if that's what you want. I've never done it, but it should be possible.
- 06-17-2008 #6Just Joined!
- Join Date
- Jun 2008
- Posts
- 15
- 06-17-2008 #7
There are ways to make things happen when you insert a CD if you're using a desktop environment like GNOME. For instance, there's a setting to open your music player when an audio CD is inserted or your multimedia app when a DVD is put in.
On my machine these are set in the "Media" tab of the preferences dialog in Nautilus File Manager. I'm not sure how you would set them up in other environments.Registered Linux user #270181
TechieMoe's Tech Rants
- 06-17-2008 #8Just Joined!
- Join Date
- Jun 2008
- Posts
- 15
When I use a desktop if ever its JVM.
- 06-17-2008 #9Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
Are you using X at all or just plain console? You are not using a desktop, I know, but now that I think I am not clear if you are using a lighter window manager under x, or if you are using plain console.
If you want to fire up something based on addition or removal of devices you can use udev, but for insertion of dvd or cd disks, now that I think, you would need to do some serious hacking using hal. ivman is based on hal and is used to automount disks when you insert them so it might serve as a model for you, but if you are not using some pre-made tool then there's no easy way to achieve this outside one of the major desktops (which use hal just like I told you).
Then you are going to need to program your own solution based on hal, I guess.
- 06-17-2008 #10Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513


Reply With Quote

