Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I've looked at many tutorials on the internet but none helped me much. I've already tried to edit fstab so it would have something like
/dev/cdrom /media/cdrom0 udf,iso9660 user,auto 0 0
But the thing is this only takes effect when the OS loads, and the CD has to be inserted at that time, so it's not something permanent or viable. What I'm looking for it's something to auto-mount the cd in the fluxbox GUI when it's inserted just like in Gnome or Kde.
The easiest way is to run thunar --daemon (if you have xfce installed). Also ivman with pmount is another great way to automate such tasks. Finally simply having dolphin open automounts your devices. If you have neither xfce/kde installed ivman/pmount combo is what you want
Last edited by gammalyrae; 09-22-2010 at 01:26 PM.
The easiest way is to run thunar --daemon (if you have xfce installed). Also ivman with pmount is another great way to automate such tasks. Finally simply having dolphin open automounts your devices. If you have neither xfce/kde installed ivman/pmount combo is what you want
I've tried Dolphin and Thunar but I don't think they autorun the CD without installing KDE or Xfce previously. About ivman and pmount working together I really don't know how,but what I've did consists in making a regular text file where I've put the command pmount /dev/cdrom /cdrom & thunar /cdrom ,and made that file executable so it would mount and open the cdrom at the same time. But this it's far from being an elegant solution not to mention the actual mounting of the cdrom takes place later than thunar opening the cdrom's folder. So usually I end up with a blank folder and I have to press the reload button in thunar to visualise the cdrom.
I dont get it. Since you already have thunar installed why dont you just place 'thunar --daemon' in your .xinitrc? When you place a cdrom in your drive it will happily jump up showing your disk.
The problem seams much more sophisticated than I first thought. Basically sometimes my cd it's autoruned but most of the times ain't and I really don't understand why 'cause the usual mount command always works. USB drives work without a problem only the cd-rom behaves like this. It's like when it wants to be mounted it does but mostly it doesn't.
I've tried that thunar --daemon added in the .xinitrc without improvements.
I think there is some confusion about whether you want the disc automounted, or you want it to run a program on the disc when it is inserted.
I just want to access my CD-ROM media drive just like in GNOME for example without having to write the usual command in the terminal. I'm interested in automountig, anyway autoruning assumes a previous automounting.
OK I solved the problem. I still don't know why thunar or dolphin doesn't work. I even tryed gnome-volume-manager but it seems it doesn't respond in terminal and it doesn't have a binary in /usr/bin, strange i might say. The ivman, hal tricks are pretty cool but I've understood after several upgrades you will have to reconfigure everything again, and that's quite a pain in the ....bottom 8-) If this it's how it goes I could had resumed just to use pmount. Anyway I've found this very light, fluxboxy file manager named pcmanfm. It mounts everything and even if it looks like thunar I believe it works even faster, and personally I recomend it to any fluxbox users 'cause obviously other file managers designated for other desktop doesn't work so well. Thunar automounted my CDROM some times but not always, I can only assume that either there were some conflicts between thunar and other installed packages or because I only use Fluxbox and no Xfce or Gnome there was something missing or incomplete, or maybe because I use aptosid based on debian unstable some packages have some flaws.
Anyway pcmanfm works like a charm, and it's the lightest weight file manager I ever encountered, and it does the job too.
OK I solved the problem. I still don't know why thunar or dolphin doesn't work. I even tryed gnome-volume-manager but it seems it doesn't respond in terminal and it doesn't have a binary in /usr/bin, strange i might say. The ivman, hal tricks are pretty cool but I've understood after several upgrades you will have to reconfigure everything again, and that's quite a pain in the ....bottom 8-) If this it's how it goes I could had resumed just to use pmount. Anyway I've found this very light, fluxboxy file manager named pcmanfm. It mounts everything and even if it looks like thunar I believe it works even faster, and personally I recomend it to any fluxbox users 'cause obviously other file managers designated for other desktop doesn't work so well. Thunar automounted my CDROM some times but not always, I can only assume that either there were some conflicts between thunar and other installed packages or because I only use Fluxbox and no Xfce or Gnome there was something missing or incomplete, or maybe because I use aptosid based on debian unstable some packages have some flaws.
Anyway pcmanfm works like a charm, and it's the lightest weight file manager I ever encountered, and it does the job too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.