Switch to unified view

a/src/INSTALL b/src/INSTALL
...
...
10
                   Chapter 5. Installation and configuration
10
                   Chapter 5. Installation and configuration
11
   Prev                                                                  Next 
11
   Prev                                                                  Next 
12
12
13
     ----------------------------------------------------------------------
13
     ----------------------------------------------------------------------
14
14
15
                   Chapter 5. Installation and configuration
15
Chapter 5. Installation and configuration
16
16
17
5.1. Installing a binary copy
17
5.1. Installing a binary copy
18
18
19
   There are three types of binary Recoll installations:
19
   There are three types of binary Recoll installations:
20
20
21
     * Through your system normal software distribution framework (ie,
21
     o Through your system normal software distribution framework (ie,
22
       Debian/Ubuntu apt, FreeBSD ports, etc.).
22
       Debian/Ubuntu apt, FreeBSD ports, etc.).
23
23
24
     * From a package downloaded from the Recoll web site.
24
     o From a package downloaded from the Recoll web site.
25
25
26
     * From a prebuilt tree downloaded from the Recoll web site.
26
     o From a prebuilt tree downloaded from the Recoll web site.
27
27
28
   In all cases, the strict software dependancies (ie on Xapian or iconv)
28
   In all cases, the strict software dependancies (ie on Xapian or iconv)
29
   will be automatically satisfied, you should not have to worry about them.
29
   will be automatically satisfied, you should not have to worry about them.
30
30
31
   You will only have to check or install supporting applications for the
31
   You will only have to check or install supporting applications for the
...
...
56
   binary trees are built for installation to /usr/local.
56
   binary trees are built for installation to /usr/local.
57
57
58
     ----------------------------------------------------------------------
58
     ----------------------------------------------------------------------
59
59
60
   Prev                                                                  Next 
60
   Prev                                                                  Next 
61
   4.3. API  Home                                    5.2. Supporting packages 
61
   4.3. API                           Home           5.2. Supporting packages 
62
   Link: home: Recoll user manual
62
   Link: home: Recoll user manual
63
   Link: up: Chapter 5. Installation and configuration
63
   Link: up: Chapter 5. Installation and configuration
64
   Link: prev: Chapter 5. Installation and configuration
64
   Link: prev: Chapter 5. Installation and configuration
65
   Link: next: 5.3. Building from source
65
   Link: next: 5.3. Building from source
66
66
...
...
99
   by ad hoc handler code now use the xsltproc command, which usually comes
99
   by ad hoc handler code now use the xsltproc command, which usually comes
100
   with libxslt. These are: abiword, fb2 (ebooks), kword, openoffice, svg.
100
   with libxslt. These are: abiword, fb2 (ebooks), kword, openoffice, svg.
101
101
102
   Now for the list:
102
   Now for the list:
103
103
104
     * Openoffice files need unzip and xsltproc.
104
     o Openoffice files need unzip and xsltproc.
105
105
106
     * PDF files need pdftotext which is part of the Xpdf or Poppler
106
     o PDF files need pdftotext which is part of the Xpdf or Poppler
107
       packages.
107
       packages.
108
108
109
     * Postscript files need pstotext. The original version has an issue with
109
     o Postscript files need pstotext. The original version has an issue with
110
       shell character in file names, which is corrected in recent packages.
110
       shell character in file names, which is corrected in recent packages.
111
       See http://www.recoll.org/features.html for more detail.
111
       See http://www.recoll.org/features.html for more detail.
112
112
113
     * MS Word needs antiword. It is also useful to have wvWare installed as
113
     o MS Word needs antiword. It is also useful to have wvWare installed as
114
       it may be be used as a fallback for some files which antiword does not
114
       it may be be used as a fallback for some files which antiword does not
115
       handle.
115
       handle.
116
116
117
     * MS Excel and PowerPoint are processed by internal Python handlers.
117
     o MS Excel and PowerPoint are processed by internal Python handlers.
118
118
119
     * MS Open XML (docx) needs xsltproc.
