Greetings from Tacoma, WA, USA, Earth, Sol, Milky Way, Verse, Johannes!
On Thursday, October 19, in the 2006th year of our Lord, you wrote:

> Christian Schmidt schrieb:
>> On Thu, Oct 19, 2006 at 10:55:02AM +0200, Johannes Held wrote:
>> [...]
>>> and that's my .xinitrc (shortversion) 
>>>  #!/bin/sh 
>>>  ~/t.sh & 
>>>  openbox 
>>>  exec dbus-launch --exit-with-session openbox 
>> Well, starting openbox twice is bound to fail. Just remove "openbox" at like 
>> 3. 
> No, THAT IS my workaround.
>
> If I start openbox via "dbus-lauch" (or simply by "exec openbox") openbox 
> takes 
> up to 100% CPU and hangs. 
> I have to kill the X-Server and to "killall -9 openbox". 
> Only then it's working.
>
> Cause I hate to kill X every time - I start openbox and kill it and then 
> start 
> it properly.
>
> So, the double "openbox"ing is my workaround.

Uhm, try this instead...

dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z 
"$DBUS_SESSION_BUS_ADDRESS" ]; then
  eval `$dbuslaunch --sh-syntax --exit-with-session` 
fi

exec openbox

That way dbus gets launched correctly, regardless of windowmanager or
desktop environment.

-- 
Take it easy, Charles

FSF Apologist, WikiNut, Concrete Analyst, etc.
JABBER: [EMAIL PROTECTED] GIZMO: charlesmauch AIM: cmauch5

:: When your memory goes, forget it!

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to