From kde-core-devel Sat Dec 25 10:19:16 1999 From: David Faure Date: Sat, 25 Dec 1999 10:19:16 +0000 To: kde-core-devel Subject: Re: Desktop entries X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94650474431281 At 11:14 29/12/99 +0100, you wrote: >Hiya, > >I would like to add the following information to desktop files somehow: > >* DCOP-service-name. If not present it defaults to the name of the >executable. Perhaps it's even useless ? With DCOP we've always referred to apps with their name, now that the app name is mandatory... >* DCOP-service-type: App / Unique-App / None > - App means multiple instances (processes) of this application can > be launched. Instances of the application register themselves to > DCOP with DCOP-service-name+"-"+getpid(). > - Unique-App means the applicaions handles everyhting from one > process. The aplication registers itselves to DCOP with > DCOP-service-name. > - None means that the application does not register itself to DCOP. > >Suggestions for names to use in the .desktop files are welcome. > >This is a change for apps in the "App" category. Currently they just >try to register themselves as e.g. "kio_http" and DCOP will honour >these requests as "kio_http", "kio_http-2", "kio_http-3", etc.. In the >future they will have to register themselves as "kio_http-1182", >"kio_http-1185" etc. depending on their pid. This allows the trader, >(currently called KLauncher so that it doesn't interfere with the >existing KTrader object) to find out in a reliable way when an >application is ready to accept DCOP requests. > >Cheers, >Waldo Sounds very good to me. Who said "they are reinventing CORBA" ? :-) David Faure