[lubuntu-users] Can't execute bash scripts from Geany

Mark F azdays15 at gmail.com
Sun Feb 18 19:03:21 UTC 2018


On Tue, Feb 13, 2018 at 7:23 PM, Jerry Van Brimmer <jwfj77 at zoho.com> wrote:

>
> In Geany itself, in Edit>Preferences>Tools>Terminal, you can tell Geany
> what terminal emulator to use.
>
> The default setting was "x-terminal-emulator -e "/bin/sh %c"".
>

I'm probably way off base, but I changed *Edit>Preferences>Tools>Terminal*
from the default

x-terminal-emulator -e "/bin/sh %c"


to

x-terminal-emulator -e "/bin/sh -c %c"  (NOTE addition of -c parm)

and it seems to work. For example,

1. I type this into the editor:

/bin/echo 'here'; sleep 5; /bin/echo 'here again';


2. Select that text.

3. Go to *Edit>Commands>Send Selection to Terminal*

The shell commands executed properly in the "Terminal output" at the bottom
of Geany.

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20180218/46b0d989/attachment.html>


More information about the Lubuntu-users mailing list