[CentOS] Centos6 - Xfce - howto add usb automount

Fri Nov 18 13:38:08 UTC 2011
Mihai T. Lazarescu <mtlagm at gmail.com>

On Fri, Nov 18, 2011 at 06:59:41AM +0100, Johan Vermeulen wrote:

> *thunar-volman is installed by default, so does not seem to automount
> usb in CentOs6

I think it's activated by thunar, thus thunar should be started.

> The good thing is, when installing Nautilus, the usb now also automounts
> in Thunar.

That's expected, Nautilus should be started automatically by
Gnome if found.

> *   Thunar --daemon   : howto do that ?

1. It should be done automatically if you log into an XFCE

2. If you use a Gnome session you should arrange that the
   session starts Thunar instead of Nautilus.

   A. Test the stuff.  From a shell prompt:

      ** stop Nautilus to check that Thunar is doing the
         mounting, not Nautilus:

            nautilus --quit

      ** start Thunar in the background:

            Thunar --daemon

      ** try if the USB drive is mounted automatically.

   B. Make settings permanent:

      ** save the session after stopping Nautilus and Starting
         Thunar as above.

Hope this helps.