Re: wxEuphoria Linux Problem: double clicking freecell executable
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Aug 20, 2005
- 564 views
irv mullins wrote: > > Jerry Story wrote: > > > I now understand better what a script is, but > > how it solves the problem is still as clear as mud to me. > > > > Question 1: > > Do you mean that I should make a script and click on it? > > > > Question 2: > > If myprog doesn't know how to find itself, how does the script > > know how to find itself? > > > > Question 3: > > Most programs work when clicked, without a script. > > Why not myprog? > > A script is not necessary. > The reason your program fails to execute properly when clicked > from within Konqueror is because Konqueror does not change your > logged-in directory to follow you as you click around. > > IOW, if you are in your home directory: /home/jerry, and browse around > into /home/jerry/somefolder and click on someprog.eu, the logged > in directory is *still* /home/jerry. So the program looks there > for any graphics, ini, or other files it needs to use. It won't > find them. Changing or setting path in your environment won't help. > > I (finally) solved that problem in EuGTK. Look there for the answer. EuGTK seems to have disappeared from the archive... is it still available? > It's a matter of parsing the command line. You can easily add this > to your programs. If you are running someone else's bound pgm, you > are SOL. > > Regards, > Irv > Ken Rhodes SuSE Linux 9.3 100% MicroSoft Free