[kde-linux] dbus-launch in KDE

Sagara Wijetunga 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
> wrote:
> > --- Kevin Krammer <kevin.krammer at gmx.at> wrote:
> > > I am not aware of any restrictions on the kind
> of
> > > application autostart can
> > > launch.
> > >
> > > Maybe it exited because it encountered an error.
> Did
> > > you get any logs?
> > > Does it start if you run it manually from a
> shell?
> >
> > 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.

Sagara


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs



More information about the kde-linux mailing list