[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Review Request: Add the possibility of "run scripts in konsole" when using dolphin
From:       "David Faure" <faure () kde ! org>
Date:       2012-11-12 21:32:41
Message-ID: 20121112213241.24757.98049 () vidsolbach ! de
[Download RAW message or body]

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/107086/#review21892
-----------------------------------------------------------



desktop/run-in-konsole.desktop
<http://git.reviewboard.kde.org/r/107086/#comment16868>

    I mean:
    
    Exec=%f
    Terminal=true
    
    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 its \
> usefulness will influence or be influenced by how bug 275405 will be finally \
> resolved.  
> 
> The current situation of clicking an executable shell script in dolphin/konqueror:
> 
> 1. It is always executed, instead of being opened by the preferred application \
> 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 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 just 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 "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 :)
> 
> 
> This addresses bugs 225563 and 275405.
> http://bugs.kde.org/show_bug.cgi?id=225563
> http://bugs.kde.org/show_bug.cgi?id=275405
> 
> 
> 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
> 
> 


[Attachment #3 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/107086/">http://git.reviewboard.kde.org/r/107086/</a>
  </td>
    </tr>
   </table>
   <br />









<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/107086/diff/2/?file=93060#file93060line8" \
style="color: black; font-weight: bold; text-decoration: \
underline;">desktop/run-in-konsole.desktop</a>  <span style="font-weight: normal;">

     (Diff revision 2)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
"></pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">8</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
">Terminal=false</pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I mean:

Exec=%f
Terminal=true

This will run %f in a terminal, won&#39;t it?</pre>
</div>
<br />



<p>- David</p>


<br />
<p>On November 11th, 2012, 7:56 a.m., Jekyll Wu wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for Dolphin, Konsole and David Faure.</div>
<div>By Jekyll Wu.</div>


<p style="color: grey;"><i>Updated Nov. 11, 2012, 7:56 a.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">@David, I&#39;d like to know your idea of this workaround, because I \
think its usefulness will influence or be influenced by how bug 275405 will be \
finally resolved. 



The current situation of clicking an executable shell script in dolphin/konqueror:

1. It is always executed, instead of being opened by the preferred application \
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 that script has \
been started. He/She need use ps or ksysguard to verify it.

    b). interactive script just doesn&#39;t work.


This patch *doesn&#39;t* really solve any of the above two problems. It just 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 &quot;Open \
with&quot; submenu  ServiceMenus/konsolerun.deksotp, which can be used in the \
&quot;Actions&quot; submenu

I&#39;m not sure which solution is better, so I just provide both :)

</pre>
  </td>
 </tr>
</table>




<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=225563">225563</a>, 

 <a href="http://bugs.kde.org/show_bug.cgi?id=275405">275405</a>


</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>desktop/CMakeLists.txt <span style="color: grey">(0fe39d2)</span></li>

 <li>desktop/konsolerun.desktop <span style="color: grey">(PRE-CREATION)</span></li>

 <li>desktop/run-in-konsole.desktop <span style="color: \
grey">(PRE-CREATION)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/107086/diff/" style="margin-left: \
3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic