Bug 224829 - "kfmclient --commands" does not contain info/help about "exec"
Summary: "kfmclient --commands" does not contain info/help about "exec"
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 23:42 UTC by Daniel Hahler
Modified: 2010-02-16 22:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Hahler 2010-01-29 23:42:15 UTC
Version:            (using Devel)
Installed from:    Compiled sources

"kfmclient --commands" does not list the "exec" command, although it exists.

Additional info:
$ kfmclient --version
Qt: 4.6.0
KDE Development Platform: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2))
kfmclient: 2.0
daniel@base { /mnt/data/mp3/The xx/xx }
$ kfmclient --commands

Syntax:

  kfmclient openURL 'url' ['mimetype']
[...]
  kfmclient newTab 'url' ['mimetype']
[...]
  kfmclient openProfile 'profile' ['url']

Inititally reported at:
https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/514550
Comment 1 Nicolas L. 2010-02-01 12:27:17 UTC
exec doesn't exist for me :

$ LC_ALL=C kfmclient exec
kfmclient(29449) ClientApp::doIt: Creating ClientApp
Syntax Error: Unknown command 'exec'
Comment 2 Daniel Hahler 2010-02-15 19:19:19 UTC
Well, try it with a file as parameter.

$ LC_ALL=C kfmclient exec ./bilder/erdmann.jpg
kfmclient(9705) ClientApp::doIt: Creating ClientApp
<unknown program name>(9707)/ ClientApp::doIt: Creating ClientApp
kioclient(9707) ClientApp::kde_open: KUrl("file:///home/user/bilder/erdmann.jpg")
Comment 3 Nicolas L. 2010-02-16 09:22:40 UTC
ok found, i think we could add an help for this yes, telling that this use kioclient and that this is kept for compatibility.
Comment 4 Nicolas L. 2010-02-16 09:28:05 UTC
What about this patch ?

Index: client/kfmclient.cpp
===================================================================
--- client/kfmclient.cpp        (révision 1088246)
+++ client/kfmclient.cpp        (copie de travail)
@@ -105,6 +105,8 @@
                 "            # Opens a window using the given profile.\n"
                 "            #   'profile' is a file under ~/.kde/share/apps/konqueror/profiles.\n"
                 "            #   'url' is an optional URL to open.\n\n").toLocal8Bit());
+
+    puts(i18n("  kfmclient exec is kept for compatibility with KDE 3. See kioclient exec for more infos.\n").toLocal8Bit());

     return 0;
   }
Comment 5 Daniel Hahler 2010-02-16 21:41:09 UTC
That's OK with me.
Thanks!
Comment 6 Nicolas L. 2010-02-16 22:23:33 UTC
SVN commit 1091427 by nlecureuil:

Add infos about kfmclient exec
BUG:224829


 M  +4 -0      kfmclient.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1091427