In article <5878ae9aedj.mccartney@blueyonder.co.uk>, John McCartney
<j.mccartney@blueyonder.co.uk> wrote:
> In article <da7dec82-5ea5-f619-d8ea-f9482f0a621c@skynet.be>, Peter
> Veltmans <peter.veltmans@skynet.be> wrote:
> > This is a reply to John McCartney's question about starting RPCEmu
> > from the desktop (actually: from the menu-system of a Linux-desktop).
> 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.
> I'll have to give my brain time to assimilate it all. Perhaps I'll give
> it a defrag because it's definitely running slowly. :-(
> John
FWIW Here I just use a simple ROX app that launches RPCEmu by running an
executable file containing
#! /bin/sh
cd /home/jim/RPCemu/rpcemu-0.8.11
exec ./rpcemu
Thus one click on the 'icon bar' on my Linux setup pops up RPCEmu!
(Yes, I'm still using an ancient version. 8-] Not yet got the round tuits
to get a newer one! In the main I use an ARMX6, and only need RPCEmu
occasionally for ancient software/files purposes. )
HTH
Jim
--
Electronics https://www.st-andrews.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html
biog http://jcgl.orpheusweb.co.uk/history/ups_and_downs.html
Audio Misc http://www.audiomisc.co.uk/index.html
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
Saturday, 30 May 2020
Re: [Rpcemu] Installing to Linux (John McCartney)
In article
<da7dec82-5ea5-f619-d8ea-f9482f0a621c@skynet.be>, Peter
Veltmans <peter.veltmans@skynet.be> wrote:
> This is a reply to John McCartney's question about
> starting RPCEmu from the desktop (actually: from the
> menu-system of a Linux-desktop).
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.
I'll have to give my brain time to assimilate it all.
Perhaps I'll give it a defrag because it's definitely
running slowly. :-(
John
--
John McCartney
j.mccartney@blueyonder.co.uk
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
<da7dec82-5ea5-f619-d8ea-f9482f0a621c@skynet.be>, Peter
Veltmans <peter.veltmans@skynet.be> wrote:
> This is a reply to John McCartney's question about
> starting RPCEmu from the desktop (actually: from the
> menu-system of a Linux-desktop).
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.
I'll have to give my brain time to assimilate it all.
Perhaps I'll give it a defrag because it's definitely
running slowly. :-(
John
--
John McCartney
j.mccartney@blueyonder.co.uk
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
Re: [Rpcemu] Installing to Linux (John McCartney)
On 28/05/2020 17:55, Peter Veltmans wrote:
> Hi all!
>
> This is a reply to John McCartney's question about starting RPCEmu from
> the desktop (actually: from the menu-system of a Linux-desktop).
>
> As I wrote before (on 15/05/2020):
>
> starting rpcemu from the command line (after compiling, of course) was straightforward. Starting it from the menusystem of the desktop however, was not. It gave an error, complaining about some files not being present (./roms, for example). I checked and lo and behold, the roms were present.
>
> So I surmised that the menusystem just didn't change directory in a
> clear way. So I made up a little script (called RISCOS5.sh), with the
>
I very much doubt it is a 'changing directory' issue perse, far more
likely associated permissions somewhere along the line.
Running from the desktop menus or desktop panel or even a desktop
shortcut works here without any scripting.
--
Michael Howard
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
> Hi all!
>
> This is a reply to John McCartney's question about starting RPCEmu from
> the desktop (actually: from the menu-system of a Linux-desktop).
>
> As I wrote before (on 15/05/2020):
>
> starting rpcemu from the command line (after compiling, of course) was straightforward. Starting it from the menusystem of the desktop however, was not. It gave an error, complaining about some files not being present (./roms, for example). I checked and lo and behold, the roms were present.
>
> So I surmised that the menusystem just didn't change directory in a
> clear way. So I made up a little script (called RISCOS5.sh), with the
>
I very much doubt it is a 'changing directory' issue perse, far more
likely associated permissions somewhere along the line.
Running from the desktop menus or desktop panel or even a desktop
shortcut works here without any scripting.
--
Michael Howard
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
Friday, 29 May 2020
Re: [Rpcemu] Installing to Linux (John McCartney)
In message <da7dec82-5ea5-f619-d8ea-f9482f0a621c@skynet.be>
Peter Veltmans <peter.veltmans@skynet.be> wrote:
> #!/bin/bash
> #
> # A script to start RPCemu with RISCOS 5!
> #
> cd /home/USER/PROGRAMS/RPCEmu/rpcemu-0.9.3-recompiler-RISCOS5
> ./rpcemu-recompiler
You could make the script more generic by doing:
#!/bin/bash
cd $(dirname $0)
./rpcemu-recompiler
That way it will change directory to its own location, so it can be
dropped straight into all the versions of RPCEmu you have.
Bryan.
--
RISC OS User Group Of London - http://www.rougol.jellybaby.net/
RISC OS London Show - http://www.riscoslondonshow.co.uk/
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
Peter Veltmans <peter.veltmans@skynet.be> wrote:
> #!/bin/bash
> #
> # A script to start RPCemu with RISCOS 5!
> #
> cd /home/USER/PROGRAMS/RPCEmu/rpcemu-0.9.3-recompiler-RISCOS5
> ./rpcemu-recompiler
You could make the script more generic by doing:
#!/bin/bash
cd $(dirname $0)
./rpcemu-recompiler
That way it will change directory to its own location, so it can be
dropped straight into all the versions of RPCEmu you have.
Bryan.
--
RISC OS User Group Of London - http://www.rougol.jellybaby.net/
RISC OS London Show - http://www.riscoslondonshow.co.uk/
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
Thursday, 28 May 2020
Re: [Rpcemu] Installing to Linux
On 29 May 2020, at 3:18, John McCartney wrote:
> Despite looking like a text file
Every version of Linux is a little different so I may be wrong about
this, but perhaps all you need to do is set the "executable" flag on the
rpcemu-recompiler file:
chmod u+x rpcemu-recompiler
I would normally expect this to have been done by the process of
creating a compiled binary in the first place, but maybe that didn't
happen for some reason (or I'm just wrong about the problem you're
having).
--
Andrew Hodgkinson
RISC OS Open Limited
http://www.riscosopen.org/
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
> Despite looking like a text file
Every version of Linux is a little different so I may be wrong about
this, but perhaps all you need to do is set the "executable" flag on the
rpcemu-recompiler file:
chmod u+x rpcemu-recompiler
I would normally expect this to have been done by the process of
creating a compiled binary in the first place, but maybe that didn't
happen for some reason (or I'm just wrong about the problem you're
having).
--
Andrew Hodgkinson
RISC OS Open Limited
http://www.riscosopen.org/
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
Re: [Rpcemu] Installing to Linux (John McCartney)
Hi all!
This is a reply to John McCartney's question about starting RPCEmu from
the desktop (actually: from the menu-system of a Linux-desktop).
As I wrote before (on 15/05/2020):
starting rpcemu from the command line (after compiling, of course) was straightforward. Starting it from the menusystem of the desktop however, was not. It gave an error, complaining about some files not being present (./roms, for example). I checked and lo and behold, the roms were present.
So I surmised that the menusystem just didn't change directory in a
clear way. So I made up a little script (called RISCOS5.sh), with the
following content:
#!/bin/bash
#
# A script to start RPCemu with RISCOS 5!
#
cd /home/USER/PROGRAMS/RPCEmu/rpcemu-0.9.3-recompiler-RISCOS5
./rpcemu-recompiler
NOTE: the last command (i.e.: './rpcemu-recompiler') should be on a new line after the cd-command!!!
I made another script (called RISCOS371.sh) for the Easy-Start-Bundle
with RISC OS 3.71, in the same fashion.
Both scripts were saved in a directory called RPCEmu (in my case under
another directory, called PROGRAMS) in my home-folder. Of course these
scripts could be placed anywhere where one has read-and-write access.
After that I just edited the menu-system of Ubuntu MATE, created two new
items in the menu-system and pointed each towards their respective script.
That did it!
Both instances of RISC OS emulated through RPCEmu now start from their
own menu-item.
Sincerely,
Peter Veltmans
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
This is a reply to John McCartney's question about starting RPCEmu from
the desktop (actually: from the menu-system of a Linux-desktop).
As I wrote before (on 15/05/2020):
starting rpcemu from the command line (after compiling, of course) was straightforward. Starting it from the menusystem of the desktop however, was not. It gave an error, complaining about some files not being present (./roms, for example). I checked and lo and behold, the roms were present.
So I surmised that the menusystem just didn't change directory in a
clear way. So I made up a little script (called RISCOS5.sh), with the
following content:
#!/bin/bash
#
# A script to start RPCemu with RISCOS 5!
#
cd /home/USER/PROGRAMS/RPCEmu/rpcemu-0.9.3-recompiler-RISCOS5
./rpcemu-recompiler
NOTE: the last command (i.e.: './rpcemu-recompiler') should be on a new line after the cd-command!!!
I made another script (called RISCOS371.sh) for the Easy-Start-Bundle
with RISC OS 3.71, in the same fashion.
Both scripts were saved in a directory called RPCEmu (in my case under
another directory, called PROGRAMS) in my home-folder. Of course these
scripts could be placed anywhere where one has read-and-write access.
After that I just edited the menu-system of Ubuntu MATE, created two new
items in the menu-system and pointed each towards their respective script.
That did it!
Both instances of RISC OS emulated through RPCEmu now start from their
own menu-item.
Sincerely,
Peter Veltmans
_______________________________________________
RPCEmu mailing list
RPCEmu@riscos.info
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
Re: [Rpcemu] Installing to Linux
In article <586ea4eea9j.mccartney@blueyonder.co.uk>, John
McCartney <j.mccartney@blueyonder.co.uk> wrote:
> In article
> <E539569F-EAD9-4DC9-A65C-E090972FEAF8@riscosopen.org>,
> Andrew Hodgkinson <ahodgkin@riscosopen.org> wrote:
> > On 11 May 2020, at 2:25, John McCartney wrote:
> > I recommend you build both. Use the recompiler version
> > normally, but if you encounter crashes you wouldn't
> > expect from a normal RISC OS machine, switch to the
> > interpreter version.
> Thanks Andrew. I'll build the interpreter version first
> and see how I get on with it. I might well be back to ask
> more questions.
I knew I'd be back.
I decided to go for the recompiler version first and, after
much confusion (self-induced), I finally managed to get it
to compile and ended up with the contents of my folder
(rpcemu-0.9.3) appearing as in the attached image.
The appearance of files for 0.9.3 is different to how they
appeared for 0.8.15 which I tried a couple of years ago. I
abandoned that version because of networking difficulties.
Despite looking like a text file (which I know it isn't) it
runs just fine when invoked with ./rpcemu-recompiler.
However, I don't want to have to go into the terminal every
time I want to run RISC OS. I made a link to the executable
(is that the right description in Linux?) and dragged it to
the desktop but it just asked me to choose a program to
start it. I couldn't see a likely candidate in the program
list so I backed out. Is there a way to run the program
from the desktop?
John
--
John McCartney
j.mccartney@blueyonder.co.uk
McCartney <j.mccartney@blueyonder.co.uk> wrote:
> In article
> <E539569F-EAD9-4DC9-A65C-E090972FEAF8@riscosopen.org>,
> Andrew Hodgkinson <ahodgkin@riscosopen.org> wrote:
> > On 11 May 2020, at 2:25, John McCartney wrote:
> > I recommend you build both. Use the recompiler version
> > normally, but if you encounter crashes you wouldn't
> > expect from a normal RISC OS machine, switch to the
> > interpreter version.
> Thanks Andrew. I'll build the interpreter version first
> and see how I get on with it. I might well be back to ask
> more questions.
I knew I'd be back.
I decided to go for the recompiler version first and, after
much confusion (self-induced), I finally managed to get it
to compile and ended up with the contents of my folder
(rpcemu-0.9.3) appearing as in the attached image.
The appearance of files for 0.9.3 is different to how they
appeared for 0.8.15 which I tried a couple of years ago. I
abandoned that version because of networking difficulties.
Despite looking like a text file (which I know it isn't) it
runs just fine when invoked with ./rpcemu-recompiler.
However, I don't want to have to go into the terminal every
time I want to run RISC OS. I made a link to the executable
(is that the right description in Linux?) and dragged it to
the desktop but it just asked me to choose a program to
start it. I couldn't see a likely candidate in the program
list so I backed out. Is there a way to run the program
from the desktop?
John
--
John McCartney
j.mccartney@blueyonder.co.uk
Subscribe to:
Posts (Atom)