From kfm-devel Mon Nov 12 21:32:41 2012 From: "David Faure" Date: Mon, 12 Nov 2012 21:32:41 +0000 To: kfm-devel Subject: Re: Review Request: Add the possibility of "run scripts in konsole" when using dolphin Message-Id: <20121112213241.24757.98049 () vidsolbach ! de> X-MARC-Message: https://marc.info/?l=kfm-devel&m=135275598928235 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============7092125984848470742==" --===============7092125984848470742== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/107086/#review21892 ----------------------------------------------------------- desktop/run-in-konsole.desktop I mean: = Exec=3D%f Terminal=3Dtrue = This will run %f in a terminal, won't it? - David Faure On Nov. 11, 2012, 7:56 a.m., Jekyll Wu wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/107086/ > ----------------------------------------------------------- > = > (Updated Nov. 11, 2012, 7:56 a.m.) > = > = > Review request for Dolphin, Konsole and David Faure. > = > = > Description > ------- > = > @David, I'd like to know your idea of this workaround, because I think it= s usefulness will influence or be influenced by how bug 275405 will be fina= lly resolved. = > = > = > The current situation of clicking an executable shell script in dolphin/k= onqueror: > = > 1. It is always executed, instead of being opened by the preferred applic= ation according to its mimetype. (bug 275405) > = > 2. It is executed in a silent way, without invoking konsole to provide a = running environment (bug 225563). That means at least two issues: > = > a). There is no feedback and no easy way for user to know whether tha= t script has been started. He/She need use ps or ksysguard to verify it. > = > b). interactive script just doesn't work. > = > = > This patch *doesn't* really solve any of the above two problems. It just = provides the possibility for users to run an executable script in konsole w= hen using dolphin/konqueror. > = > It adds two .desktop files: = > = > applications/kde4/run-in-konsole.desktop, which can be used in the "O= pen with" submenu > ServiceMenus/konsolerun.deksotp, which can be used in the "Actions" s= ubmenu > = > I'm not sure which solution is better, so I just provide both :) > = > = > This addresses bugs 225563 and 275405. > http://bugs.kde.org/show_bug.cgi?id=3D225563 > http://bugs.kde.org/show_bug.cgi?id=3D275405 > = > = > Diffs > ----- > = > desktop/CMakeLists.txt 0fe39d2 = > desktop/konsolerun.desktop PRE-CREATION = > desktop/run-in-konsole.desktop PRE-CREATION = > = > Diff: http://git.reviewboard.kde.org/r/107086/diff/ > = > = > Testing > ------- > = > = > Thanks, > = > Jekyll Wu > = > --===============7092125984848470742== Content-Type: text/html; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
This is an automatically generated e-mail. To reply, visit: http://git.revie= wboard.kde.org/r/107086/

= =
desktop/run-in-konsole.desktop (Diff revision 2)
8
Terminal=3Dfalse
I mean:

Exec=3D%f
Terminal=3Dtrue

This will run %f in a terminal, won't it?

- David


On November 11th, 2012, 7:56 a.m., Jekyll Wu wrote:

Review request for Dolphin, Konsole and David Faure.
By Jekyll Wu.

Updated Nov. 11, 2012, 7:56 a.m.

Descripti= on

@David, I'd like to know your idea of this workaround, b=
ecause I think its usefulness will influence or be influenced by how bug 27=
5405 will be finally resolved. =




The current situation of clicking an executable shell script in dolphin/kon=
queror:

1. It is always executed, instead of being opened by the preferred applicat=
ion according to its mimetype. (bug 275405)

2. It is executed in a silent way, without invoking konsole to provide a ru=
nning environment (bug 225563). That means at least two issues:

    a). There is no feedback and no easy way for user to know whether that =
script has been started. He/She need use ps or ksysguard to verify it.

    b). interactive script just doesn't work.


This patch *doesn't* really solve any of the above two problems. It jus=
t provides the possibility for users to run an executable script in konsole=
 when using dolphin/konqueror.

It adds two .desktop files: =


    applications/kde4/run-in-konsole.desktop, which can be used in the &quo=
t;Open with" submenu
    ServiceMenus/konsolerun.deksotp, which can be used in the "Actions=
" submenu

I'm not sure which solution is better, so I just provide both :)

Bugs: 225563, = 275405

Diffs=

  • desktop/CMakeLists.txt (0fe39d2)
  • desktop/konsolerun.desktop (PRE-CREATION)<= /span>
  • desktop/run-in-konsole.desktop (PRE-CREATI= ON)

View Diff

--===============7092125984848470742==--