[gentoo-user] USB automount with LXDE

2011-11-17 Thread Raffaele BELARDI
When I need to mount a removable USB device on LXDE (~amd64) I currently manually issue the mount command. What do I need to do to make automounting possible? According to LXDE wiki (1) you need HAL, which I don't have on my system. I found several suggestions on the net but none seems promising.

Re: [gentoo-user] USB automount with LXDE

2011-11-17 Thread James Broadhead
On 17 November 2011 09:07, Raffaele BELARDI raffaele.bela...@st.com wrote: When I need to mount a removable USB device on LXDE (~amd64) I currently manually issue the mount command. What do I need to do to make automounting possible? According to LXDE wiki (1) you need HAL, which I don't have

Re: [gentoo-user] USB automount with LXDE

2011-11-17 Thread Pandu Poluan
On Nov 17, 2011 4:51 PM, James Broadhead jamesbroadh...@gmail.com wrote: On 17 November 2011 09:07, Raffaele BELARDI raffaele.bela...@st.com wrote: When I need to mount a removable USB device on LXDE (~amd64) I currently manually issue the mount command. What do I need to do to make

Re: [gentoo-user] USB automount with LXDE

2011-11-17 Thread Neil Bothwick
On Thu, 17 Nov 2011 10:07:11 +0100, Raffaele BELARDI wrote: When I need to mount a removable USB device on LXDE (~amd64) I currently manually issue the mount command. What do I need to do to make automounting possible? The simplest option is to emerge uam. -- Neil Bothwick Will the last

Re: [gentoo-user] USB automount with LXDE

2011-11-17 Thread Raffaele BELARDI
On 11/17/2011 11:37 AM, Neil Bothwick wrote: On Thu, 17 Nov 2011 10:07:11 +0100, Raffaele BELARDI wrote: When I need to mount a removable USB device on LXDE (~amd64) I currently manually issue the mount command. What do I need to do to make automounting possible? The simplest option is to

Re: [gentoo-user] USB automount with LXDE

2011-11-17 Thread Neil Bothwick
On Thu, 17 Nov 2011 14:22:35 +0100, Raffaele BELARDI wrote: 1. udev rules: mounts automatically, with pmount can do non-root un-mounting 2. mdev: according to the man page works only at system boot 3. uam: does not require fiddling with udev rules but cannot un-mount I suppose I'll go with

Re: [gentoo-user] USB automount with LXDE

2011-11-17 Thread Raffaele BELARDI
On 11/17/2011 03:06 PM, Neil Bothwick wrote: On Thu, 17 Nov 2011 14:22:35 +0100, Raffaele BELARDI wrote: 3. uam: does not require fiddling with udev rules but cannot un-mount 3 is wrong, you can unmount with pmount, exactly the same as with 1. uam is basically a set of udev rules that

Re: [gentoo-user] USB automount with LXDE

2011-11-17 Thread Neil Bothwick
On Thu, 17 Nov 2011 15:58:03 +0100, Raffaele BELARDI wrote: The ArchWiki link on Udev posted by James shows how to set a rule for un-mounting: ACTION==remove, ENV{dir_name}!=, RUN+=/bin/su tomk -c '/usr/bin/pumount /media/%E{dir_name}' Based on your feedback I suppose the same can be

Re: [gentoo-user] USB automount with LXDE

2011-11-17 Thread Raffaele BELARDI
On 11/17/2011 04:54 P, Neil Bothwick wrote: I thought that pcmanfm, the LXDE file manager, had a context menu option to unmount. Me too, and I think that a long time ago I did have it, but now it's not there. Probably I'd better try on the lxde mailing list. thanks, raf