autorun CD's in Fluxbox
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
|
Quote:
|
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.
Anyway regarding ivman a simple search revealed this http://en.gentoo-wiki.com/wiki/Ivman#Execute_programs I hope it does the trick |
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.
|
Quote:
|
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. |
All times are GMT -5. The time now is 06:05 AM. |