How can a custom-mounted drive show on desktop as mounted

dg1727 dg1727 at hushmail.com
Thu Sep 13 20:54:39 CEST 2012


On 09/11/2012 at 3:39 PM, dg1727 <dg1727 at 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?  

Any advice?  Is this known to work in XFCE 4.10?  The Xubuntu 12.10 (Quantal) release is planned to have XFCE 4.10; maybe what I am trying to do will be easier there.  

>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 

Thanks again.  

-dg1727



More information about the Xfce mailing list