[Lazarus] Lazarus shortcuts conflict with windows shortcuts

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Aug 15 13:15:02 CEST 2012



"Jürgen Hestermann" <juergen.hestermann at gmx.de> hat am 15. August 2012 um 11:46
geschrieben:>
>
> Am 2012-08-15 11:17, schrieb Mattias Gaertner:
> > The IDE does not reset configs on itself. Maybe the installer does?
>
> I think the settings are not reset after each update. But I had several
> situations where I got an startup error message after a certain upgrade which
> I could only get rid of by renaming the path "C:\Dokumente und
> Einstellungen\Jürgen\Lokale Einstellungen\Anwendungsdaten\lazarus" (which I
> was not even aware of that it exists and that it holds my settings).
> Afterwards all settings were gone. I had to do this on multiple machines.

The next time you get this, can you create a bug report?


> When updating I am also asked whether
> "D:\Programme\lazarus\environmentoptions.xml" (why is this file located in the
> installation directory?) should be updated.

The folder "D:\Programme\lazarus" is the secondary config directory - the place
where the Windows installer places the config files that are copied on first
start to the primary config directory (C:\Dokumente und
Einstellungen\Jürgen\Lokale Einstellungen\Anwendungsdaten\lazarus).
Maybe the Windows Installer maintainer can explain why he chose those
directories.
Under Unix the secondary is /etc/lazarus, the primary is ~/.lazarus.


> I was under the impression that this file holds all my settings but only
> recently found out the editor settings are in "C:\Dokumente und
> Einstellungen\<user>\Lokale
> Einstellungen\Anwendungsdaten\lazarus\editoroptions.xml". What a nighmare of
> scattered settings. In "C:\Dokumente und Einstellungen\<user>\Lokale
> Einstellungen\Anwendungsdaten\lazarus" a file environmentoptions.xml exists
> too. Which one is used? There are 11 XML files in this directory. Are they all
> config files?

Yes.

> Are other (non-XML files) configure something?

Yes. For example staticpackages.inc is a pascal include file.

> This all is something the user should not bother about.

The normal user needs to know where the (primary) configs are for backup.
Design time package developers need to know more details.


> I find it way too confusing. There should be only one config file with paths
> (which may be different on different machines) and one for *all* settings
> regarding Lazarus.

The other settings can also be different on different machines. For example
short cuts, window positions and history lists.
And vice versus: The paths can use macros and might be the same on different
machines.

> But this seems to have evolved over time and cannot be changed back now.

The secondary directory can be changed quite easily.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120815/22e4a1bb/attachment-0003.html>


More information about the Lazarus mailing list