CD icon appears on desktop when cd is put in drive
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
CD icon appears on desktop when cd is put in drive
Hey guys,
I haven't been able to find any solid documentation on this, so I hope one of you knows how to do this.
I remember when I was using Mandrake in the beginning, there was a feature that I really liked, and I haven't been able to figure out how to do it in Slackware. Whenever I placed a cd into one of my drives, it seemed like it would automount it, and a CD icon would appear on my desktop. I could click on the icon, and it would open up a browser window of the contents of that CD. I think the mac os does this too?
Anywhoo, right now I just have 2 icons on my desktop that are links to the devices /dev/scd0 and /dev/scd1 (cd burner and dvd rom with scsi emulation), but they are always on my desktop. Double clicking them mounts them, and opens a browser. This is VERY close, but not quite there yet.
following the howto, i was able to get supermount working. thanks!
BUT. I still have not been able to accomplish my original goal.
I would like to be able to have the CD icons appear when i place a cd in my CD drive, like mandrake. In KDE when you go Configure Desktop > Device Icons
You can display mounted DVD, unmounted DVD, etc.. if I check both of them, nothing shows up.
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287
Rep:
Strange, my 2.4.26 kernel boxes do just what you are looking for.
insert cd and automagically the cd icon appears, remove the cd and the icon goes 'pop' and disappears.
I would check the fstab for user permissions and noauto set at boot time. I would also make sure automounter was compiled into the kernel and running. Slack has the ability to do what you are looking for without 3rd party installs....
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287
Rep:
Automounter..
I assumed this is/was what caused my external devices to mount when turned on or a disk is inserted as this did not happen before I compiled it into the kernel
My fstab is below
/dev/hda1 / ext2 defaults 1 1
/dev/hda2 none swap sw
/dev/hdb1 /netboot ext2 defaults 1 1
/dev/hdb2 /nethome ext2 defaults 1 1
/dev/hdb3 /netkernel ext2 defaults 1 1
/dev/hdb4 none swap sw
/dev/hdd1 /usr ext2 defaults 1 1
/dev/hdc /cdrom iso9660 noauto,user,exec,suid,dev,async,ro 0 0
/dev/fd0 /floppy auto noauto,user,exec,suid,dev,async,rw 0 0
/dev/pda1 /home/buslink/bl1 ext2 noauto,user,exec,suid,dev,async,rw 1 1
/dev/pda3 /home/buslink/bl3 ext2 noauto,user,exec,suid,dev,async,,rw 1 1
/dev/pda2 /mnt/backup ext2 rw,dev,async 1 1
/dev/ums1 /home/cam auto noauto,user,exec,suid,dev,async,rw 0 0
//hnkcpumain/DocumentsXP /home/DocumentsXP smbfs user,rw,/var/smb/mntlock
devpts /dev/pts devpts gid=5,mode=620 0 0
pda is an external usb harddrive its parts mount when automagically when turned off and on, icon is displayed on desktop when on/mounted not displayed when not on/mounted
ums1 is my fiji camera. it too does as the usb hd
the cd and floppy both are not on the desktop until you insert a disk then they also automagically appear...
LOL and this is just my "little" slackbox. TheDragon fstab is 4x this size...
ppl think a default install is hard....
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287
Rep:
Oh yes...
There are 2 other files for doing this that autofs/automount uses to automagically mount removable devices
auto.master
and your dev list named in auto.master
Works nearly the same as supermount.... as the syntax is almost the same...
But I guess this is not what you are looking for....
Nichole_knc, thank you for your replies.. can you post your auto.master and your cdrom file referenced in auto.master? Maybe I can jigger it if I follow your lead.
automount works pretty good. unformatted floppys will not mount. Joilet cds (windors made) can be a problem also requiring a normal mount issue...
So burned cdrw that have not be closed out tend to make automount burp....
yes. thank you. I don't see anything too different in your files. Well I'm stumped. Almost time to GIVE UP, and just have icons permanently on my desktop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.