|
a/src/README |
|
b/src/README |
|
... |
|
... |
394 |
can be found in the examples directory (typically
|
394 |
can be found in the examples directory (typically
|
395 |
/usr/local/[share/]recoll/examples).
|
395 |
/usr/local/[share/]recoll/examples).
|
396 |
|
396 |
|
397 |
Starting and stopping the daemon could be performed, for example, as part
|
397 |
Starting and stopping the daemon could be performed, for example, as part
|
398 |
of the user session script. For example, my out of fashion xdm-based
|
398 |
of the user session script. For example, my out of fashion xdm-based
|
399 |
session has an .xsession script with the following lines at the end:
|
399 |
session has a .xsession script with the following lines at the end:
|
400 |
|
400 |
|
401 |
recollconf=$HOME/.recoll-home
|
401 |
recollconf=$HOME/.recoll-home
|
402 |
recolldata=/usr/local/share/recoll
|
402 |
recolldata=/usr/local/share/recoll
|
403 |
RECOLL_CONFDIR=$recollconf $recolldata/examples/rclmon.sh start
|
403 |
RECOLL_CONFDIR=$recollconf $recolldata/examples/rclmon.sh start
|
404 |
|
404 |
|
|
... |
|
... |
409 |
The indexing daemon gets started, then the window manager, for which the
|
409 |
The indexing daemon gets started, then the window manager, for which the
|
410 |
session waits. When the window manager exits, the indexing daemon is
|
410 |
session waits. When the window manager exits, the indexing daemon is
|
411 |
stopped, then the session ends (at script exit). This should be adjusted
|
411 |
stopped, then the session ends (at script exit). This should be adjusted
|
412 |
for your flavour of session management, and of course, there are other
|
412 |
for your flavour of session management, and of course, there are other
|
413 |
possibilities.
|
413 |
possibilities.
|
|
|
414 |
|
|
|
415 |
Under KDE, you can place a small script to start recollindex -m under
|
|
|
416 |
$HOME/.kde/Autostart. This will be executed when the session begins, and
|
|
|
417 |
the process seems to get a SIGHUP signal and be terminated when the
|
|
|
418 |
session ends.
|
|
|
419 |
|
|
|
420 |
There is a similar mechanism under Gnome (find the session control tool in
|
|
|
421 |
the menus and use the "Startup programs" tab). I could find an easy way to
|
|
|
422 |
stop recollindex at the end of the session though.
|
414 |
|
423 |
|
415 |
By default, the indexing daemon will write its messages to a file inside
|
424 |
By default, the indexing daemon will write its messages to a file inside
|
416 |
the configuration directory (this is controlled by the daemlogfilename and
|
425 |
the configuration directory (this is controlled by the daemlogfilename and
|
417 |
daemloglevel configuration parameters). You may want to change this. Also
|
426 |
daemloglevel configuration parameters). You may want to change this. Also
|
418 |
the log file will only be truncated when the daemon starts. If the daemon
|
427 |
the log file will only be truncated when the daemon starts. If the daemon
|
|
... |
|
... |
850 |
%R %S %L <b>%T</b><br>
|
859 |
%R %S %L <b>%T</b><br>
|
851 |
%M %D <i>%U</i><br>
|
860 |
%M %D <i>%U</i><br>
|
852 |
%A %K
|
861 |
%A %K
|
853 |
|
862 |
|
854 |
|
863 |
|
855 |
You may, for example, try the following for a more web-like experience
|
864 |
You may, for example, try the following for a more web-like
|
856 |
(but the document title will not act as a link):
|
865 |
experience:
|
857 |
|
866 |
|
858 |
<u><b><font size=+1 color=#1111cf>%T</font></b></u><br>
|
867 |
<u><b><a href="P%N">%T</a></b></u><br>
|
859 |
%A<font color=#008000>%U - %S</font> - %L
|
868 |
%A<font color=#008000>%U - %S</font> - %L
|
860 |
|
869 |
|
|
|
870 |
|
|
|
871 |
The format of the Preview and Edit links is <a href="Pdocnum"> and <a
|
|
|
872 |
href="Edocnum"> where docnum is what %N would print. This makes the
|
|
|
873 |
title a preview link in the above format.
|
861 |
|
874 |
|
862 |
* HTML help browser: this will let you chose your preferred browser
|
875 |
* HTML help browser: this will let you chose your preferred browser
|
863 |
which will be started from the Help menu to read the user manual. You
|
876 |
which will be started from the Help menu to read the user manual. You
|
864 |
can enter a simple name if the command is in your PATH, or browse for
|
877 |
can enter a simple name if the command is in your PATH, or browse for
|
865 |
a full pathname.
|
878 |
a full pathname.
|