How can a custom-mounted drive show on desktop as mounted
Have you tried to add the mount line to the fstab file?
I used the fstab to make a mount point for an xfat usb drive, it paused whiloe loading, but worked nice when i plugged the drive in, i could mount it easier... if you need help, have a look at the man pages for the fstab file. On Wed, Sep 12, 2012 at 11:27 AM, dg1727 <dg1727@hushmail.com> wrote: > Hello, > > I have posted this on the xfce AT xfce DOT org mailing list, and > not gotten an answer yet, so maybe someone on this list has a > suggestion: > > On Xubuntu 12.04.1, I have written a "udev" rule that calls a > custom shell script to mount a USB ext4fs drive with custom mount > options. The drive gets mounted correctly so that the "mount" > command shows the drive and the correct options. On the XFCE > desktop, however, the drive icon is grayed out, and the icon's > right-click menu has an option for "Mount Volume." > > Is there a way to have XFCE update the icon automatically, as soon > as the USB drive is inserted, to show that the volume is already > mounted? > > I have tried: > > thunar-volman --device-added /sys$DEVPATH > > where $DEVPATH is the sysfs path of the newly added device. This > command doesn't seem to do anything, including when I run the > command in a terminal window (even with superuser privileges). > > Installed versions include xfdesktop 4.8.3, thunar-volman 0.6.1 > > Thanks for any insight, including if I have missed something > obvious. > > -dg1727 > > > -- > xubuntu-users mailing list > xubuntu-users@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users -- xubuntu-users mailing list xubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users |
How can a custom-mounted drive show on desktop as mounted
On Wed, 12 Sep 2012 15:56:14 -0400 Tom Stephens
<twstephens@gmail.com> wrote: >On Wed, Sep 12, 2012 at 11:27 AM, dg1727 <dg1727@hushmail.com> >wrote: >> On Xubuntu 12.04.1, I have written a "udev" rule that calls a >> custom shell script to mount a USB ext4fs drive with custom >> mount options. The drive gets mounted correctly so that the >> "mount" command shows the drive and the correct options. On >> the XFCE desktop, however, the drive icon is grayed out, and >> the icon's right-click menu has an option for "Mount Volume." >> >> Is there a way to have XFCE update the icon automatically, as >> soon as the USB drive is inserted, to show that the volume is >> already mounted? >> >> I have tried: >> >> thunar-volman --device-added /sys$DEVPATH >> >> where $DEVPATH is the sysfs path of the newly added device. >> >> Installed versions include xfdesktop 4.8.3, thunar-volman 0.6.1 > >Have you tried to add the mount line to the fstab file? >I used the fstab to make a mount point for an xfat usb drive, it >paused whiloe loading, >but worked nice when i plugged the drive in, i could mount it >easier... > >if you need help, have a look at the man pages for the fstab file. Thanks for the suggestion, Tom. I _don't_ want to use /etc/fstab (which would require me to specify volume label, UUID, and/or block- device name in the /etc/fstab file). The volume in question will be connected by USB, and any of those 3 attributes of the volume could change. Normally, when a USB drive (volume) is plugged in that isn't listed in fstab, XFCE shows a desktop icon for this drive, and a right- click on that icon shows "Eject Volume," indicating that the drive is mounted. I would like the same thing to happen with my custom- mounted drive. Maybe someone can propose a way to do this? -dg1727 -- xubuntu-users mailing list xubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users |
| All times are GMT. The time now is 03:55 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.