KLauncher problem: can't pass parameters using dcopstart
david at mandrakesoft.com
Tue Sep 17 20:40:25 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
On Tuesday 17 September 2002 22:04, Alexander Neundorf wrote:
> I tried
> "dcopstart konqueror --geometry 400x200+100+100"
> but it doesn't work.
> The reason lies in klauncher.cpp in start_service():
> if ((urls.count() > 1) && !service->allowMultipleFiles())
This should only be triggered if the service doesn't have %F, %U, %D or %N
in its exec line. This is not the case for konqueror... oh wait, it is.
Does it work better if you use %U instead of %u in konqueror.desktop ?
I'll change that anyway, since konqueror supports multiple urls on the
You're right though, urls is determined wrongly, and this could affect other apps.
This code is taken from KRun, where the args are indeed URLs. In KLauncher
they could be anything. (-> reassigning to Waldo ;)
David FAURE, david at mandrakesoft.com, faure at kde.org
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the kde-core-devel