119
     o MS Open XML (docx) needs xsltproc.
120
120
121
     * Wordperfect files need wpd2html from the libwpd (or libwpd-tools on
121
     o Wordperfect files need wpd2html from the libwpd (or libwpd-tools on
122
       Ubuntu) package.
122
       Ubuntu) package.
123
123
124
     * RTF files need unrtf, which, in its standard version, has much trouble
124
     o RTF files need unrtf, which, in its standard version, has much trouble
125
       with non-western character sets. Check
125
       with non-western character sets. Check
126
       http://www.recoll.org/features.html.
126
       http://www.recoll.org/features.html.
127
127
128
     * TeX files need untex or detex. Check
128
     o TeX files need untex or detex. Check
129
       http://www.recoll.org/features.html for sources if it's not packaged
129
       http://www.recoll.org/features.html for sources if it's not packaged
130
       for your distribution.
130
       for your distribution.
131
131
132
     * dvi files need dvips.
132
     o dvi files need dvips.
133
133
134
     * djvu files need djvutxt and djvused from the DjVuLibre package.
134
     o djvu files need djvutxt and djvused from the DjVuLibre package.
135
135
136
     * Audio files: Recoll releases 1.14 and later use a single Python
136
     o Audio files: Recoll releases 1.14 and later use a single Python
137
       handler based on mutagen for all audio file types.
137
       handler based on mutagen for all audio file types.
138
138
139
     * Pictures: Recoll uses the Exiftool Perl package to extract tag
139
     o Pictures: Recoll uses the Exiftool Perl package to extract tag
140
       information. Most image file formats are supported. Note that there
140
       information. Most image file formats are supported. Note that there
141
       may not be much interest in indexing the technical tags (image size,
141
       may not be much interest in indexing the technical tags (image size,
142
       aperture, etc.). This is only of interest if you store personal tags
142
       aperture, etc.). This is only of interest if you store personal tags
143
       or textual descriptions inside the image files.
143
       or textual descriptions inside the image files.
144
144
145
     * chm: files in Microsoft help format need Python and the pychm module
145
     o chm: files in Microsoft help format need Python and the pychm module
146
       (which needs chmlib).
146
       (which needs chmlib).
147
147
148
     * ICS: up to Recoll 1.13, iCalendar files need Python and the icalendar
148
     o ICS: up to Recoll 1.13, iCalendar files need Python and the icalendar
149
       module. icalendar is not needed for newer versions, which use internal
149
       module. icalendar is not needed for newer versions, which use internal
150
       code.
150
       code.
151
151
152
     * Zip archives need Python (and the standard zipfile module).
152
     o Zip archives need Python (and the standard zipfile module).
153
153
154
     * Rar archives need Python, the rarfile Python module and the unrar
154
     o Rar archives need Python, the rarfile Python module and the unrar
155
       utility.
155
       utility.
156
156
157
     * Midi karaoke files need Python and the Midi module
157
     o Midi karaoke files need Python and the Midi module
158
158
159
     * Konqueror webarchive format with Python (uses the Tarfile module).
159
     o Konqueror webarchive format with Python (uses the Tarfile module).
160
160
161
     * Mimehtml web archive format (support based on the email handler, which
161
     o Mimehtml web archive format (support based on the email handler, which
162
       introduces some mild weirdness, but still usable).
162
       introduces some mild weirdness, but still usable).
163
163
164
   Text, HTML, email folders, and Scribus files are processed internally. Lyx
164
   Text, HTML, email folders, and Scribus files are processed internally. Lyx
165
   is used to index Lyx files. Many handlers need iconv and the standard sed
165
   is used to index Lyx files. Many handlers need iconv and the standard sed
166
   and awk.
166
   and awk.
...
...
189
189
190
   You may have to compile Xapian but this is easy.
190
   You may have to compile Xapian but this is easy.
191
191
192
   The shopping list:
192
   The shopping list:
193
193
194
     * C++ compiler. Up to Recoll version 1.13.04, its absence can manifest
