Re: [gentoo-user] re: automounting removable drives

2014-08-23 Thread Alexander Kapshuk
On 10/08/2013 09:21 PM, Samuli Suominen wrote:
 futhermore authorization from polkit/consolekit must be working, so
 you must see 'active = TRUE' line when you run `ck-list-sessions` in your
 Xfce's Terminal as a normal user, see this thread (first post of it):

 http://forums.gentoo.org/viewtopic-t-858965-start-0.html

 and like said, xfce4-mount-plugin is irrelevant, and `mount` command
 shouldn't be used at all for udisks maintained removable devices,
 instead `udisksctl mount` should be used as a normal user if you
 really want to mount from commandline 

I followed the instructions given above to set up for my removable
drives to automount on my laptop and desktop machines. I got it to work
flawlessly on my laptop, but not on the desktop. What I seem to be
having trouble figuring out is why my DVDs won't get automounted if I
eject a DVD and then load it again. The DVDs only seem to get
automounted when I first boot my system. I've checked the system logs,
compared the recommended settings given at the gentoo forum link above
against the settings on my laptop. Still didn't find anything amiss.

I little help would be appreciated.

Here's some info that might prove handy.

dmesg output:
[5.076608] ata5.00: ATAPI: Optiarc DVD RW AD-5200A, 1.01, max UDMA/66
[5.082537] ata5.00: configured for UDMA/66
[5.085298] scsi 4:0:0:0: CD-ROMOptiarc  DVD RW AD-5200A 
1.01 PQ: 0 ANSI: 5
[5.087417] sr0: scsi3-mmc drive: 94x/94x writer cd/rw xa/form2 cdda tray
[5.087421] cdrom: Uniform CD-ROM driver Revision: 3.20
[5.087668] sr 4:0:0:0: Attached scsi CD-ROM sr0
[5.087886] sr 4:0:0:0: Attached scsi generic sg1 type 5

udisksctl status
MODEL REVISION  SERIAL   DEVICE
--
ST3320613AS   SD11  9SZ08MMB sda
Optiarc DVD RW AD-5200A   1.01  Optiarc_DVD_RW_AD-5200A sr0

/var/log/messages showing the udisks activities when I unmounted the DVD
that got mounted at boot time.
Aug 23 16:32:00 localhost kernel: [24817.787649] UDF-fs: INFO Mounting
volume 'Adventures of T', timestamp 2012/12/17 20:58 (10b4)
Aug 23 16:32:00 localhost udisksd[3035]: Mounted /dev/sr0 at
/run/media/sasha/ADVENTURES OF TINTIN on behalf of uid 1000
Aug 23 16:32:07 localhost udisksd[3035]: Cleaning up mount point
/run/media/sasha/ADVENTURES OF TINTIN (device 11:0 is not mounted)
Aug 23 16:32:07 localhost udisksd[3035]: Unmounted /dev/sr0 on behalf of
uid 1000




Re: [gentoo-user] re: automounting removable drives [SOLVED]

2013-10-10 Thread Alexander Kapshuk
On 10/08/2013 10:08 PM, Samuli Suominen wrote:
 On 08/10/13 21:55, Alexander Kapshuk wrote:
 On 10/08/2013 09:21 PM, Samuli Suominen wrote:
 On 08/10/13 20:19, Alexander Kapshuk wrote:
 On 10/07/2013 11:45 PM, victor romanchuk wrote:
 On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
 Thanks for your responses. I'm sorry I forgot to mention that I do
 have
 xfce4-mount-plugin installed.

 box0=; equery list '*xfce*'|grep mount
 xfce-extra/xfce4-mount-plugin-0.6.4

 But I still can't auto-mount my removable drives. So I thought that
 perhaps some further configuration had to be done. That question
 still
 remains, how do I do it?

 Thanks.

 hi,

 you need to emerge just one package: xfce-extra/thunar-volman (it
 may pull some dependencies); it
 does what you asked for

 victor

 Thanks for your response. To save further confusion, which is
 something
 I should have done right from the word go, here's a list of all the
 xfce
 packages I have installed on my system:
 box0=; equery list '*xfce*'
