Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Samuli Suominen <ssuominen@g.o>
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] re: automounting removable drives [SOLVED]
Date: Thu, 10 Oct 2013 19:41:00
Message-Id: 525702C5.6000508@gmail.com
In Reply to: Re: [gentoo-user] re: automounting removable drives by Samuli Suominen
1 On 10/08/2013 10:08 PM, Samuli Suominen wrote:
2 > On 08/10/13 21:55, Alexander Kapshuk wrote:
3 >> On 10/08/2013 09:21 PM, Samuli Suominen wrote:
4 >>> On 08/10/13 20:19, Alexander Kapshuk wrote:
5 >>>> On 10/07/2013 11:45 PM, victor romanchuk wrote:
6 >>>>> On 10/07/2013 11:36 PM, Alexander Kapshuk wrote:
7 >>>>>> Thanks for your responses. I'm sorry I forgot to mention that I do
8 >>>>>> have
9 >>>>>> xfce4-mount-plugin installed.
10 >>>>>>
11 >>>>>> box0=; equery list '*xfce*'|grep mount
12 >>>>>> xfce-extra/xfce4-mount-plugin-0.6.4
13 >>>>>>
14 >>>>>> But I still can't auto-mount my removable drives. So I thought that
15 >>>>>> perhaps some further configuration had to be done. That question
16 >>>>>> still
17 >>>>>> remains, how do I do it?
18 >>>>>>
19 >>>>>> Thanks.
20 >>>>>>
21 >>>>> hi,
22 >>>>>
23 >>>>> you need to emerge just one package: xfce-extra/thunar-volman (it
24 >>>>> may pull some dependencies); it
25 >>>>> does what you asked for
26 >>>>>
27 >>>>> victor
28 >>>>>
29 >>>> Thanks for your response. To save further confusion, which is
30 >>>> something
31 >>>> I should have done right from the word go, here's a list of all the
32 >>>> xfce
33 >>>> packages I have installed on my system:
34 >>>> box0=; equery list '*xfce*'
35 >>>> * Searching for *xfce* ...
36 >>>> [IP-] [ ] dev-util/xfce4-dev-tools-4.10.0:0
37 >>>> [IP-] [ ] x11-terms/xfce4-terminal-0.4.8:0
38 >>>> [IP-] [ ] x11-themes/gtk-engines-xfce-3.0.1-r200:0
39 >>>> [IP-] [ ] x11-themes/gtk-engines-xfce-3.0.1-r300:3
40 >>>> [IP-] [ ] xfce-base/libxfce4ui-4.10.0:0
41 >>>> [IP-] [ ] xfce-base/libxfce4util-4.10.0:0
42 >>>> [IP-] [ ] xfce-base/xfce4-appfinder-4.10.0-r1:0
43 >>>> [IP-] [ ] xfce-base/xfce4-meta-4.10:0
44 >>>> [IP-] [ ] xfce-base/xfce4-panel-4.10.0-r1:0
45 >>>> [IP-] [ ] xfce-base/xfce4-session-4.10.0-r1:0
46 >>>> [IP-] [ ] xfce-base/xfce4-settings-4.10.0:0
47 >>>> [IP-] [ ] xfce-extra/xfce4-mixer-4.10.0:0
48 >>>> [IP-] [ ] xfce-extra/xfce4-mount-plugin-0.6.4:0
49 >>>> [IP-] [ ] xfce-extra/xfce4-notifyd-0.2.2:0
50 >>>> [IP-] [ ] xfce-extra/xfce4-sensors-plugin-1.2.5:0
51 >>>> [IP-] [ ] xfce-extra/xfce4-weather-plugin-0.8.3:0
52 >>>> [IP-] [ ] xfce-extra/xfce4-xkb-plugin-0.5.4.3:0
53 >>>
54 >>> xfce-base/thunar needs to have USE="udev" enabled and
55 >>> xfce-extra/thunar-volman must be installed
56 >>>
57 >>> i don't see thunar-volman in your list there
58 >>>
59 >>> futhermore authorization from polkit/consolekit must be working, so
60 >>> you must see 'active = TRUE' line when you run `ck-list-sessions` in
61 >>> your
62 >>> Xfce's Terminal as a normal user, see this thread (first post of it):
63 >>>
64 >>> http://forums.gentoo.org/viewtopic-t-858965-start-0.html
65 >>>
66 >>> and like said, xfce4-mount-plugin is irrelevant, and `mount` command
67 >>> shouldn't be used at all for udisks maintained removable devices,
68 >>> instead `udisksctl mount` should be used as a normal user if you
69 >>> really want to mount from commandline
70 >>>
71 >> Thanks.
72 >>
73 >> thunar/thunar-valman seem to be installed on my system as well:
74 >> equery list '*thunar*'
75 >> * Searching for *thunar* ...
76 >> [IP-] [ ] xfce-base/thunar-1.6.2:0
77 >> [IP-] [ ] xfce-extra/thunar-volman-0.8.0:0
78 >>
79 >>
80 >> 'ck-list-sessions' when run as a regular user returns:
81 >> ** Message: Failed to connect to the D-Bus daemon: Failed to connect to
82 >> socket /var/run/dbus/system_bus_socket: No such file or directory
83 >
84 > The post covers also this, it looks like you have forgot to add 'dbus'
85 > and 'consolekit' to the runlevels:
86 >
87 > # rc-update add consolekit default
88 > # rc-update add dbus default
89 > # /etc/init.d/consolekit start
90 >
91 > That will start dbus and ConsoleKit on boot as required, the system
92 > instances.
93 >
94 > Then there is the user instances, also covered by the post. For
95 > example, running Xfce using `startx` from text console:
96 >
97 > ~/.xinitrc file in your home directory has the content of:
98 >
99 > exec startxfce4 --with-ck-launch
100 >
101 > And then you can run
102 >
103 > $ startx
104 >
105 > But like said, this is all covered by the forums post. It's like a
106 > checklist.
107 I've followed the instructions described in the post you supplied by way
108 of the link above, and now I have my removable drives auto-mounting.
109
110 Thanks very much.