194
     o C++ compiler. Up to Recoll version 1.13.04, its absence can manifest
195
       itself by strange messages about a missing iconv_open.
195
       itself by strange messages about a missing iconv_open.
196
196
197
     * Development files for Xapian core.
197
     o Development files for Xapian core.
198
198
199
  Important
199
  Important
200
200
201
       If you are building Xapian for an older CPU (before Pentium 4 or
201
       If you are building Xapian for an older CPU (before Pentium 4 or
202
       Athlon 64), you need to add the --disable-sse flag to the configure
202
       Athlon 64), you need to add the --disable-sse flag to the configure
203
       command. Else all Xapian application will crash with an illegal
203
       command. Else all Xapian application will crash with an illegal
204
       instruction error.
204
       instruction error.
205
205
206
     * Development files for Qt 4 . Recoll has not been tested with Qt 5 yet.
206
     o Development files for Qt 4 . Recoll has not been tested with Qt 5 yet.
207
       Recoll 1.15.9 was the last version to support Qt 3. If you do not want
207
       Recoll 1.15.9 was the last version to support Qt 3. If you do not want
208
       to install or build the Qt Webkit module, Recoll has a configuration
208
       to install or build the Qt Webkit module, Recoll has a configuration
209
       option to disable its use (see further).
209
       option to disable its use (see further).
210
210
211
     * Development files for X11 and zlib.
211
     o Development files for X11 and zlib.
212
212
213
     * You may also need libiconv. On Linux systems, the iconv interface is
213
     o You may also need libiconv. On Linux systems, the iconv interface is
214
       part of libc and you should not need to do anything special.
214
       part of libc and you should not need to do anything special.
215
215
216
   Check the Recoll download page for up to date version information.
216
   Check the Recoll download page for up to date version information.
217
217
218
  5.3.2. Building
218
  5.3.2. Building
...
...
222
   ok). If you build on another system, and need to modify things, I would
222
   ok). If you build on another system, and need to modify things, I would
223
   very much welcome patches.
223
   very much welcome patches.
224
224
225
   Configure options: 
225
   Configure options: 
226
226
227
     * --without-aspell will disable the code for phonetic matching of search
227
     o --without-aspell will disable the code for phonetic matching of search
228
       terms.
228
       terms.
229
229
230
     * --with-fam or --with-inotify will enable the code for real time
230
     o --with-fam or --with-inotify will enable the code for real time
231
       indexing. Inotify support is enabled by default on recent Linux
231
       indexing. Inotify support is enabled by default on recent Linux
232
       systems.
232
       systems.
233
233
234
     * --with-qzeitgeist will enable sending Zeitgeist events about the
234
     o --with-qzeitgeist will enable sending Zeitgeist events about the
235
       visited search results, and needs the qzeitgeist package.
235
       visited search results, and needs the qzeitgeist package.
236
236
237
     * --disable-webkit is available from version 1.17 to implement the
237
     o --disable-webkit is available from version 1.17 to implement the
238
       result list with a Qt QTextBrowser instead of a WebKit widget if you
238
       result list with a Qt QTextBrowser instead of a WebKit widget if you
239
       do not or can't depend on the latter.
239
       do not or can't depend on the latter.
240
240
241
     * --disable-idxthreads is available from version 1.19 to suppress
241
     o --disable-idxthreads is available from version 1.19 to suppress
242
       multithreading inside the indexing process. You can also use the
242
       multithreading inside the indexing process. You can also use the
243
       run-time configuration to restrict recollindex to using a single
243
       run-time configuration to restrict recollindex to using a single
244
       thread, but the compile-time option may disable a few more unused
244
       thread, but the compile-time option may disable a few more unused
245
       locks. This only applies to the use of multithreading for the core
245
       locks. This only applies to the use of multithreading for the core
246
       index processing (data input). The Recoll monitor mode always uses at
246
       index processing (data input). The Recoll monitor mode always uses at
247
       least two threads of execution.
247
       least two threads of execution.
248
248
249
     * --disable-python-module will avoid building the Python module.
249
     o --disable-python-module will avoid building the Python module.
250
250
251
     * --disable-xattr will prevent fetching data from file extended
251
     o --disable-xattr will prevent fetching data from file extended
252
       attributes. Beyond a few standard attributes, fetching extended
252
       attributes. Beyond a few standard attributes, fetching extended
253
       attributes data can only be useful is some application stores data in
253
       attributes data can only be useful is some application stores data in
254
       there, and also needs some simple configuration (see comments in the
254
       there, and also needs some simple configuration (see comments in the
255
       fields configuration file).
255
       fields configuration file).
256
256
257
     * --enable-camelcase will enable splitting camelCase words. This is not
257
     o --enable-camelcase will enable splitting camelCase words. This is not
258
       enabled by default as it has the unfortunate side-effect of making
258
       enabled by default as it has the unfortunate side-effect of making
259
       some phrase searches quite confusing: ie, "MySQL manual" would be
259
       some phrase searches quite confusing: ie, "MySQL manual" would be
260
       matched by "MySQL manual" and "my sql manual" but not "mysql manual"
260
       matched by "MySQL manual" and "my sql manual" but not "mysql manual"
261
       (only inside phrase searches).
261
       (only inside phrase searches).
262
262
263
     * --with-file-command Specify the version of the 'file' command to use
263
     o --with-file-command Specify the version of the 'file' command to use
264
       (ie: --with-file-command=/usr/local/bin/file). Can be useful to enable
264
       (ie: --with-file-command=/usr/local/bin/file). Can be useful to enable
265
       the gnu version on systems where the native one is bad.
265
       the gnu version on systems where the native one is bad.
266
266
267
     * --disable-qtgui Disable the Qt interface. Will allow building the
267
     o --disable-qtgui Disable the Qt interface. Will allow building the
268
       indexer and the command line search program in absence of a Qt
268
       indexer and the command line search program in absence of a Qt
269
       environment.
269
       environment.
270
270
271
     * --disable-x11mon Disable X11 connection monitoring inside recollindex.
271
     o --disable-x11mon Disable X11 connection monitoring inside recollindex.
272
       Together with --disable-qtgui, this allows building recoll without Qt
272
       Together with --disable-qtgui, this allows building recoll without Qt
273
       and X11.
273
       and X11.
274
274
275
     * --disable-pic will compile Recoll with position-dependant code. This
275
     o --disable-pic will compile Recoll with position-dependant code. This
276
       is incompatible with building the KIO or the Python or PHP extensions,
276
       is incompatible with building the KIO or the Python or PHP extensions,
277
       but might yield very marginally faster code.
277
       but might yield very marginally faster code.
278
278
279
     * Of course the usual autoconf configure options, like --prefix apply.
279
     o Of course the usual autoconf configure options, like --prefix apply.
280
280
281
   Normal procedure:
281
   Normal procedure:
282
282
283
         cd recoll-xxx
283
         cd recoll-xxx
284
         configure
284
         configure
...
...
316
316
317
   You can then proceed to configuration.
317
   You can then proceed to configuration.
318
318
319
     ----------------------------------------------------------------------
319
     ----------------------------------------------------------------------
320
320
321
   Prev                       Up                                         Next 
321
   Prev                                Up                                Next 
322
   5.2. Supporting packages  Home                 5.4. Configuration overview 
322
   5.2. Supporting packages           Home        5.4. Configuration overview 
323
   Link: home: Recoll user manual
323
   Link: home: Recoll user manual
324
   Link: up: Chapter 5. Installation and configuration
324
   Link: up: Chapter 5. Installation and configuration
325
   Link: prev: 5.3. Building from source
325
   Link: prev: 5.3. Building from source
326
326
327
                          5.4. Configuration overview
327
                          5.4. Configuration overview
328
   Prev              Chapter 5. Installation and configuration                
328
   Prev            Chapter 5. Installation and configuration                  
