You are not logged in.
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
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
on my geany it's
urxvt -e "/bin/sh %c"
and on a default crunchbang install it's just
terminator
does that help?
Offline
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
Try this in tool path:
terminator -x "/bin/sh %c"
Offline
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
Try this in tool path:
terminator -x "/bin/sh %c"
Thx but I got the same failure with "Unable to find a shell".
Offline
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
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.jpgAs 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
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
same problem here.
FIX is to change Preferences -> Tools -> Terminal command to
terminator -x /bin/sh %c
from terminator man page
-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
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat