Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 09:26
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Howto make Geany execute command (F5 key) to work
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Uten

Joined: 29 Jan 2008
Posts: 52

PostPosted: Sun 14 Jul 2013, 07:23    Post_subject:  Howto make Geany execute command (F5 key) to work  

Fore some reason the Geany execute ( F5 ) does not work for me. I have tried with shell scripts and at the moment python. All I get is a flashing window.

To solve this I tried the command found in Edit->preferences->tools->terminal in a normal terminal, just replacing %c with rox.
Code:
/usr/bin/xterm -e "/bin/sh rox"

This gives the same flashing window.

Trying
Code:
/usr/bin/xterm -e /bin/sh rox

Opens rox as expected.

Now removing the "" pair from the preferences dialog in Geany solves my problem. Now I can execute my scripts from within Geany. Very handy when you do a write - unit test - write cycle.

Happy coding.
Back to top
View user's profile Send_private_message 
afishe2000

Joined: 29 Jan 2010
Posts: 37

PostPosted: Wed 11 Sep 2013, 10:13    Post_subject:  

Tired of banging my head against the wall here...

I cant get this to work under Slacko 5.6.

Any suggestions?

Thank you
Back to top
View user's profile Send_private_message 
Uten

Joined: 29 Jan 2008
Posts: 52

PostPosted: Tue 17 Sep 2013, 04:47    Post_subject:  

Sorry I'm late replying afishe2000.

I'm on precise 5.7 at the moment and python / shell scripts works out of the box (the terminal stays open and executes the script). This is the default executing command (edit->preferences->tools->terminal): /usr/bin/xterm -e bash -c

I remember that I used to run the scripts in the embedded terminal window with some success. but I can't recall the puppy version. Geany in precise 5.7 seems to be compiled without the embedded terminal support. CTRL+ALT+P to get the preferences window and look for the terminal flip (if memory serves me right)

I don't have slacko 5.6 so I can't test at the moment. Could you describe what happens when you try to execute a script?
Back to top
View user's profile Send_private_message 
cimarron

Joined: 30 May 2013
Posts: 120

PostPosted: Tue 17 Sep 2013, 09:01    Post_subject:  

I use roxterm (on Lupu 5.1) and this command in Geany preferences works for me:

/usr/bin/roxterm -e bash -c
Back to top
View user's profile Send_private_message 
afishe2000

Joined: 29 Jan 2010
Posts: 37

PostPosted: Tue 17 Sep 2013, 12:34    Post_subject:  

Thanks to all,

Will give it a try and let everyone know.
Back to top
View user's profile Send_private_message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 479
Location: Japan

PostPosted: Tue 29 Oct 2013, 04:23    Post_subject:  

afishe2000 wrote:
I cant get this to work under Slacko 5.6.
Any suggestions?

Change the command
Code:
/usr/bin/xterm -e "/bin/sh %c"

to
Code:
/usr/bin/xterm -e /bin/sh "%c"
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0495s ][ Queries: 12 (0.0038s) ][ GZIP on ]