Summary: | kwrite: recognize urls like in konsole | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Aaron Lewis <the.warl0ck.1989> |
Component: | part | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | christoph, hr.denzler |
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Aaron Lewis
2011-01-13 07:35:43 UTC
Enable klipper actions or you can write your own shell script for starting any command by marking e.g. 'cmd://kwrite' #! /bin/bash # # /home/user/cmd # ### BEGIN TESTCASES INFO # > . cmd 'cmd://COMMAND [OPTION | ARG]... [FILE]...' # cmd://kwrite # cmd://kwrite z # cmd://kwrite "hello gaga" # cmd://kwrite "hello gaga" "a b" # cmd://kwrite "hello gaga" "a b" # cmd://konsole --hold -e sh -c "pwd; ls -l cmd; ls -l $(which cmd)" ### END TESTCASES INFO cd; commandline=${1#*:\/\/}; statement='parameterArray=('$commandline')'; eval "$statement"; "${parameterArray[@]}" & klipperrc: [Action_1] Automatic=true Description=Befehl Number of commands=1 Regexp=^[ \\t]*cmd://. [Action_1/Command_0] Commandline[$e]=cmd %s Description=cmd 'cmd://COMMAND [OPTION | ARG]... [FILE]...' Enabled=true Icon=application-x-shellscript Output=0 Err.. guess i'll just wait for the update , cos i'm not using klipper in this case ... |