From kde-core-devel Tue Jan 04 17:38:57 2000 From: Torben Weis Date: Tue, 04 Jan 2000 17:38:57 +0000 To: kde-core-devel Subject: Re: Desktop entries X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94711814718121 Hi, On Mit, 29 Dez 1999, Waldo Bastian 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. > > * 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. Little remark: When you start the same processes on different machines but with the same X11 Server then the same name and the same PID may be used twice. Bye Torben > Cheers, > Waldo