Forum > Editor

is there a "Lazarus.ini"?

<< < (2/9) > >>

Thank you for all answers.

To my mind: "desktop" does it all, but where is it?
There is no file by such a name as the name I chose for it.

About this deluxe Lazarus:
Would this mean, that I have to start from the beginning again? Plain VM, all components new and setting all options again?

No, you don't really have to.
You'll find Desktops under Menu: Tools - Desktops

fpcupdeluxe is an advanced installer for Lazarus that also allows you to have multiple independent Lazarus installations on the same machine or VM.

Leave your Lazarus installation as it is and download fpcupdeluxe in the latest version.

I install my Lazarus instances like this:
Create a directory where you want to put all instances.
Mine is /lazarus
Create another directory where you want to store one instance.
for example /lazarus/laz224_fpc322_stable

copy the exe or executable of fpcupdeluxe into the new directory and run it from there.

When fpcupdeluxe is started choose the install directory (button "Set InstallDir")
Be sure that the checkbox "GitLab" is checked and press the big button with the green thumbs up.

You can play with the many installation options later.
Get a cup of tea and let fpcupdeluxe do the work. Everything is fetched up to date from the net and compiled correctly.

When fpcupdeluxe is done select the tab "Modules" and install OPM (Online Package Manager) with which you can later automatically fetch the necessary components from the net.

In my opinion the best way to install Lazarus.

You can delete your old Lazarus installation if needed by simply deleting the directory because Lazarus does not install anything outside of its directory.

This way you can run different versions of Lazarus side by side. For example one with which you develop and another one in which you can look at the latest news (trunk). With a version change one can also let the old and new version exist until one really wants to change.


--- Quote from: CharlyTango on January 27, 2023, 10:58:15 am ---You can delete your old Lazarus installation if needed by simply deleting the directory because Lazarus does not install anything outside of its directory.

--- End quote ---
afaik that is a untrue statement. The configuration of lazarus will be installed (by default) outside the Lazarus directory (and becomes a global setting). If you truly wish for Lazarus to be 'standalone' then start Lazarus with the --pcp option. You have to do that anyway if you are using multiple installations of Lazarus. Neglecting to do so will mess up your Lazarus configuration (between multiple installations).

The desktop settings are likely stored in one of the xml files.
Make a backup, change desktop settings, save. Then diff to the backup. That should tell you.

Editor Colors, and keymap are in EditorOptions.xml

Take care when reusing EnvironmentOptions.xml => you may have to adjust some paths.

If you need more than one Lazarus install:

You create that lazarus.cfg once for each install, pointing to a new empty directory (or a dir containing some of the xml that you copied).

You have to check the startup file from fpc deluxe. Maybe it already sets a config path?? Then you wouldn't need the lazarus.cfg.
I don't use fpcupdeluxe, so I don't know.

Thank you for the explanation of best install. I'll keep this for a rainy day.

What I do not understand:
What will the deLuxe version do for me in points of backup?

I want a KISS, keep it simple, keep it stupid.
Only one installation. I am no programmer, but am forced programming to realize a project of mine.

My idea is this: If there is a rainy day and I loose all my data, which files shall be found in my out-of-house-backup?
They shall enable me to work on in the most quickest way how I was used to work.


[0] Message Index

[#] Next page

[*] Previous page

Go to full version