<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Il 04/01/2019 12:08, Florian Klämpfl via lazarus ha scritto:<br>
</p>
<blockquote type="cite"
cite="mid:a9df0b51-631c-3e15-7792-4a731c3f9605@freepascal.org">Is
there any possibility that lazarus auto stores the current session
(project file, source files, session information etc.) every xxxx
s?
<br>
<br>
Background is that I am starting another trial to use linux as
desktop system but within in a few days I have already lost
changes because lazarus was just killed on shutdown (well,
actually I would prefer to have linux just hibernating instead of
shutdown, but this is another story).
<br>
<br>
Furthermore, is there any option to store the green bars which
indicate changed sources between different runs of lazarus?
<br>
</blockquote>
<br>
I'm using linux as my desktop (and laptop) system since a very long
time.<br>
Basically I never use shutdown, except for a kernel or libc update.
I just leave my desktop linux running, and either suspend or
hibernate my laptop.<br>
Depending of the combination of your platform, your distro, and the
Desktop you're using, you may have available both a "suspend to ram"
(only if it is a laptop with battery) and a "hibernate" (=suspend to
disk). But you must pick up a good distro, within the distro select
a stable and tested version (the latest version is always a
lottery), and select a good Desktop.<br>
Or you may resort to command-line, which is less subject to Desktop
environment bugs: depending on distro and kernel you may have
available <i>pm-suspend</i> and <i>pm-hibernate</i> or <i>systemctl
suspend</i> and <i>systemctl hibernate. </i>If it doesn't wake
up properly, you may need to google to find out the quirks required
for your specific hardware. <br>
<br>
As far as Lazarus is concerned, everything relevant is saved each
time you compile (or attempt to compile) your application. Just hit
F9 and you're done.<br>
You may easily check and tune your behaviour: if, when trying to
quit Lazarus, a dialogue shows "Save changes to project xxxx?" it
means that some changes will be lost by a kill, if it doesn't show,
it means that all relevant changes have already been saved, and that
a kill wouldn't do any harm.<br>
<br>
Giuliano <br>
<br>
<pre class="moz-signature" cols="72">--
Do not do to others as you would have them do to you.They might have different tastes.</pre>
</body>
</html>