SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-08-08 11:10:57

toge
New Member
Registered: 2014-08-08
Posts: 5

Geany with terminator doesn't work - Unable to find a shell

Hi,
in geany when i try to execute a program (python, C), the terminal (terminator) open and i got this message "Unable to find a shell". If I run program from command line in terminator it works fine and if I change terminator to xterm in geany its too .
I removed terminator, geany and installed again but it didn't help.

In geany my tool path: x-terminal-emulator -e "/bin/sh %c"

I woud like to use geany with terminator, but I didn't find solution.
Thanx any advice!

Last edited by toge (2014-08-08 11:12:58)

Offline

Help fund CrunchBang, donate to the project!

#2 2014-08-08 13:38:03

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Geany with terminator doesn't work - Unable to find a shell

Any way you can show a screenshot of this?

My Edit » Preferences » Tools » Terminal: terminator seems to work just fine.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#3 2014-08-08 17:15:11

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: Geany with terminator doesn't work - Unable to find a shell

on my geany it's

urxvt -e "/bin/sh %c"

and on a default crunchbang install it's just

terminator

does that help?

Offline

#4 2014-08-08 17:25:09

toge
New Member
Registered: 2014-08-08
Posts: 5

Re: Geany with terminator doesn't work - Unable to find a shell

Of course, here is:
http://postimg.org/image/3pzlnaclv/
and geany preferences:
http://postimg.org/image/uke1esbcl/
I replaced x-terminal-emulator to terminator in tool path, but doesn't work.
Maybe my dist-upgrade to testing wasn't flawless.

Last edited by toge (2014-08-08 20:51:28)

Offline

#5 2014-08-08 17:43:15

porkpiehat
#! Die Hard
Registered: 2012-10-02
Posts: 1,007

Re: Geany with terminator doesn't work - Unable to find a shell

Try this in tool path:

terminator -x "/bin/sh %c"

Offline

#6 2014-08-08 18:01:26

toge
New Member
Registered: 2014-08-08
Posts: 5

Re: Geany with terminator doesn't work - Unable to find a shell

ohnonot wrote:

urxvt -e "/bin/sh %c"

Thx the advice, but nothing happens with this.

After I tried to execute a program I found in my working folder the geany_run_script.sh (this script would have to run my program). I can run this script from command line (and it execute my program) but only if I set its permission with chmod +x. (After this script finish delete itself, so unfortunately this isn't solution). Maybe my geany doesn't set this script permission?

Offline

#7 2014-08-08 18:04:53

toge
New Member
Registered: 2014-08-08
Posts: 5

Re: Geany with terminator doesn't work - Unable to find a shell

porkpiehat wrote:

Try this in tool path:

terminator -x "/bin/sh %c"

Thx but I got the same failure with "Unable to find a shell".

Offline

#8 2014-08-08 18:05:28

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Geany with terminator doesn't work - Unable to find a shell

Interesting ... mine works with python scripts in ~/bin that is in my path:
2014_08_08_15_02_03_1213x930_Sector11.jpg

As well as others in /user/share:
2014_08_08_15_10_58_1213x930_Sector11.jpg


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#9 2014-08-08 18:34:06

toge
New Member
Registered: 2014-08-08
Posts: 5

Re: Geany with terminator doesn't work - Unable to find a shell

Sector11 wrote:

Interesting ... mine works with python scripts in ~/bin that is in my path:
http://s20.postimg.org/rhphwjog9/2014_08_08_15_02_03_1213x930_Sector11.jpg

As well as others in /user/share:
http://s20.postimg.org/44rge18cp/2014_08_08_15_10_58_1213x930_Sector11.jpg

Thanks!
I set geany's terminal to "Execute programs in the VTE" and it works fine. It didn't solve my original problem, but gave me a well solution and i can use geany.

Offline

#10 2014-08-08 21:08:42

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Geany with terminator doesn't work - Unable to find a shell

toge wrote:

Thanks!
I set geany's terminal to "Execute programs in the VTE" and it works fine. It didn't solve my original problem, but gave me a well solution and i can use geany.

Well, at least you have something working.  You can use it while still working on the "terminator" aspect.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#11 2015-02-01 00:59:10

Po The Panda
Member
Registered: 2013-12-16
Posts: 30

Re: Geany with terminator doesn't work - Unable to find a shell

same problem here.

FIX is to change Preferences -> Tools -> Terminal  command to

terminator -x /bin/sh %c

from terminator man page

man terminator wrote:

       -e, --command=COMMAND
              Runs the specified command instead of your default shell or pro‐
              file specified command

       -x, --execute COMMAND [ARGS]
              Runs the rest of the command line instead of your default  shell
              or profile specified command.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: zapp

Debian Logo