You are not logged in.

#1 2013-05-15 18:26:54

Drooid
Member
Registered: 2012-11-13
Posts: 18

Auto Mounting USB sticks

So, I've looked around a lot, but I can't find much at all about mounting my usb sticks whenever they're plugged in. It'd be nice to not have to # mount /dev/sde1 /home/droid/usb
I've set it up as the wiki says to do so with Thunar, but it's still not working. Any help?

Offline

#2 2013-05-15 18:55:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Auto Mounting USB sticks

The wiki has all of the details: https://wiki.archlinux.org/index.php/Udev#Udisks

"still not working" is not a helpful error message...



Moving to Newbie Corner.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-05-16 05:09:38

Gr0t92
Member
Registered: 2013-05-12
Posts: 10

Re: Auto Mounting USB sticks

As jasonwryan mentioned the wiki is your friend. If you are trying to automount volumes with thunar make sure to install thunar-volman:

pacman -S thunar thunar-volman

Then you must configure thunar to automount your thumbdrive(s):

From the wiki https://wiki.archlinux.org/index.php/Th … tomounting

Configuration

It can also be configured to execute certain actions when cameras and audio players are connected. After installing the plugin:

    1. Launch Thunar and go to Edit -> Preferences
    2. Under the 'Advanced' tab, check 'Enable Volume Management'
    3. Click configure and check the following items:
           Mount removable drives when hot-plugged.
           Mount removable media when inserted.

also add dbus-launch to your .xinitrc making sure it comes before your windows manager/desktop environment
for example my .xinitrc contains:

exec dbus-launch openbox-session

Granted there are numerous different ways to automount usb drives, but based on your post I assume that this is the method you are trying to use.

Last edited by Gr0t92 (2013-05-16 05:20:36)

Offline

#4 2013-05-16 11:44:09

woznme
Member
From: Gold Coast, AU
Registered: 2013-01-13
Posts: 22

Re: Auto Mounting USB sticks

udiskie works fine with thunar

Offline

#5 2015-10-02 03:25:27

qlb1234
Member
Registered: 2015-09-09
Posts: 5

Re: Auto Mounting USB sticks

To those who don't find this working, there are two options for you.

1. Install udisks2 and udiskie then run this command once, and for all.

udiskie -2 -s &

Thanks to this post.

2. Install gvfs and instantly it works like a charm. You don't even need to install thunar-volman or tinkering the options in thunar. They're irrelevant.

Offline

#6 2015-10-02 04:46:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Auto Mounting USB sticks

Please don't necrobump old threads: https://wiki.archlinux.org/index.php/Fo … bumping.22


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB