1. [Linux] executable eu icon

A Euphoria application may be run by clicking on an
icon created on the KDE desktop.


Try this at your own risk - it works for me.

On a blank portion of the KDE desktop click your right
mouse button.  A popup menu will appear:

Select New
Select Application

A fill in the blank dialog box will appear with a
single edit field: "program.kdelnk" - edit the
"program" portion of this field to the name of the
euphoria program you would like to execute for
example:

"program.kdelnk" > key.kdelnk

click ok - an options box will appear
select tab permissions - click the "exec" box for
"user"

select the execution tab:
you may fill in the path to exu manually or use the
browse button to select it - for example.

/home/ken/euphoria/bin/exu key.ex

if you have edited the top line of your euphoria
source code with !#/home/ken/euphoria/bin/exu and made
your euphoria source code file executable with "chmod
+x yourprog.ex", you may omit "exu" from the path.

You may select an icon by clicking on the default
icon. Or do nothing and use the default application
icon.

IMPORTANT:  at the bottom of the page select "run in
terminal" ... I use the KDE xterm "konsole" so I enter
konsole in the terminal options edit field, without
quotes of course.

IF YOU DO NOT SELECT RUN IN TERMINAL YOUR COMPUTER
WILL CRASH WHEN YOU CLICK ON THE ICON THAT IS PLACED
ON YOUR DESKTOP! ( at least mine does )

Rots a Ruck..... use at your own risk.  Hope it works
for you   :) :) :)

Ken Rhodes

new topic     » topic index » view message » categorize

2. Re: [Linux] executable eu icon

On Sun, 11 Feb 2001, Ken Rhodes wrote:

> IMPORTANT:  at the bottom of the page select "run in
> terminal" ... I use the KDE xterm "konsole" so I enter
> konsole in the terminal options edit field, without
> quotes of course.
> 
> IF YOU DO NOT SELECT RUN IN TERMINAL YOUR COMPUTER
> WILL CRASH WHEN YOU CLICK ON THE ICON THAT IS PLACED
> ON YOUR DESKTOP! ( at least mine does )

It shouldn't crash. If the Eu prog in question is a console (text-mode) program,
it should run, but no output will be seen.  If the program has a loop, waiting
for a keypress or something, you can see it and kill it if necessary, using 
top or ktop. Strangely, exu will identify itself as "3" to top or ktop. Other 
Linux programs identify themselves by name.

If the Eu program is an xWindows program, it'sn not necessary to click "run in
terminal" unless the program writes to stdout.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu