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

List:       kde-core-devel
Subject:    Re: hostname() used in KApplication::launcher
From:       Geert Jansen <g.t.jansen () stud ! tue ! nl>
Date:       2000-07-18 13:30:30
[Download RAW message or body]

Dirk Mueller wrote:
> On Tue, 18 Jul 2000, Geert Jansen wrote:
> > > I'm not sure why we need that function anyway. as far as I know
> > > does klauncher work via DCOP, so all it needs to know is where to
> > > find the dcopserver and nothing more.
> >
> > It needs 1. know where the DCOP server is
>
> Yeah. But it doesn't need to know the host name for it. All it needs to
> do is a file read on $HOME/.DCOPserver.
>
> > and 2. what the laucher's name is.
>
> Well, surprisingly the name of the launcher will be "klauncher".

It's klauncher_$host_$uid for nearly half a year already.

> > is. The need for 2. arises because we are not always executing commands
> > on the local host under the local uid. If for example, I run konqy as
> > root using kdesu, it needs to use "klauncher_localhost_0" instead of
> > "klauncher_localhost_500"
>
> errm, that's wrong. You are not able to do dcop calles via different
> UINs.

Who says so? This is the way it has been done since the launcher was 
introduced.

Greetings,
Geert.

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

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