Friday, 25 September 2020

Re: [Rpcemu] Installing to Linux (John McCartney)

This post and one in another thread are both triggered by
my intention to install RPCEmu on a laptop. Originally, I
installed it on my desktop Linux PC which gave rise to my
queries in this thread.

In article <5878ae9aedj.mccartney@blueyonder.co.uk>,
I <j.mccartney@blueyonder.co.uk> wrote:

> Just a quickie to acknowledge all those who've offered
> advice on this thread. I'm going to have to park it for a
> few days because I have other calls on my limited time at
> the moment.

Well, it's only a few days since May. Or have I missed
something?

Originally, to run RPCEmu, I had used the following lines
in the terminal:

cd rpcemu-0.9.3
./rpcemu-recompiler

After my request for help (and being timid and not having
dealt with scripts before) I put them into a text file and
copied and pasted them into the terminal and hit enter.

As my sophistication grew(!!!) I added a return to the text
so that I didn't have to hit enter.

It all worked but I got fed up with c&p so I today I looked
again at the suggestions I was given.

Brian's method worked when the script was in the
rpcemu-0.9.3 directory but creating a link and putting it
on the desktop failed. No doubt my limited knowledge of
Linux has let me down here.

Jim's and Peter's suggestions were very similar though I
don't know what the significance is between their two first
lines: Jim's ends in /sh and Peter's in /bash -
again, my lack of knowledge is letting me down.

I've ended up using the following:

#!/bin/bash
cd /home/john/rpcemu-0.9.3
./rpcemu-recompiler

This works but, having changed the file permissions to make
it executable, I have to select Run from the resulting four
options after double-clicking on the file on the desktop.

Is it possible to make it RPCEmu run from just a double
click on the file?

John

--
John McCartney
j.mccartney@blueyonder.co.uk

_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

No comments:

Post a Comment