329
329
330
     ----------------------------------------------------------------------
330
     ----------------------------------------------------------------------
331
331
332
5.4. Configuration overview
332
5.4. Configuration overview
333
333
...
...
393
         defaultcharset = utf-8
393
         defaultcharset = utf-8
394
        
394
        
395
395
396
   There are three kinds of lines:
396
   There are three kinds of lines:
397
397
398
     * Comment (starts with #) or empty.
398
     o Comment (starts with #) or empty.
399
399
400
     * Parameter affectation (name = value).
400
     o Parameter affectation (name = value).
401
401
402
     * Section definition ([somedirname]).
402
     o Section definition ([somedirname]).
403
403
404
   Depending on the type of configuration file, section definitions either
404
   Depending on the type of configuration file, section definitions either
405
   separate groups of parameters or allow redefining some parameters for a
405
   separate groups of parameters or allow redefining some parameters for a
406
   directory sub-tree. They stay in effect until another section definition,
406
   directory sub-tree. They stay in effect until another section definition,
407
   or the end of file, is encountered. Some of the parameters used for
407
   or the end of file, is encountered. Some of the parameters used for
...
...
416
   embedded spaces can be quoted using double-quotes.
416
   embedded spaces can be quoted using double-quotes.
417
417
418
   Encoding issues. Most of the configuration parameters are plain ASCII. Two
418
   Encoding issues. Most of the configuration parameters are plain ASCII. Two
419
   particular sets of values may cause encoding issues:
419
   particular sets of values may cause encoding issues:
420
420
421
     * File path parameters may contain non-ascii characters and should use
421
     o File path parameters may contain non-ascii characters and should use
422
       the exact same byte values as found in the file system directory.
422
       the exact same byte values as found in the file system directory.
423
       Usually, this means that the configuration file should use the system
423
       Usually, this means that the configuration file should use the system
424
       default locale encoding.
424
       default locale encoding.
425
425
426
     * The unac_except_trans parameter should be encoded in UTF-8. If your
426
     o The unac_except_trans parameter should be encoded in UTF-8. If your
427
       system locale is not UTF-8, and you need to also specify non-ascii
427
       system locale is not UTF-8, and you need to also specify non-ascii
428
       file paths, this poses a difficulty because common text editors cannot
428
       file paths, this poses a difficulty because common text editors cannot
429
       handle multiple encodings in a single file. In this relatively
429
       handle multiple encodings in a single file. In this relatively
430
       unlikely case, you can edit the configuration file as two separate
430
       unlikely case, you can edit the configuration file as two separate
431
       text files with appropriate encodings, and concatenate them to create
431
       text files with appropriate encodings, and concatenate them to create
...
...
501
              
501
              
502
502
503
   skippedPathsFnmPathname
503
   skippedPathsFnmPathname
504
504
505
           The values in the *skippedPaths variables are matched by default
505
           The values in the *skippedPaths variables are matched by default
506
           with fnmatch(3), with the FNM_PATHNAME and FNM_LEADING_DIR flags.
506
           with fnmatch(3), with the FNM_PATHNAME flag. This means that '/'
507
           This means that '/' characters must be matched explicitely. You
507
           characters must be matched explicitely. You can set
508
           can set skippedPathsFnmPathname to 0 to disable the use of
508
           skippedPathsFnmPathname to 0 to disable the use of FNM_PATHNAME
509
           FNM_PATHNAME (meaning that /*/dir3 will match /dir1/dir2/dir3).
509
           (meaning that /*/dir3 will match /dir1/dir2/dir3).
510
510
511
   zipSkippedNames
511
   zipSkippedNames
512
512
513
           A space-separated list of patterns for names of files or
513
           A space-separated list of patterns for names of files or
514
           directories that should be ignored inside zip archives. This is
514
           directories that should be ignored inside zip archives. This is
...
...
717
           are to be set, they should be separated with a semi-colon (';')
717
           are to be set, they should be separated with a semi-colon (';')
718
           character, which there is currently no way to escape. Also note
718
           character, which there is currently no way to escape. Also note
719
           the initial semi-colon. Example: localfields= ;rclaptg=gnus;other
719
           the initial semi-colon. Example: localfields= ;rclaptg=gnus;other
720
           = val, then select specifier viewer with mimetype|tag=... in
720
           = val, then select specifier viewer with mimetype|tag=... in
721
           mimeview.
721
           mimeview.
722
723
   testmodifusemtime
724
725
           If true, use mtime instead of default ctime to determine if a file
726
           has been modified (in addition to size, which is always used).
727
           Setting this can reduce re-indexing on systems where extended
728
           attributes are modified (by some other application), but not
729
           indexed (changing extended attributes only affects ctime). Notes:
730
731
              o This may prevent detection of change in some marginal file
732
                rename cases (the target would need to have the same size and
733
                mtime).
734
735
              o You should probably also set noxattrfields to 1 in this case,
736
                except if you still prefer to perform xattr indexing, for
737
                example if the local file update pattern makes it of value
738
                (as in general, there is a risk for pure extended attributes
739
                updates without file modification to go undetected).
740
741
           Perform a full index reset after changing the value of this
742
           parameter.
722
743
723
   noxattrfields
744
   noxattrfields
724
745
725
           Recoll versions 1.19 and later automatically translate file
746
           Recoll versions 1.19 and later automatically translate file
726
           extended attributes into document fields (to be processed
747
           extended attributes into document fields (to be processed
...
...
1154
   mydoc.doc.gz).
1175
   mydoc.doc.gz).
1155
1176
1156
   The right side of each assignment holds a command to be executed for
1177
   The right side of each assignment holds a command to be executed for
1157
   opening the file. The following substitutions are performed:
1178
   opening the file. The following substitutions are performed:
1158
1179
1159
     * %D. Document date
1180
     o %D. Document date
1160
1181
1161
     * %f. File name. This may be the name of a temporary file if it was
1182
     o %f. File name. This may be the name of a temporary file if it was
1162
       necessary to create one (ie: to extract a subdocument from a
1183
       necessary to create one (ie: to extract a subdocument from a
1163
       container).
1184
       container).
1164
1185
1165
     * %i. Internal path, for subdocuments of containers. The format depends
1186
     o %i. Internal path, for subdocuments of containers. The format depends
1166
       on the container type. If this appears in the command line, Recoll
1187
       on the container type. If this appears in the command line, Recoll
1167
       will not create a temporary file to extract the subdocument, expecting
1188
       will not create a temporary file to extract the subdocument, expecting
1168
       the called application (possibly a script) to be able to handle it.
1189
       the called application (possibly a script) to be able to handle it.
1169
1190
1170
     * %M. MIME type
1191
     o %M. MIME type
1171
1192
1172
     * %p. Page index. Only significant for a subset of document types,
1193
     o %p. Page index. Only significant for a subset of document types,
1173
       currently only PDF, Postscript and DVI files. Can be used to start the
1194
       currently only PDF, Postscript and DVI files. Can be used to start the
1174
       editor at the right page for a match or snippet.
1195
       editor at the right page for a match or snippet.
1175
1196
1176
     * %s. Search term. The value will only be set for documents with indexed
1197
     o %s. Search term. The value will only be set for documents with indexed
1177
       page numbers (ie: PDF). The value will be one of the matched search
1198
       page numbers (ie: PDF). The value will be one of the matched search
1178
       terms. It would allow pre-setting the value in the "Find" entry inside
1199
       terms. It would allow pre-setting the value in the "Find" entry inside
1179
       Evince for example, for easy highlighting of the term.
1200
       Evince for example, for easy highlighting of the term.
1180
1201
1181
     * %u. Url.
1202
     o %u. Url.
1182
1203
1183
   In addition to the predefined values above, all strings like %(fieldname)
1204
   In addition to the predefined values above, all strings like %(fieldname)
1184
   will be replaced by the value of the field named fieldname for the
1205
   will be replaced by the value of the field named fieldname for the
1185
   document. This could be used in combination with field customisation to
1206
   document. This could be used in combination with field customisation to
1186
   help with opening the document.
1207
   help with opening the document.
...
...
1213
   the result list (when found by file name). The file names end in .blob and
1234
   the result list (when found by file name). The file names end in .blob and
1214
   can be displayed by application blobviewer.
1235
   can be displayed by application blobviewer.
1215
1236
1216
   You need two entries in the configuration files for this to work:
1237
   You need two entries in the configuration files for this to work:
1217
1238
1218
     * In $RECOLL_CONFDIR/mimemap (typically ~/.recoll/mimemap), add the
1239
     o In $RECOLL_CONFDIR/mimemap (typically ~/.recoll/mimemap), add the
1219
       following line:
1240
       following line:
1220
1241
1221
 .blob = application/x-blobapp
1242
 .blob = application/x-blobapp
1222
1243
1223
       Note that the MIME type is made up here, and you could call it
1244
       Note that the MIME type is made up here, and you could call it
1224
       diesel/oil just the same.
1245
       diesel/oil just the same.
1225
1246
1226
     * In $RECOLL_CONFDIR/mimeview under the [view] section, add:
1247
     o In $RECOLL_CONFDIR/mimeview under the [view] section, add:
1227
1248
1228
 application/x-blobapp = blobviewer %f
1249
 application/x-blobapp = blobviewer %f
1229
1250
1230
       We are supposing that blobviewer wants a file name parameter here, you
1251
       We are supposing that blobviewer wants a file name parameter here, you
1231
       would use %u if it liked URLs better.
1252
       would use %u if it liked URLs better.
...
...
1242
   text and that you know how to extract it with a command line program.
1263
   text and that you know how to extract it with a command line program.
1243
   Getting Recoll to index the files is easy. You need to perform the above
1264
   Getting Recoll to index the files is easy. You need to perform the above
1244
   alteration, and also to add data to the mimeconf file (typically in
1265
   alteration, and also to add data to the mimeconf file (typically in
1245
   ~/.recoll/mimeconf):
1266
   ~/.recoll/mimeconf):
1246
1267
1247
     * Under the [index] section, add the following line (more about the
1268
     o Under the [index] section, add the following line (more about the
1248
       rclblob indexing script later):
1269
       rclblob indexing script later):
1249
1270
1250
 application/x-blobapp = exec rclblob
1271
 application/x-blobapp = exec rclblob
1251
1272
1252
     * Under the [icons] section, you should choose an icon to be displayed
1273
     o Under the [icons] section, you should choose an icon to be displayed
1253
       for the files inside the result lists. Icons are normally 64x64 pixels
1274
       for the files inside the result lists. Icons are normally 64x64 pixels
1254
       PNG files which live in /usr/[local/]share/recoll/images.
1275
       PNG files which live in /usr/[local/]share/recoll/images.
1255
1276
1256
     * Under the [categories] section, you should add the MIME type where it
1277
     o Under the [categories] section, you should add the MIME type where it
1257
       makes sense (you can also create a category). Categories may be used
1278
       makes sense (you can also create a category). Categories may be used
1258
       for filtering in advanced search.
1279
       for filtering in advanced search.
1259
1280
1260
   The rclblob handler should be an executable program or script which exists
1281
   The rclblob handler should be an executable program or script which exists
1261
   inside /usr/[local/]share/recoll/filters. It will be given a file name as
1282
   inside /usr/[local/]share/recoll/filters. It will be given a file name as
...
...
1265
   The filter programming section describes in more detail how to write an
1286
   The filter programming section describes in more detail how to write an
1266
   input handler.
1287
   input handler.
1267
1288
1268
     ----------------------------------------------------------------------
1289
     ----------------------------------------------------------------------
1269
1290
1270
   Prev                                                                 Up    
1291
   Prev                                Up                                     
1271
   5.3. Building from source                                           Home   
1292
   5.3. Building from source          Home