KNotify startup

Lubos Lunak l.lunak at suse.cz
Mon Oct 22 16:16:11 BST 2007


On Sunday 21 of October 2007, Allen Winter wrote:
> On Thursday 07 June 2007 04:15:07 am Thiago Macieira wrote:
> > Lubos Lunak said:
> > > On Wednesday 06 of June 2007, Olivier Goffart wrote:
> > >> Le mercredi 6 juin 2007, Rafael Fernández López a écrit :
> > >> > Hi,
> > >> >
> > >> > I just wonder why knotify service is note started on the startkde
> > >> script. I think it would be really useful.
> > >>
> > >> The idea was to start knotify with the dbus daemon activation thing.
> > >> But
> > >> this doesn't work because this is broken by design. (It require to
> > >> install
> > >> a file in a place which is at least not possible in my installation)
> >
> > The D-Bus daemon honours $XDG_DATA_DIRS. So, set it to include your KDE
> > installation before you start the D-Bus daemon.
>
> We are doing that now in startkde.  You'll see dfaure and I added some
> code to set XDG_DATA_DIRS immediately before qdbus starts.
>
> > I have a proposal to enhance the D-Bus activation thing with
> > desktop-specific configuration. But this won't help running KDE
> > applications outside KDE.
>
> Did that proposal get accepted and, if so, has it been implemented?
> Maybe I'm using an old d-bus?  I have version 1.0.1
>
> > >> So yes, it should be probably started with startkde.
> > >> But it still need to be started on demand anyway to work in non KDE
> > >> environment.
> > >
> > >  In which case there's not much point in starting it in startkde, right
> > > :) ?
> >
> > startkde won't help, actually. This needs to be started even when run
> > from outside a full KDE session.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> Unless you have a better idea, I think we currently have no choice but
> to start knotify4 from startkde.

 What's wrong with launching it on demand from the kdelibs class like it's 
done in KDE3?

> Please let me know how to proceed.  I really would like to fix this.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz




More information about the kde-core-devel mailing list