You are not logged in.

#1 2011-01-03 01:23:57

Visti
Member
Registered: 2009-09-30
Posts: 13

Openbox and ck-launch-session

Hey guys, I have a problem with automounting in Openbox.

It tried using "ck-launch-session openbox-session" in my xinitrc, but that doesn't work. However, running ck-launch-session in a terminal inside openbox when already fully launched makes automounting work like a charm. It doesn't work if I put it in my openbox autostart script, though.

What do I do here?

Offline

#2 2011-01-03 02:48:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Openbox and ck-launch-session

[stijn@hermes ~]$ grep ck-launch-session .xinitrc
exec ck-launch-session /usr/bin/openbox-session

Tip of the day: absolute paths. Always a winner.

It never hurts to play around either smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-01-03 03:21:38

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Openbox and ck-launch-session

I can confirm that this does not work with absolute paths. Also does not work with Fluxbox.

Edit: also, invoking dbus-launch after ck-launch-session seems not to work. Even using gvfs instead of just libfm, drives fail to appear in pcmanfm.

Edit2: setting polkit to allow any user to mount stuff doesn't work either.

Edit3: I'm submitting a bug report now.

Edit4: waitaminute I just got gvfs working. Looks to me like support for udisks is broken again, I'll bet it's upstream.

Last edited by Gullible Jones (2011-01-03 03:39:19)

Offline

#4 2011-01-03 03:47:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Openbox and ck-launch-session

Okay, I spoke too soon, it looks like the only way to get it working is to a) use gvfs and b) ditch consolekit and set polkit to let any user mount stuff. Eww.

Offline

#5 2011-01-03 22:28:38

Visti
Member
Registered: 2009-09-30
Posts: 13

Re: Openbox and ck-launch-session

Hm, I guess I'd be alright with setting polkit to let any user automount. I'll have to look into how to do that.

Offline

Board footer

Powered by FluxBB