anders at alweb.dk
Mon Jan 2 11:57:11 GMT 2006
On Monday 02 January 2006 02:03, Waldo Bastian wrote:
> On Saturday 31 December 2005 16:43, Anders Lund wrote:
> > On Sunday 01 January 2006 01:19, Waldo Bastian wrote:
> > > .desktop files have an entry X-DCOP-ServiceType and X-DCOP-ServiceName
> > > that essentially tell the launcher how the application will register
> > > itself with DCOP. Once the application has registered in that way, the
> > > launcher will return successfully.
> > >
> > > In general, if the process that gets started exits before the
> > > application is registered with DCOP, it assumes something went wrong
> > > and returns an error.
> > >
> > > X-DCOP-ServiceType can have the following values:
> > > * None - Don't wait for DCOP registration, return success immediate.
> > > * Unique - Application registers as a unique application
> > > * Multi - Application registers as name-<pid>
> > > * Wait - Wait till the process exists and return success.
> > So I could try setting the type to Wait or None.
> > Will that be likely to have any unwanted side effects?
> Applications that start kate and expect to be able to make dcop calls
> directly afterwards may fail if kate hasn't registered itself by then. But
> I suspect you only want to use this for the special case where you start
> kate with --use ?
Yes. I committed a fix that simply registers the dcopclient that is used to
call the --use'd instance with dcop, and that works. If that is bad let me
Thanks for your help,
jabber: anderslund at jabber.dk
More information about the kde-core-devel