You are not logged in.

#1 2011-11-10 15:57:30

webdawg
Member
Registered: 2010-12-28
Posts: 62

xfce - thunar - gconf - dconf - usb mounting - why - how - bah

Hello,

I have disabled all automounting.

I need to know what file I need to edit to change the options that xfce uses to mount.  Or whatever it uses to mount when you right click and hit mount.

I am trying to mount a usb stick.

I have tried looking in dconf and gconf.

How does it work?

A few people mentioned gvfs and udisks.

I think it uses udev.  I know it does not any longer use hal.


What am I missing here?  What do I need to read?

Thanks,

Web...

Offline

#2 2011-11-10 18:32:27

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: xfce - thunar - gconf - dconf - usb mounting - why - how - bah

Offline

#3 2011-11-15 18:48:53

webdawg
Member
Registered: 2010-12-28
Posts: 62

Re: xfce - thunar - gconf - dconf - usb mounting - why - how - bah

Sorry for posting this link but I do not have time to write it again.  This is my opinion and what I ended up doing.

http://wiki.hackspherelabs.com/index.ph … disks-GVFS

If I am correct kernal passes to udisks which passes to gvfs or udev or something right?

I gave up on Thunar.

I would really like to figure out how to configure the gvfs/thunar default mounting rules.

Thanks,

Web...


I also found this link:  https://bbs.archlinux.org/viewtopic.php?id=112846

The entire reason I started this.

Last edited by webdawg (2011-11-15 19:22:35)

Offline

#4 2011-11-16 09:28:09

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: xfce - thunar - gconf - dconf - usb mounting - why - how - bah

Open Thunar, click Edit-Preferences. On the Advanced tab, tick Enable Volume Management, then click Configure. Here are all your automounting rules.

Cheers. (Ensure you have gvfs installed for trash and automounting support - required for Thunar automounting)

Offline

#5 2011-11-16 12:16:31

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: xfce - thunar - gconf - dconf - usb mounting - why - how - bah

In addition to gvfs, you also need polkit-gnome (even when using Xfce) since the latest thunar update.

Offline

#6 2011-11-16 13:05:43

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: xfce - thunar - gconf - dconf - usb mounting - why - how - bah

As an alternative to the UI method which I've seen cause so much confusion over many months, you can just use udev to mount to a pre-existing dir, e.g.:

KERNEL=="sd*", ATTRS{serial}=="0011E06B70F9F021C7791290", ACTION=="add", SYMLINK+="myusb%n", RUN+="/bin/mount /media/myusb"

And in /etc/fstab

/dev/myusb1  /media/myusb  vfat  noauto,noatime,users,flush,gid=100,umask=007

This is what I use.

Heck, one could add the "flush" etc. to within the RUN+=, and not even need an fstab entry.

Edit: Added: ACTION=="add"

Last edited by brebs (2012-07-02 11:07:47)

Offline

#7 2011-11-16 16:45:25

webdawg
Member
Registered: 2010-12-28
Posts: 62

Re: xfce - thunar - gconf - dconf - usb mounting - why - how - bah

Padfoot.

I want to be able to pass custom options to the command that thunar uses.  forcedirectio etc...

brebs...

I was able to get the automounting udev rules to work great.  I removed gvfs.  Now just udisks and udev...

I like the way it works.

Last edited by webdawg (2011-11-16 16:45:48)

Offline

Board footer

Powered by FluxBB