You are not logged in.
Pages: 1
I am having problems getting auto mounting to work in thunar. I followed this guide with no success
https://wiki.archlinux.org/index.php/Th … tomounting
I would like thunar to show the device on the side panel.
Last edited by TheCash (2011-12-26 08:24:21)
Offline
This link, Here, where it says:
#!/bin/sh
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
modify the last line to say:
exec ck-launch-session dbus-launch --exit-with-session startxfce4
That's what I had to do anyway. It only applies if that is how you're launching Xfce?
Last edited by headkase (2011-12-26 03:46:39)
Offline
I'm not using xfce I'm using just openbox
so whould I change it to openbox-session?
EDIT: also I am using slim
Last edited by TheCash (2011-12-26 04:05:37)
Offline
Ok, I don't know about openbox. I just set up Xfce over today and yesterday and I had to add that dbus launch to get USB thumb-drives to mount automatically. I'm also using slim BUT openbox is not Xfce so it probably won't help. The "startxfce4" is supposed to launch dbus but obviously it doesn't do it properly when it comes to auto-mounting devices in Xfce4. So, might not hurt to try but I don't think the chances are good.
Offline
I'll try that. Any other suggestions anyone?
EDIT: Didn't work
Last edited by TheCash (2011-12-26 04:18:31)
Offline
Offline
In order to automount in openbox you need to install gvfs
pacman -S gvfs
Also, if you're using thunar as file manager you need to install thunar-volman
pacman -S thunar-volman
I know my english sucks
Offline
~/.xinitrc (before last line you can start programs that do not need dbus)
#!/bin/sh
exec ck-launch-session dbus-launch --exit-with-session openbox-session
~/.config/openbox/autostart (to start programs into the dbus session of openbox)
#!/bin/sh
#pcmanfm -d &
thunar --daemon &
/etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla
[Storage]
Identity=unix-group:storage
Action=org.freedesktop.udisks.*
ResultAny=yes
ResultActive=yes
ResultInactive=no
/etc/polkit-1/localauthority/50-local.d/org.freedesktop.upower.pkla (try this if power management fails)
[Power]
Identity=unix-group:power
Action=org.freedesktop.upower.*
ResultAny=yes
ResultActive=yes
ResultInactive=no
thunar-volman is only required if you want popups on automount or set default actions, the device shows up anyways in the sidebar.
Offline
grandmouse's suggestion worked but now when i click on the icon is says:
"failed to mount not authorized"
What do I need to do to fix the Permissions?
Offline
What StuMx said, holds true (you need gvfs and thunar-volman installed). As for .xinitrc, the important thing is to comment out the bit that loads stuff from /etc/X11/xinit/xinitrc.d (mainly 30-dbus, which loads up yet another dbus session and is messing things up).
Please try:
#!/bin/sh
#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 dbus-launch --exit-with-session openbox-session
Output of ck-list-sessions and pstree would be helpful.
Offline
samuvuo
my .xintirc was already like that.
Output of ck-list-sessions
Session3:
unix-user = '1000'
realname = 'Eric Cash'
seat = 'Seat1'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-12-26T07:08:38.302491Z'
login-session-id = '1'
Session2:
unix-user = '1000'
realname = 'Eric Cash'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0.0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-12-26T07:08:37.977991Z'
login-session-id = '1'
Session1:
unix-user = '1000'
realname = 'Eric Cash'
seat = 'Seat2'
session-type = ''
active = FALSE
x11-display = ':0.0'
x11-display-device = ''
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2011-12-26T07:08:37.881589Z'
login-session-id = '1
output of pstree
init─┬─6*[agetty]
├─chromium─┬─2*[chromium───4*[{chromium}]]
│ └─nacl_helper_boo
├─console-kit-dae───64*[{console-kit-da}]
├─crond
├─2*[dbus-daemon]
├─dbus-launch
├─dconf-service───2*[{dconf-service}]
├─dhcpcd
├─gvfs-fuse-daemo───3*[{gvfs-fuse-daem}]
├─gvfs-gdu-volume
├─gvfsd
├─gvfsd-dnssd
├─gvfsd-metadata
├─gvfsd-network───2*[{gvfsd-network}]
├─gvfsd-trash
├─polkitd───{polkitd}
├─slim─┬─X
│ └─ck-launch-sessi───ck-launch-sessi───openbox─┬─chromium─┬─chromium+++
│ │ └─16*[{chr+
│ └─urxvt───bash───pstr+
├─syslog-ng───syslog-ng
├─thunar───2*[{thunar}]
├─tint2
├─udevd───2*[udevd]
├─udisks-daemon─┬─udisks-daemon
│ └─2*[{udisks-daemon}]
├─wicd─┬─dhcpcd
│ └─wicd-monitor
├─wicd-client
├─wpa_supplicant
└─xfconfd
EDIT: there is 2 ck-launch-session could that be the problem?
Last edited by TheCash (2011-12-26 07:35:00)
Offline
EDIT: there is 2 ck-launch-session could that be the problem?
Most likely. How's you login_cmd in /etc/slim.conf? ck-launch-session launched there also?
grep ^login /etc/slim.conf
Offline
Thanks for the help removing ck-launch-session from /etc/slim.conf fixed it.
Marking as solved
Offline
Pages: 1