* Searching for *xfce* ...
 [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
 [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
 [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
 [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
 [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
 [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
 [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-meta-4.10:0
 [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
 [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
 [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
 [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
 [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
 [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
 [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0

 xfce-base/thunar needs to have USE=udev enabled and
 xfce-extra/thunar-volman must be installed

 i don't see thunar-volman in your list there

 futhermore authorization from polkit/consolekit must be working, so
 you must see 'active = TRUE' line when you run `ck-list-sessions` in
 your
 Xfce's Terminal as a normal user, see this thread (first post of it):

 http://forums.gentoo.org/viewtopic-t-858965-start-0.html

 and like said, xfce4-mount-plugin is irrelevant, and `mount` command
 shouldn't be used at all for udisks maintained removable devices,
 instead `udisksctl mount` should be used as a normal user if you
 really want to mount from commandline

 Thanks.

 thunar/thunar-valman seem to be installed on my system as well:
 equery list '*thunar*'
   * Searching for *thunar* ...
 [IP-] [  ] xfce-base/thunar-1.6.2:0
 [IP-] [  ] xfce-extra/thunar-volman-0.8.0:0


 'ck-list-sessions' when run as a regular user returns:
 ** Message: Failed to connect to the D-Bus daemon: Failed to connect to
 socket /var/run/dbus/system_bus_socket: No such file or directory

 The post covers also this, it looks like you have forgot to add 'dbus'
 and 'consolekit' to the runlevels:

 # rc-update add consolekit default
 # rc-update add dbus default
 # /etc/init.d/consolekit start

 That will start dbus and ConsoleKit on boot as required, the system
 instances.

 Then there is the user instances, also covered by the post. For
 example, running Xfce using `startx` from text console:

 ~/.xinitrc file in your home directory has the content of:

 exec startxfce4 --with-ck-launch

 And then you can run

 $ startx

 But like said, this is all covered by the forums post. It's like a
 checklist.
I've followed the instructions described in the post you supplied by way
of the link above, and now I have my removable drives auto-mounting.

Thanks very much.




Re: [gentoo-user] re: automounting removable drives

2013-10-08 Thread Alexander Kapshuk
On 10/07/2013 11:45 PM, victor romanchuk wrote:
 On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
 Thanks for your responses. I'm sorry I forgot to mention that I do have
 xfce4-mount-plugin installed.

 box0=; equery list '*xfce*'|grep mount
 xfce-extra/xfce4-mount-plugin-0.6.4

 But I still can't auto-mount my removable drives. So I thought that
 perhaps some further configuration had to be done. That question still
 remains, how do I do it?

 Thanks.

 hi,

 you need to emerge just one package: xfce-extra/thunar-volman (it may pull 
 some dependencies); it
 does what you asked for

 victor

Thanks for your response. To save further confusion, which is something
I should have done right from the word go, here's a list of all the xfce
packages I have installed on my system:
box0=; equery list '*xfce*'
 * Searching for *xfce* ...
[IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
[IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
[IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
[IP-] [  ] xfce-base/libxfce4util-4.10.0:0
[IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-meta-4.10:0
[IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
[IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
[IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
[IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
[IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
[IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
[IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0

I just plugged in my USB memory stick. Here's the output of dmesg with
regard to that:
box0=; dmesg|tail -30
[ 1674.204287] ehci-pci :00:1a.7: GetStatus port:3 status 001005 0 
ACK POWER sig=se0 PE CONNECT
[ 1674.255067] usb 1-3: new high-speed USB device number 3 using ehci-pci
[ 1674.306278] ehci-pci :00:1a.7: port 3 reset complete, port enabled
[ 1674.306286] ehci-pci :00:1a.7: GetStatus port:3 status 001005 0 
ACK POWER sig=se0 PE CONNECT
[ 1674.370434] usb 1-3: default language 0x0409
[ 1674.371812] usb 1-3: udev 3, busnum 1, minor = 2
[ 1674.371816] usb 1-3: New USB device found, idVendor=0951, idProduct=1603
[ 1674.371819] usb 1-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 1674.371821] usb 1-3: Product: DataTraveler 2.0
[ 1674.371824] usb 1-3: Manufacturer: Kingston
[ 1674.371826] usb 1-3: SerialNumber: 000AEB91BC8CA9203550013A
[ 1674.371945] usb 1-3: usb_probe_device
[ 1674.371949] usb 1-3: configuration #1 chosen from 1 choice
[ 1674.372446] usb 1-3: adding 1-3:1.0 (config #1, interface 0)
[ 1674.372501] usb-storage 1-3:1.0: usb_probe_interface
[ 1674.372508] usb-storage 1-3:1.0: usb_probe_interface - got id
[ 1674.372511] usb-storage 1-3:1.0: USB Mass Storage device detected
[ 1674.372679] scsi6 : usb-storage 1-3:1.0
[ 1675.374695] scsi 6:0:0:0: Direct-Access Kingston DataTraveler 2.0
1.00 PQ: 0 ANSI: 2
[ 1675.377095] sd 6:0:0:0: [sdb] 7852032 512-byte logical blocks: (4.02
GB/3.74 GiB)
[ 1675.377860] sd 6:0:0:0: [sdb] Write Protect is off
[ 1675.377866] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 1675.378706] sd 6:0:0:0: [sdb] No Caching mode page present
[ 1675.378711] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1675.382693] sd 6:0:0:0: [sdb] No Caching mode page present
[ 1675.382698] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1675.608825]  sdb:
[ 1675.996321] sd 6:0:0:0: [sdb] No Caching mode page present
[ 1675.996326] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 1675.996330] sd 6:0:0:0: [sdb] Attached SCSI removable disk

As far as I can tell, it's not auto-mounted, is it? 'ls /media' and 'ls
/mnt' return nothing.

I could probably use the 'mount' command, to access the files on the
memory stick, I'd like my system to auto-mount it.

Any pointers would be appreciated.




Re: [gentoo-user] re: automounting removable drives

2013-10-08 Thread Samuli Suominen

On 08/10/13 20:19, Alexander Kapshuk wrote:

On 10/07/2013 11:45 PM, victor romanchuk wrote:

On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:

Thanks for your responses. I'm sorry I forgot to mention that I do have
xfce4-mount-plugin installed.

box0=; equery list '*xfce*'|grep mount
xfce-extra/xfce4-mount-plugin-0.6.4

But I still can't auto-mount my removable drives. So I thought that
perhaps some further configuration had to be done. That question still
remains, how do I do it?

Thanks.


hi,

you need to emerge just one package: xfce-extra/thunar-volman (it may pull some 
dependencies); it
does what you asked for

victor


Thanks for your response. To save further confusion, which is something
I should have done right from the word go, here's a list of all the xfce
packages I have installed on my system:
box0=; equery list '*xfce*'
  * Searching for *xfce* ...
[IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
[IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
[IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
[IP-] [  ] xfce-base/libxfce4util-4.10.0:0
[IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-meta-4.10:0
[IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
[IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
[IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
[IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
[IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
[IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
[IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0


xfce-base/thunar needs to have USE=udev enabled and 
xfce-extra/thunar-volman must be installed


i don't see thunar-volman in your list there

futhermore authorization from polkit/consolekit must be working, so you 
must see 'active = TRUE' line when you run `ck-list-sessions` in your

Xfce's Terminal as a normal user, see this thread (first post of it):

http://forums.gentoo.org/viewtopic-t-858965-start-0.html

and like said, xfce4-mount-plugin is irrelevant, and `mount` command 
shouldn't be used at all for udisks maintained removable devices, 
instead `udisksctl mount` should be used as a normal user if you really 
want to mount from commandline




Re: [gentoo-user] re: automounting removable drives

2013-10-08 Thread Alexander Kapshuk
On 10/08/2013 09:21 PM, Samuli Suominen wrote:
 On 08/10/13 20:19, Alexander Kapshuk wrote:
 On 10/07/2013 11:45 PM, victor romanchuk wrote:
 On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
 Thanks for your responses. I'm sorry I forgot to mention that I do
 have
 xfce4-mount-plugin installed.

 box0=; equery list '*xfce*'|grep mount
 xfce-extra/xfce4-mount-plugin-0.6.4

 But I still can't auto-mount my removable drives. So I thought that
 perhaps some further configuration had to be done. That question still
 remains, how do I do it?

 Thanks.

 hi,

 you need to emerge just one package: xfce-extra/thunar-volman (it
 may pull some dependencies); it
 does what you asked for

 victor

 Thanks for your response. To save further confusion, which is something
 I should have done right from the word go, here's a list of all the xfce
 packages I have installed on my system:
 box0=; equery list '*xfce*'
   * Searching for *xfce* ...
 [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
 [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
 [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
 [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
 [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
 [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
 [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-meta-4.10:0
 [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
 [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
 [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
 [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
 [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
 [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
 [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0

 xfce-base/thunar needs to have USE=udev enabled and
 xfce-extra/thunar-volman must be installed

 i don't see thunar-volman in your list there

 futhermore authorization from polkit/consolekit must be working, so
 you must see 'active = TRUE' line when you run `ck-list-sessions` in your
 Xfce's Terminal as a normal user, see this thread (first post of it):

 http://forums.gentoo.org/viewtopic-t-858965-start-0.html

 and like said, xfce4-mount-plugin is irrelevant, and `mount` command
 shouldn't be used at all for udisks maintained removable devices,
 instead `udisksctl mount` should be used as a normal user if you
 really want to mount from commandline

Thanks.

thunar/thunar-valman seem to be installed on my system as well:
equery list '*thunar*'
 * Searching for *thunar* ...
[IP-] [  ] xfce-base/thunar-1.6.2:0
[IP-] [  ] xfce-extra/thunar-volman-0.8.0:0


'ck-list-sessions' when run as a regular user returns:
** Message: Failed to connect to the D-Bus daemon: Failed to connect to
socket /var/run/dbus/system_bus_socket: No such file or directory

I'll go ahead and do as instructed in the forum post you supplied.

I'll let you know how I went once I've done it.

Thanks once again for your help.




Re: [gentoo-user] re: automounting removable drives

2013-10-08 Thread Alexander Kapshuk
On 10/08/2013 10:08 PM, Samuli Suominen wrote:
 On 08/10/13 21:55, Alexander Kapshuk wrote:
 On 10/08/2013 09:21 PM, Samuli Suominen wrote:
 On 08/10/13 20:19, Alexander Kapshuk wrote:
 On 10/07/2013 11:45 PM, victor romanchuk wrote:
 On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
 Thanks for your responses. I'm sorry I forgot to mention that I do
 have
 xfce4-mount-plugin installed.

 box0=; equery list '*xfce*'|grep mount
 xfce-extra/xfce4-mount-plugin-0.6.4

 But I still can't auto-mount my removable drives. So I thought that
 perhaps some further configuration had to be done. That question
 still
 remains, how do I do it?

 Thanks.

 hi,

 you need to emerge just one package: xfce-extra/thunar-volman (it
 may pull some dependencies); it
 does what you asked for

 victor

 Thanks for your response. To save further confusion, which is
 something
 I should have done right from the word go, here's a list of all the
 xfce
 packages I have installed on my system:
 box0=; equery list '*xfce*'
* Searching for *xfce* ...
 [IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
 [IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
 [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
 [IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
 [IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
 [IP-] [  ] xfce-base/libxfce4util-4.10.0:0
 [IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-meta-4.10:0
 [IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
 [IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
 [IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
 [IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
 [IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
 [IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
 [IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
 [IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0

 xfce-base/thunar needs to have USE=udev enabled and
 xfce-extra/thunar-volman must be installed

 i don't see thunar-volman in your list there

 futhermore authorization from polkit/consolekit must be working, so
 you must see 'active = TRUE' line when you run `ck-list-sessions` in
 your
 Xfce's Terminal as a normal user, see this thread (first post of it):

 http://forums.gentoo.org/viewtopic-t-858965-start-0.html

 and like said, xfce4-mount-plugin is irrelevant, and `mount` command
 shouldn't be used at all for udisks maintained removable devices,
 instead `udisksctl mount` should be used as a normal user if you
 really want to mount from commandline

 Thanks.

 thunar/thunar-valman seem to be installed on my system as well:
 equery list '*thunar*'
   * Searching for *thunar* ...
 [IP-] [  ] xfce-base/thunar-1.6.2:0
 [IP-] [  ] xfce-extra/thunar-volman-0.8.0:0


 'ck-list-sessions' when run as a regular user returns:
 ** Message: Failed to connect to the D-Bus daemon: Failed to connect to
 socket /var/run/dbus/system_bus_socket: No such file or directory

 The post covers also this, it looks like you have forgot to add 'dbus'
 and 'consolekit' to the runlevels:

 # rc-update add consolekit default
 # rc-update add dbus default
 # /etc/init.d/consolekit start

 That will start dbus and ConsoleKit on boot as required, the system
 instances.

 Then there is the user instances, also covered by the post. For
 example, running Xfce using `startx` from text console:

 ~/.xinitrc file in your home directory has the content of:

 exec startxfce4 --with-ck-launch

 And then you can run

 $ startx

 But like said, this is all covered by the forums post. It's like a
 checklist.

I'll certainly do that.

Thanks very much.




Re: [gentoo-user] re: automounting removable drives

2013-10-08 Thread Samuli Suominen

On 08/10/13 21:55, Alexander Kapshuk wrote:

On 10/08/2013 09:21 PM, Samuli Suominen wrote:

On 08/10/13 20:19, Alexander Kapshuk wrote:

On 10/07/2013 11:45 PM, victor romanchuk wrote:

On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:

Thanks for your responses. I'm sorry I forgot to mention that I do
have
xfce4-mount-plugin installed.

box0=; equery list '*xfce*'|grep mount
xfce-extra/xfce4-mount-plugin-0.6.4

But I still can't auto-mount my removable drives. So I thought that
perhaps some further configuration had to be done. That question still
remains, how do I do it?

Thanks.


hi,

you need to emerge just one package: xfce-extra/thunar-volman (it
may pull some dependencies); it
does what you asked for

victor


Thanks for your response. To save further confusion, which is something
I should have done right from the word go, here's a list of all the xfce
packages I have installed on my system:
box0=; equery list '*xfce*'
   * Searching for *xfce* ...
[IP-] [  ] dev-util/xfce4-dev-tools-4.10.0:0
[IP-] [  ] x11-terms/xfce4-terminal-0.4.8:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
[IP-] [  ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
[IP-] [  ] xfce-base/libxfce4ui-4.10.0:0
[IP-] [  ] xfce-base/libxfce4util-4.10.0:0
[IP-] [  ] xfce-base/xfce4-appfinder-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-meta-4.10:0
[IP-] [  ] xfce-base/xfce4-panel-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-session-4.10.0-r1:0
[IP-] [  ] xfce-base/xfce4-settings-4.10.0:0
[IP-] [  ] xfce-extra/xfce4-mixer-4.10.0:0
[IP-] [  ] xfce-extra/xfce4-mount-plugin-0.6.4:0
[IP-] [  ] xfce-extra/xfce4-notifyd-0.2.2:0
[IP-] [  ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
[IP-] [  ] xfce-extra/xfce4-weather-plugin-0.8.3:0
[IP-] [  ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0


xfce-base/thunar needs to have USE=udev enabled and
xfce-extra/thunar-volman must be installed

i don't see thunar-volman in your list there

futhermore authorization from polkit/consolekit must be working, so
you must see 'active = TRUE' line when you run `ck-list-sessions` in your
Xfce's Terminal as a normal user, see this thread (first post of it):

http://forums.gentoo.org/viewtopic-t-858965-start-0.html

and like said, xfce4-mount-plugin is irrelevant, and `mount` command
shouldn't be used at all for udisks maintained removable devices,
instead `udisksctl mount` should be used as a normal user if you
really want to mount from commandline


Thanks.

thunar/thunar-valman seem to be installed on my system as well:
equery list '*thunar*'
  * Searching for *thunar* ...
[IP-] [  ] xfce-base/thunar-1.6.2:0
[IP-] [  ] xfce-extra/thunar-volman-0.8.0:0


'ck-list-sessions' when run as a regular user returns:
** Message: Failed to connect to the D-Bus daemon: Failed to connect to
socket /var/run/dbus/system_bus_socket: No such file or directory


The post covers also this, it looks like you have forgot to add 'dbus' 
and 'consolekit' to the runlevels:


# rc-update add consolekit default
# rc-update add dbus default
# /etc/init.d/consolekit start

That will start dbus and ConsoleKit on boot as required, the system 
instances.


Then there is the user instances, also covered by the post. For example, 
running Xfce using `startx` from text console:


~/.xinitrc file in your home directory has the content of:

exec startxfce4 --with-ck-launch

And then you can run

$ startx

But like said, this is all covered by the forums post. It's like a 
checklist.




Re: [gentoo-user] re: automounting removable drives

2013-10-08 Thread Bruce Hill
On Tue, Oct 08, 2013 at 08:19:40PM +0300, Alexander Kapshuk wrote:
 
 I just plugged in my USB memory stick. Here's the output of dmesg with
 regard to that:
 box0=; dmesg|tail -30
 [ 1674.204287] ehci-pci :00:1a.7: GetStatus port:3 status 001005 0 
 ACK POWER sig=se0 PE CONNECT
 [ 1674.255067] usb 1-3: new high-speed USB device number 3 using ehci-pci
 [ 1674.306278] ehci-pci :00:1a.7: port 3 reset complete, port enabled
 [ 1674.306286] ehci-pci :00:1a.7: GetStatus port:3 status 001005 0 
 ACK POWER sig=se0 PE CONNECT
 [ 1674.370434] usb 1-3: default language 0x0409
 [ 1674.371812] usb 1-3: udev 3, busnum 1, minor = 2
 [ 1674.371816] usb 1-3: New USB device found, idVendor=0951, idProduct=1603
 [ 1674.371819] usb 1-3: New USB device strings: Mfr=1, Product=2,
 SerialNumber=3
 [ 1674.371821] usb 1-3: Product: DataTraveler 2.0
 [ 1674.371824] usb 1-3: Manufacturer: Kingston
 [ 1674.371826] usb 1-3: SerialNumber: 000AEB91BC8CA9203550013A
 [ 1674.371945] usb 1-3: usb_probe_device
 [ 1674.371949] usb 1-3: configuration #1 chosen from 1 choice
 [ 1674.372446] usb 1-3: adding 1-3:1.0 (config #1, interface 0)
 [ 1674.372501] usb-storage 1-3:1.0: usb_probe_interface
 [ 1674.372508] usb-storage 1-3:1.0: usb_probe_interface - got id
 [ 1674.372511] usb-storage 1-3:1.0: USB Mass Storage device detected
 [ 1674.372679] scsi6 : usb-storage 1-3:1.0
 [ 1675.374695] scsi 6:0:0:0: Direct-Access Kingston DataTraveler 2.0
 1.00 PQ: 0 ANSI: 2
 [ 1675.377095] sd 6:0:0:0: [sdb] 7852032 512-byte logical blocks: (4.02
 GB/3.74 GiB)
 [ 1675.377860] sd 6:0:0:0: [sdb] Write Protect is off
 [ 1675.377866] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
 [ 1675.378706] sd 6:0:0:0: [sdb] No Caching mode page present
 [ 1675.378711] sd 6:0:0:0: [sdb] Assuming drive cache: write through
 [ 1675.382693] sd 6:0:0:0: [sdb] No Caching mode page present
 [ 1675.382698] sd 6:0:0:0: [sdb] Assuming drive cache: write through
 [ 1675.608825]  sdb:
 [ 1675.996321] sd 6:0:0:0: [sdb] No Caching mode page present
 [ 1675.996326] sd 6:0:0:0: [sdb] Assuming drive cache: write through
 [ 1675.996330] sd 6:0:0:0: [sdb] Attached SCSI removable disk

Additionally, there doesn't seem to be any partitions on that device. Is this
some type of filesystem/label which does not have one? Such as sdb1
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] re: automounting removable drives

2013-10-07 Thread Alexander Kapshuk
On 10/07/2013 08:08 AM, Samuli Suominen wrote:
 On 07/10/13 00:01, Frank Steinmetzger wrote:
 On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote:
 I want to be able auto-mount removable drives. I'm running xfce:
 box0=; equery list xfce-base/xfce4-meta
   * Searching for xfce4-meta in xfce-base ...
 [IP-] [  ] xfce-base/xfce4-meta-4.10:0

 and kernel:
 box0=; uname -a
 Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686
 Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux

 Is udisks the only avenue available to me, as shown here?:
 http://wiki.gentoo.org/wiki/Udisks

 I only use XFCE very sporadically, but I remember missing that feature
 at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not
 part of the basic meta installation.


 wrong. xfce4-mount-plugin is a plug-in to define manual mount points
 and do manual mounting.

Thanks for your responses. I'm sorry I forgot to mention that I do have
xfce4-mount-plugin installed.

box0=; equery list '*xfce*'|grep mount
xfce-extra/xfce4-mount-plugin-0.6.4

But I still can't auto-mount my removable drives. So I thought that
perhaps some further configuration had to be done. That question still
remains, how do I do it?

Thanks.




Re: [gentoo-user] re: automounting removable drives

2013-10-07 Thread victor romanchuk
On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
 Thanks for your responses. I'm sorry I forgot to mention that I do have
 xfce4-mount-plugin installed.

 box0=; equery list '*xfce*'|grep mount
 xfce-extra/xfce4-mount-plugin-0.6.4

 But I still can't auto-mount my removable drives. So I thought that
 perhaps some further configuration had to be done. That question still
 remains, how do I do it?

 Thanks.


hi,

you need to emerge just one package: xfce-extra/thunar-volman (it may pull some 
dependencies); it
does what you asked for

victor



[gentoo-user] re: automounting removable drives

2013-10-06 Thread Alexander Kapshuk
I want to be able auto-mount removable drives. I'm running xfce:
box0=; equery list xfce-base/xfce4-meta
 * Searching for xfce4-meta in xfce-base ...
[IP-] [  ] xfce-base/xfce4-meta-4.10:0

and kernel:
box0=; uname -a
Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686
Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux

Is udisks the only avenue available to me, as shown here?:
http://wiki.gentoo.org/wiki/Udisks

Thanks.




Re: [gentoo-user] re: automounting removable drives

2013-10-06 Thread Frank Steinmetzger
On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote:
 I want to be able auto-mount removable drives. I'm running xfce:
 box0=; equery list xfce-base/xfce4-meta
  * Searching for xfce4-meta in xfce-base ...
 [IP-] [  ] xfce-base/xfce4-meta-4.10:0
 
 and kernel:
 box0=; uname -a
 Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686
 Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux
 
 Is udisks the only avenue available to me, as shown here?:
 http://wiki.gentoo.org/wiki/Udisks

I only use XFCE very sporadically, but I remember missing that feature
at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not
part of the basic meta installation.
-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

“Don't put multiple statements on a single line unless you have something
to hide.” – Linux Torvalds, Linux kernel coding style documentation


signature.asc
Description: Digital signature


Re: [gentoo-user] re: automounting removable drives

2013-10-06 Thread Samuli Suominen

On 07/10/13 00:01, Frank Steinmetzger wrote:

On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote:

I want to be able auto-mount removable drives. I'm running xfce:
box0=; equery list xfce-base/xfce4-meta
  * Searching for xfce4-meta in xfce-base ...
[IP-] [  ] xfce-base/xfce4-meta-4.10:0

and kernel:
box0=; uname -a
Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686
Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux

Is udisks the only avenue available to me, as shown here?:
http://wiki.gentoo.org/wiki/Udisks


I only use XFCE very sporadically, but I remember missing that feature
at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not
part of the basic meta installation.



wrong. xfce4-mount-plugin is a plug-in to define manual mount points and 
do manual mounting.