You are not logged in.
This is a newbie question, but I cannot find how Thunar automatically mounts removable devices. I've read the wiki and it says that I don't have to do anything else besides installing Thunar. Once I plug in my removable device, it can be seen in lsblk, but I need to manually mount it using the terminal. Thunar doesn't do anything to make it appear in the file system. Did I miss something?
Arch Linux + Openbox
Offline
Do you have gvfs installed?
Last edited by karol (2014-02-16 14:37:30)
Offline
You'll need thunar-volman:
https://wiki.archlinux.org/index.php/Th … me_Manager
Depending on what device you're trying to mount, you'll also need some gvfs plugins.
EDIT: He's aiming for the 30k at the end of the year I guess.
Last edited by Steef435 (2014-02-16 14:39:18)
Offline
https://wiki.archlinux.org/index.php/Th … me_Manager says
While Thunar can support automatic mounting and unmounting of removable media, the Thunar Volume Manager allows extended functionality, such as automatically running commands or automatically opening a Thunar window for mounted media.
so thunar-volman shouldn't be required.
Offline
https://wiki.archlinux.org/index.php/Th … me_Manager says
While Thunar can support automatic mounting and unmounting of removable media, the Thunar Volume Manager allows extended functionality, such as automatically running commands or automatically opening a Thunar window for mounted media.
so thunar-volman shouldn't be required.
Exactly. However, I tried to install the volume manager, but it didn't help. It should work without it.
Do you have gvfs installed?
I didn't (judging from the fact that writing gvfs in the terminal didn't find anything). I installed it, but nothing changed. How to configure it?
Last edited by decas (2014-02-16 14:43:16)
Arch Linux + Openbox
Offline
https://wiki.archlinux.org/index.php/Th … tomounting
Thunar uses GVFS for automounting.
https://www.archlinux.org/packages/extra/i686/thunar/
gvfs (optional) - for trash support, mounting with udisk and remote filesystems
Offline
Do you have gvfs installed?
I didn't (judging from the fact that writing gvfs in the terminal didn't find anything). I installed it, but nothing changed. Do I need to do something extra besides installation? I can see that it talks about Polkit and since I just use Openbox with X, should I just install any of the given four?
Last edited by decas (2014-02-16 14:46:00)
Arch Linux + Openbox
Offline
I can remember having to add a polkit rule too. This might do the trick(I have a rule like that right now):
https://wiki.archlinux.org/index.php/Po … r_any_user
Last edited by Steef435 (2014-02-16 14:46:16)
Offline
I installed lxpolkit and added the Polkit's rule to /etc/polkit-1/rules.d/10-enable-mount.rules using nano.
Nothing changed. How can I see if it works? Where should I look for my removable devices? Maybe I need a reboot?
Arch Linux + Openbox
Offline
I wouldn't know if you have to reboot for the rules to be parsed. You don't need a graphical agent for this rule though, since it doesn't require authentication.
What I did to get my USB-stick to automount:
1. I opened Thunar
2. I hit edit->preferences
3. Checked "Enable Volume Management"
4. Hit "Configure"
5. Checked "Mount removable drives when hot-plugged"
6. Inserted the drive.
I then get a libnotify message and see the device mounted under the "DEVICES" list in the panel at the left of the window.
Do you have Thunar running when you hot-plug the device? What type of device is it? Digital cameras for example might require additional plugins.
Last edited by Steef435 (2014-02-16 15:23:51)
Offline
I rebooted, nothing changed. I tried both - keeping Thunar open and closed. Nothing worked. Volume Management doesn't change anything. Under Devices, I can only see File System. It's an HDD (NTFS).
Arch Linux + Openbox
Offline
ntfs-3g package is useful when dealing with NTFS filesystem, but I'm not sure if it has anything to do with mounting, I think it only provides write support.
https://wiki.archlinux.org/index.php/NTFS-3G
Offline
Nah, doesn't seem to work this way. I found a work-around by using udevil, which has built-in devmon. I made udevil to run automatically together with Openbox and now the hard drive appears under file system. If someone finds another way to make this work, feel free to write in this thread.
Arch Linux + Openbox
Offline
I faced the same issue with automounting. See this bug report: https://bugs.archlinux.org/task/38933#comment119964
An alternative, and I think preferable to udevil, is udiskie. It can use udisks2 and thus replicates the exact same mount behaviour as gvfs would do. I start udiskie as follows:
udiskie -2 -s &
Now automounting of all external devices works and thunar successfully recognises these devices as being mounted.
Last edited by orschiro (2014-03-04 06:06:45)
Offline
I had this same problem. gvfs isn't installed by default with xfce4 (or xfce4-goodies). I installed it and it started working as expected.
Offline