[kde-linux] dbus-launch in KDE
sagaralists at yahoo.com
Mon Dec 5 05:14:46 UTC 2005
--- Kevin Krammer <kevin.krammer at gmx.at> wrote:
> On Sunday 04 December 2005 03:07, Sagara Wijetunga
> > --- Kevin Krammer <kevin.krammer at gmx.at> wrote:
> > > I am not aware of any restrictions on the kind
> > > application autostart can
> > > launch.
> > >
> > > Maybe it exited because it encountered an error.
> > > you get any logs?
> > > Does it start if you run it manually from a
> > Hi Kevin, thanks for the reply.
> > I ran a small bash script from .desktop file which
> > contains following code:
> > if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
> > eval `/usr/bin/dbus-launch --auto-syntax
> > --exit-with-session`
> > fi
> > The --exit-with-session says close the dbus-launch
> > once session is closed.
> And this happens when the shell script ends, which
> will be almost immediately
> after starting it.
> Move your script to /usr/env, make sure it has an
> .sh extension
Yep, it worked. Thank you.
Start your day with Yahoo! - Make it your home page!
More information about the kde-linux