[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kinit: A new way to start KDE programs!
From:       Waldo Bastian <bastian () suse ! de>
Date:       1999-12-26 13:02:21
[Download RAW message or body]

On Sun, 26 Dec 1999, Mario Weilguni wrote:
> Why don't you take real advantage of this design, and offer the
> option to start programs later with kinit? This will allow many small
> programs to run (e.g. kicker applets, kwin helpers...) long after
> startkde has finished.

Well.. the Xmas dinner was waiting so I couldn't finish eveything ;-)

> I've implemented this last sunday for a complete KDE 1.1.2 desktop,
> and I am running this modified desktop since Monday without problems
> (ok, to be honest, there is a kfm problem I did not find yet...). You
> only need kinit to accept execution request via a socket, pass argv,
> argc, environment, current working directory and such, pass this
> information from a small wrapper to kinit, which sets up an
> environment and dlopens() the library. This will allow programs like
> konsole (which I use alot) to use this approach too.

The next step would be to launch "ktrader" (to be written) after the 
dcopserver. ktrader can take requests via DCOP and uses kinit to launch 
processes. ktrader needs some communication with kinit: It could use a 
pipe for this, since kinit launches ktrader anyway.

Do you think it is necassery to pass the complete environment?

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic