thunar-volman: application for porable music players starts for each USB storage device

Kok, Auke sofar at foo-projects.org
Fri Jul 27 00:07:10 CEST 2007


Tino Keitel wrote:
> Hi folks,
> 
> (first, it's nice to have a desktop environment without all that bloat
> so that it can also be used on my older laptop. :-)
> 
> I configured thunar-volman to start gtkpod in the command field of the
> "Portable Music Players" section. However, gtkpod also starts when I
> insert a CF card from my camera into the USB card reader.
> 
> How can I restrict the start of gtkpod to the iPod only?
> 
> Another question: is it possible to not just do an "umount" to
> disconnect the device, but also an "eject", as with /usr/bin/eject? At
> least for my iPod (the "Do not disconnect" display disappears) and my
> card reader (the activity LED is switched off), the eject method seems
> to be a more convenient way to disconnect a storage device. I'm not
> sure if there is a relevant technical difference between eject and
> mount. But regarding the above behaviour, the eject method seems safer
> to me.

for memory/flash media, "eject" is the equivalent of "umount". Only devices 
which have a "tray" do something else -> open it up.

Auke



More information about the Xfce mailing list