Recent

Author Topic: Saving custom configuration[Solved]  (Read 415 times)

Ten_Mile_Hike

  • Full Member
  • ***
  • Posts: 132
Saving custom configuration[Solved]
« on: November 21, 2025, 07:58:08 pm »
After buying a new computer or after reinstalling Windows (~2-3 times a year between the two) I
always spend about 10 minutes changing the options of the source editor (font, background color,
user defined colors etc...). Although this process is not overly taxing, is there a configuration file/ files
that I could do to back up to the cloud then simply download it to simplify the process?
« Last Edit: November 22, 2025, 12:36:27 am by Ten_Mile_Hike »
When any government, or any church for that matter, undertakes to say to its subjects, This you may not read, this you
must not see, this you are forbidden to know, the end result is tyranny and oppression no matter how holy the motives.

Robert A. Heinlein

dsiders

  • Hero Member
  • *****
  • Posts: 1509
Re: Saving custom configuration
« Reply #1 on: November 21, 2025, 08:24:26 pm »
After buying a new computer or after reinstalling Windows (~2-3 times a year between the two) I
always spend about 10 minutes changing the options of the source editor (font, background color,
user defined colors etc...). Although this process is not overly taxing, is there a configuration file/ files
that I could do to back up to the cloud then simply download it to simplify the process?

Sure. The only question is where it's stored. It's platform-specific.

The file you're looking for is editoroptions.xml. Windows seems to put them in a \User\username/ directory. Linux put's them in a /home/username/.lazarus/. An install  using fpcupdeluxe puts in a ./config_lazarus/ directory.

Be warned that changes between lazarus versions may mean that the old .xml file is no longer fully compatible with the new format.

n7800

  • Hero Member
  • *****
  • Posts: 594
  • Lazarus IDE contributor
    • GitLab profile
Re: Saving custom configuration
« Reply #2 on: November 21, 2025, 08:26:24 pm »
I think you're interested in the "editoroptions.xml" file in the configuration folder. You can see the path in "Menu > View > IDE Internals > About IDE", line "Primary config directory=".

While it's highly likely to work, there's no guarantee that this file will be portable or compatible between versions.

Edited: Yes, I saw that while I was writing my reply, someone had already replied to you. I was too lazy to rewrite it ))

Ten_Mile_Hike

  • Full Member
  • ***
  • Posts: 132
Re: Saving custom configuration[Solved]
« Reply #3 on: November 22, 2025, 12:36:57 am »
Thank you both.
When any government, or any church for that matter, undertakes to say to its subjects, This you may not read, this you
must not see, this you are forbidden to know, the end result is tyranny and oppression no matter how holy the motives.

Robert A. Heinlein

 

TinyPortal © 2005-2018