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

List:       kde-core-devel
Subject:    Re: KService/KRun question
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-03-04 13:14:47
[Download RAW message or body]

On Sat, Mar 04, 2000 at 12:31:37PM +0100, Geert Jansen wrote:
> Hi.
> 
> I'm trying to integrate kdesu support into KDE/konqueror. I want to do this
> with the "X-KDE-SubstituteUID=XXX" line in .desktop files. If there is such
> a line, kdesu is used to run the command as the specified user.

Sounds good.

> How should I implement this? Shall I modify KService, to return a modified
> command line with KService::exec(), or shall I modify KRun to accept an
> additional userid parameter?

Neither.
Change KDEDesktopMimeType::run.

> A related issue: am I correct that the "Run in terminal" line gets ignored
> now? If so, I'll try to add that too.

Hehe, I guess it's been forgotten :)
Thanks for looking into it !

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

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

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