Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-31-2006, 04:46 AM   #1
LQ Newbie
Registered: May 2006
Posts: 6

Rep: Reputation: 0
Having problems launching a script from the desktop in DSL

I had posted in a DSL specific area but didn't get much feedback. Anyways, here is my issue, I have 3 scripts that I need to execute and I need them to be desktop icons. So, I created a lnk and made the command: aterm -T "label" -e '/path/to/'

When I click on the link the window pops open then closes. if I open aterm (or xterm for that matter) and issue the same command it opens another terminal window and runs fine.

I went further and ran the command from Emelfm, and right away a window opens and then closes, and it shows a "end-of-output" message, but no error codes like when I mess with the script. I have already set my working directory in the script, so I have no idea what to do now, been at this for 2 days now with no luck.

Anyways, I have to have a term window open for each app as they simulate financial transaction servers and show heartbeats and acknowledgements, so running in the background is not an option and I don't want them to start at boot.

So, anyone have any idea of how to get these to run from the desktop so I can get some sleep

--Added. I made a simple script that would just ping google, and I have the exact same problem.

Last edited by lantian2004; 05-31-2006 at 06:04 AM.
Old 06-01-2006, 05:55 AM   #2
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 963
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
when configuring the link, you may try to look for a checkbox saying something like "open in a terminal". If I understood your script description correctly, I'd say that you'll find yourself with 2 terminals, but that's just a guess.

You can also try using this command :
# chmod +x <name of script>
This way it worked for me

Last edited by serafean; 06-04-2006 at 01:11 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with launching script on login... Ka Ora SUSE / openSUSE 3 03-25-2006 05:06 PM
launching a script from rc.d invar Linux - Software 5 08-16-2004 03:42 PM
mozilla 1.7 launching script mrpringle Linux - Software 3 07-09-2004 04:46 PM
Launching apps in a virtual desktop lockejr Linux - Software 0 03-03-2004 06:00 PM
Launching Firebird through a script Travis S Linux - Software 5 02-03-2004 09:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration