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

List:       kde-core-devel
Subject:    Appstarting feature request
From:       Geert Jansen <g.t.jansen () stud ! tue ! nl>
Date:       2000-05-27 10:29:12
[Download RAW message or body]

Hi (rikkus)

I'd like to request a feature for the app starting code. Currently, a
program is marked "loaded" when the DCOP call:

    virtual void clientMapped( int pid ) = 0; 

gets called by the LD_PRELOAD'ed XMapWindow, right?

Currently, I am adding app start notification to kdesu, The startup
sequence for kdesu apps is rather long:

    kdesu -> su -> shell -> stub -> shell -> program

The problem is that the final pid is not known in advance so the program
can't be marked "loaded".  Can we introduce a environment variable,
something in the line of $KAPPSTART_PID, which contains a pid to use for
marking the program loaded. The stub can set this variable, the final
program sees this, and can mark itself loaded.

What do you think? I can add it myself if you're busy.

Greetings,
 -- 
    Geert Jansen                       email: <g.t.jansen at stud.tue.nl>
    Phylosopher, Physicist,                    email: <jansen at kde.org>           
    KDE enthusiast                                 PGP key ID: 0xD2B5E7CE            

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

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