You are not logged in.

#1 2011-08-30 15:39:37

chimeracoder
Member
From: New York
Registered: 2010-10-24
Posts: 73

Cannot auto-mount drives/disks with thunar / thunar-volman

I'm using XFCE4 with thunar-volman, but I still can't get my external hard drive to mount automatically, nor can I figure out how to open an audio CD.

I am able to mount my drive by creating a udev rule , but nothing shows up in Thunar when I plug in the drive or insert a CD.

As you can see, the drive does show up in dmesg:

[ 5069.816744] usb 4-1.2: new high speed USB device number 8 using ehci_hcd
[ 5069.901907] scsi10 : usb-storage 4-1.2:1.0
[ 5070.900456] scsi 10:0:0:0: Direct-Access     Seagate  FreeAgent Go     0148 PQ: 0 ANSI: 4
[ 5070.900698] sd 10:0:0:0: Attached scsi generic sg3 type 0
[ 5070.901245] sd 10:0:0:0: [sdc] 976773167 512-byte logical blocks: (500 GB/465 GiB)
[ 5070.901856] sd 10:0:0:0: [sdc] Write Protect is off
[ 5070.901861] sd 10:0:0:0: [sdc] Mode Sense: 1c 00 00 00
[ 5070.902350] sd 10:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5070.961791]  sdc: sdc1
[ 5070.964198] sd 10:0:0:0: [sdc] Attached SCSI disk

As for the audio CD, I've ruled out a physical problem with the drive, as I can mount my Arch install disk properly.


EDIT: I should clarify - I can mount my Arch CD manually, not automatically through Thunar (which I would like to be able to do).

Last edited by chimeracoder (2011-08-30 15:41:24)

Offline

#2 2011-08-30 15:47:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cannot auto-mount drives/disks with thunar / thunar-volman

You can rip or play an AudioCD, you can't mount them, as they don't have any filesystem there, just a stream of bits.

Offline

#3 2011-08-30 16:25:03

chimeracoder
Member
From: New York
Registered: 2010-10-24
Posts: 73

Re: Cannot auto-mount drives/disks with thunar / thunar-volman

I am aware that I cannot mount an audio CD, but on Gnome, the disc shows up in Nautilus - from my understanding, XFCE/Thunar works the same way. How do I open the CD?


Also, I still cannot auto (un-)mount the disk through Thunar.

Offline

#4 2011-08-30 16:32:07

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 684

Re: Cannot auto-mount drives/disks with thunar / thunar-volman

How do you launch your session? With .xinitrc? If yes, than you have to have .xinitrc like this:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

#if [ -d /etc/X11/xinit/xinitrc.d ]; then
#  for f in /etc/X11/xinit/xinitrc.d/*; do
#    [ -x "$f" ] && . "$f"
#  done
#  unset f
#fi

exec ck-launch-session startxfce4

read https://wiki.archlinux.org/index.php/Xfce#Manually

For external device to showing up on desktop and thunar you will need gvfs package. In above link you will get all needed information.

Last edited by Shark (2011-08-30 16:34:34)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#5 2011-08-30 18:02:25

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: Cannot auto-mount drives/disks with thunar / thunar-volman

When I ran xfce I had to put "dbus"  somewhere in that launch command in order for drives to auto-mount.


Registered Linux user #436067

Offline

#6 2011-09-01 02:36:46

chimeracoder
Member
From: New York
Registered: 2010-10-24
Posts: 73

Re: Cannot auto-mount drives/disks with thunar / thunar-volman

I have gvfs installed, and my .xinitrc has the following line:

exec ck-launch-session dbus-launch startxfce4

.

Audio CDs now show up on the desktop and work perfectly.

Other drives show up on the desktop, but they do not auto-mount, and I am still unable to mount them except manually, and as root (not user).

Offline

#7 2011-09-08 15:30:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cannot auto-mount drives/disks with thunar / thunar-volman

What filesystems are on those other drives? NTFS?

Offline

#8 2011-09-09 07:44:23

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

Re: Cannot auto-mount drives/disks with thunar / thunar-volman

Silly question here, but have you enabled and configured volume management in Thunar's preferences advanced tab?

Since gvfs is required to manage hotplugging devices in Thunar, and gvfs is not a required dependency, these options are disabled by default.

Cheers.

Last edited by Padfoot (2011-09-09 07:52:35)

Offline

Board footer

Powered by FluxBB