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 >
lantian2004 Offline





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

so, assuming that it works in aterm, maybe i need to write another script that opens aterm then runs the command? I had read something about the enviromental variables with a .lnk and the script they used had aterm then under it exec /path/program.

However, I have no idea how that script should look.
Back to top
Profile PM 
lantian2004 Offline





Group: Members
Posts: 30
Joined: May 2006
Posted: May 31 2006,07:32 QUOTE

Doing more research and came across this:

http://www.linuxquestions.org/questions/showthread.php?t=171978

After I did some testing within aterm with launching the app, I noticed that my script takes a bit to get running, much more time than the aterm window opens and closes. It looks like, and if i can remember right, by using Konsole you can specify a noclose variable. So my current theory is that since I am getting only an end-of-output statement in elmfm, and no error codes, that the aterm window auto closes faster than my script starts up?

It makes sense based on that link also, they did also have to set a working directory, but I got the code to do that in the script earlier. unfortunately, I can't set aterm to noclose.

Another option I had read about was adding aterm into my script and having my desktop link point directly to the script with no aterm, well, that just opened 500 aterm windows haha. I probably have the code wrong, maybe.

Any thoughts?
Back to top
Profile PM 
lantian2004 Offline





Group: Members
Posts: 30
Joined: May 2006
Posted: May 31 2006,11:06 QUOTE

I created a simple simple script that literally just pings google, it works fine running the aterm command from aterm, but no dice as a desktop icon, and tried every variable of aterm possible, including the quotes. All I get is a window that pops up and closes.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 31 2006,13:44 QUOTE

well...that looks like it's turning back around to your original suspicion, which was that there's a problem with the icon.  With this I can't say much right now except look closely at your *.lnk file to see if there might be even the slightest difference from the ones that do work (maybe post the contents of the *.lnk here).  I can't do any testing at the moment, since my window manager doesn't play well with icons, but i'll do some tests in a little bit and see if i can recreate your issue.

--------------
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,13:54 QUOTE

well, I did a chmod u+x on my little script that pings google, and it works through the icon, but that had no affect on the other scripts
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