Re: wxEuphoria Linux Problem: double clicking freecell executable

new topic     » goto parent     » topic index » view thread      » older message » newer message

Kenneth Rhodes wrote:
> 
> Jerry Story wrote:
> > 
> > The problem remains unsolved.
> > 
> > The problem has nothing to do with translating from Eu to C.
> > I am not trying to do that.
> > 
> > Only:
> > bindu freecell.exu
> > (This is a demo in wxEuphoria.)
> > 
> > Now there is a binded file called freecell.
> > 
> > I can run it by:
> > ./freecell
> > 
> > What I want to do is run it by clicking on it.
> > 
> 
> ok 
> with: Euphoria 2.5, *bindu freecell.exw* renders the executable file
> "freecell"...
> 
> with: SuSE 9.3/KDE/nautilus/ double clicking "freecell" executes the
> program perfectly.
> 
> with: SuSE 9.3/KDE/gentoo/ double clicking "freecell" executes the
> program perfectly.
> 
> with: SuSE 9.3/KDE/Konqueror/ single clicking "freecell" results in an aborted
> run
> with a blank freecell window and an error message indicating that the image
> from cards.png
> cannot be loaded: the file does not exist. 
> 
> I believe the problem may be a Linux Desktop/file manager issue.  
> 
> Ken Rhodes
> SuSE Linux 9.3
> 100% MicroSoft Free
> 

Hi

No, its not, its a path issue.

Generally speaking, when I want to run a gui program from a click, I write a
little script, which changes the current directory to the one the program is in,
then runs the program. If all the files required by the eu program are relative
to this, then everytthing works fine.

eg, I use my Fax Centre (in the archives), to filter out all the junk faxes I
get, and automatically print faxes from known senders.

To start the program, I use the script

cd ~/Faxes               (its in the Faxes directory of my home directory)
FaxC.exe                 (I've named the bound executable an exe (sorry))

click on this, and everything works (as long as the script is executable of
course) (chmod +x FaxC.scr)

Chris

http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu