[Gambas-user] Automatic Startup

gian bagoneo at libero.it
Sat Nov 5 23:37:29 CET 2022


Hi Lee,

Il 05/11/22 18:39, T Lee Davidson ha scritto:
> Gianluigi, I downloaded your app from the Farm and took a quick look at 
> MMain.
> 
> I have to assume that your wife has her own computer. But, I am unsure 
> of that as I do not recall you mentioning how you transferred your 
> program to her desktop. Anyway...

yes my wife has her own desktop pc with Linux Ubuntu, she has for 
convenience Gambas IDE so for the programs she asks me I install an 
executable for her, but also a work in progress and I do it faster.

This time I felt like trying to create everything from code and indeed 
the clock installed from his IDE works fine.

At this point I wondered, what if I wanted to distribute it with packages?

I realized that I didn't actually know many things:

For example, Benoit told me that the runtime is enough to run an 
executable, I didn't know that, I thought you need to have the IDE.
And other things I still don't know, as you might have guessed from the 
questions I asked.
Now I understand why Bruce is fascinated by scripts (which work even 
without the IDE).

> 
> I do not understand why you are doing this:
> Shell "cd " & Application.Path & " && gbc3 -agt && gba3 -v -o " &/ sPath 
> &/ Application.Name & ".gambas" Wait

With the above in mind, the idea was to create the executable with the 
collected data (font and location) to start it with a launcher and a 
symlink in autostart.

> 
> Why not simply make an installation package thereby letting Gambas 
> determine and handle dependencies?
> 
> You could specify an extra file (Step 8) that could be a launch script 
> to be placed in the system's autostart folder.

Everything you wrote after that I did not understand and I apologize.

Can you be more clear?

I am going to sleep now, I wish you a good night (here) and good morning 
(there) :-)

Gianluigi


More information about the User mailing list