Re: dbus and the bus address
Kelly Clowers" <kelly.clowers@gmail.com> wrote:
|> I have something like this in my ~/.bash_profile
|> (because I start X manually, and I want dbus on before X starts ):
|>
|> if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
|> ## if not found, launch a new one
|> eval $(dbus-launch --sh-syntax)
|> export DBUS_SESSION_BUS_ADDRESS
|> export DBUS_SESSION_BUS_PID
|> fi
|>
|> Anyway, I hope this helps at least a little.
Actually, I tried putting the same code in /usr/bin/f-spot (the script that calls the f-spot
executable), which seems like a more sensible place for it, and it worked fine from there also,
Jim
Reply to: