NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
Mount/unmount launcher for CDROM, USB memory stickHi, I am using Debian etch r1 on my Thinkpad T60p. I am using XFCE 4.0 as my desktop. I would like to get a launcher icon in my desktop automatically whenever I plug in a USB memory stick or insert a CD/DVDROM inside by CD/DVD drive. How do I achieve this in XFCE desktop environment? I do not intend to install KDE or GNOME to avail this functionality. I get the following when I do a dmesg|less after plugging in a USB memory stick: usb 5-5: new high speed USB device using ehci_hcd and address 2 Please suggest what needs to be done? Thanks |
mount/unmount usb memstick
I would think (although I'm a beginner) that you must ls -l
/dev/...... you should see: /sdb1 in your case, my Kingston is seen as sda1
you can mount your Kingston wherever you want by making a new dir:
mkdir Desktop/Kingston or /Kingston and in this case make a ln -s on your Desktop later on.
but first you will mount your new dev sdb1:
mount -t auto /dev/sdb1 Desktop/Kingston
then you edit /etc/fstab by making a new line:
/dev/sdb1 /media/usb0 or KINGSTON auto rw,user,noauto 0 0
hope I've understood your query and answered right.
please let me know if this is your solution.
mount/unmount
by the way, I found that since I have 3 sys installed (SuSe10, Fed 6 and Deb4) that I need a partition available to the 3 sys: so I made one part which I mounted in each sys on which I put every single file I'm working with while studying linux.
fstab, menu.lst
/dev/hdc8 is the one that I mounted as /datahdc8 with a link to each of my 3 Desktops
Mount/unmount launcher for CDROM, USB memory stick
ksbolo,
Indeed it helped. Thanks for the advice. What I am looking for some kind of daemon that would do this mount job for me.
The need is because, my computer is often used by my father who does not know the command-line intricacies.
Thanks
~$u8h
Mount/unmount launcher for CDROM, USB memory stick
i don't use xfce myself, but perhaps these two packages help?
xfce4-mount-plugin
xfce4-utils (appears to contain xfmountdev4, see: http://www.digipedia.pl/man/xfmountdev.1.html )
father doesn't know cmd line intricacies
maybe I'm wasting your time, but if the fstab has got the line for the /dev/usb0 ...rw,user,noauto... the sys should mount it automatically, I thought it was the case. You see I'm just starting, so maybe I'm wrong.
I would think Etch can detect your usb stick with no problem, and mount it, since even sarge does.
I don't know which laptop you have but Etch should have the drivers for your usb stick.
Unmount before pulling out the usb
I am using Etch with Gnome and it always detects and mounts my usb thumbdrive. One thing is that I have to unmount it before I pull it out or it will screw up the data. Just giving you a heads up.
Working under Sid
I'm running XFCE4 under Sid, and I always get CDs and USB sticks as desktop icons. I'm afraid I don't know why; it just started happening after a dist-upgrade.
mnt/unmount launcher icon/cdrom..
http://packages.debian.org/sid/xfce4-icon-theme
maybe this package is missing