HD Install :: Might be the wrong areAdding a link to the desktop



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.

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?

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.
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.
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
Next Page...
original here.