[Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?

Bo Berglund bo.berglund at gmail.com
Sun Dec 27 12:31:48 CET 2020


On Sun, 27 Dec 2020 11:09:57 +0100, Mattias Gaertner via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>On Sun, 27 Dec 2020 09:12:20 +0100
>Bo Berglund via lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
>>[...]
>> And I woud like to know *why* Lazarus loses this information, it is
>> not the first time it happened...
>
>Maybe your windows are on another screen.
>Try in menu  Window / Center a lost window / ...
>
>Mattias

Well, restoring the environmentoptions.xml from my most recent backup
on both the Win10 and RPi4 systems gave me back my desktop with all of
the expected windows and placements.

Note that when I discovered this problem there was a smaller file
dated "just now" in the pcp directory and it contained no trace of the
desktop I used.
So the environment file had for some reason been rewritten with a
default content on *both* of my separate systems at the same basic
time....
Very strange.

And restoring from the last backup which held older files than the
backup date fixed the problem....

So now I have scripted the backup of the config dir so it is easier to
make a backup (on the RPi4).


-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list