Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 [2] 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Might be the wrong areAdding a link to the desktop, repost with more questions< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 31 2006,04:08 QUOTE

If it works when you run it from a terminal, it should also work by running it as an argument to aterm.
Is this a script that continues to run indefinitely, or does it run quickly and finish?


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
lantian2004 Offline





Group: Members
Posts: 30
Joined: May 2006
Posted: May 31 2006,04:10 QUOTE

it runs indefinetely, until you hit enter to quit, but that is just one script, the others just keep running and scrolling messages.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 31 2006,04:20 QUOTE

I'm not sure what could be the problem, then...although it might be an issue with syntax.  If i remember correctly I have had problems in the past with running sudo apps in an x term.  I think I needed some quotes or something....

maybe this... aterm -e "sudo /path/to/program.sh"
or this... sudo aterm -e /path/to/program.sh

This is all guesswork at this point.  If you run "aterm -e program.sh" from an existing aterm, does it work then? I tend to test commands from a terminal before adding them to scripts, icons, whatever, just so i don't have to edit and re-edit.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
lantian2004 Offline





Group: Members
Posts: 30
Joined: May 2006
Posted: May 31 2006,04:23 QUOTE

basically, one script opens a server that allows transactions between financial institutions, another script opens a server that mimics a financial institution and the third script opens a terminal that shows feedback from the server along with a client app that allows you to enter your financial transactions and get info back from the mimic server.  

So they definitely stay open when you launch them. It just doesnt make any sense that I can run it from inside aterm but not by using an aterm variable, what i see is a window with a green block in the corner for a nonosecond then it closes.

Also, if I open emelFM and type in the command for the link I get a simple end-of-output message,

Unless it has something to do with environments? However i doubt that.
Back to top
Profile PM 
lantian2004 Offline





Group: Members
Posts: 30
Joined: May 2006
Posted: May 31 2006,04:29 QUOTE

If I enter aterm -e /path/script.sh while in aterm it brings up a new window and works fine. If I use quotes then i get nothing, not even a pop-up window... so it should work just fine....
Back to top
Profile PM 
22 replies since May 30 2006,20:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 [2] 3 4 5 >/
reply to topic new topic new poll
Quick Reply: Might be the wrong areAdding a link to the desktop

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code