Hi,
On WinXP, the Lazarus saves settings in:
C:\Documents and Settings\<user>\Local Settings\Application Data\lazarus\*.*
Can I use another directory?
I want to use Lazarus in external HD to take to work on multiple CPU.
Thanks,
MD.

Mailing lists / lazarus / 2010-07
9 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
On WinXP, the Lazarus saves settings in:
C:\Documents and Settings\<user>\Local Settings\Application Data\lazarus\*.*
Can I use another directory?
I want to use Lazarus in external HD to take to work on multiple CPU.
Thanks,
MD.
I found: --primary-config-path=C:\example
Why not exists in Environment/Options IDE?
2010/7/12, Marcos Douglas :
That is correct.
Why not exists in Environment/Options IDE?
Where should it load such a setting from? In the directory indicated by that setting? And where should the IDE load that setting from? Etc.
It could be a readonly informational options, but changing it in the IDE is not useful.
Vincent
I found: --primary-config-path=C:\example Why not exists in Environment/Options IDE?
I found: --primary-config-path=C:\example Why not exists in Environment/Options IDE?
Because the setting will be known only *after* the default configuration has been read. Then that configuration had to be thrown away, and read again from the new source - which in turn could specify yet another path...
On Windows you can add any number of Lazarus icons to your desktop, and specify their distinct primary config paths. Other desktops may have similar features.
DoDi
The readonly information is a good ideia :)
Sorry guys, for my crazy idea =)
But I have another doubt: The Lazarus should be started by startlazarus.exe, right? If I use arguments in lazarus.exe, how startlazarus.exe knows about this parameters when I rebuild the IDE?
Thanks,
MD.
There is old topic, it is easy to change the source of Lazarus ide
http:/msg07179.html
Thanks
In case this question has not yet been answered:
IMO startlazarus is only used when rebuilding Lazarus itself, from the IDE, to rename and start the new lazarus.exe. Please correct me if I'm wrong.
DoDi
There is old topic, it is easy to change the source of Lazarus ide http:/msg07179.html…
Hi Zaher,
2010/7/13 Zaher Dirkey :
I did not understand. I not want to change the source... I want to change only settings files of Lazarus.
I followed the link and saw (in others links on the thread) the same arguments to 'lazarus': --primary-config-path=C:\example
I think this solve my problem (sorry, I did not test yet). I was thinking... maybe 'startlazarus' knows about the arguments passed to 'lazarus'. I will test this tomorrow.
thanks,
MD.
In case this question has not yet been answered: IMO startlazarus is only used when…
startlazarus is used when restarting the IDE. Under windows, where the exe files are locked it renames them.
startlazarus passes most parameters to the IDE and vice versus. startlazarus has some smart heuristics to find the right lazarus executable, if there are several. For example when there is a custom built one. In doubt it asks.
Because of the last feature the windows and linux installer sets up the desktop/menu icon to start startlazarus and not the default lazarus executable.
The OS X installer should do the same, but there
was some trouble with the bundle. I have to check.
Mattias