From kde-core-devel Sat Mar 04 13:14:47 2000 From: David Faure Date: Sat, 04 Mar 2000 13:14:47 +0000 To: kde-core-devel Subject: Re: KService/KRun question X-MARC-Message: https://marc.info/?l=kde-core-devel&m=95217986305711 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