https://bugs.kde.org/show_bug.cgi?id=497360

tagwer...@innerjoin.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tagwer...@innerjoin.org

--- Comment #1 from tagwer...@innerjoin.org ---
(In reply to ybx332 from comment #0)
> As mentioned in the title, baloo cannot index C source file.
Baloo typically avoids indexing source code, it indexes the filenames but not
the content.

Check the mimetype of your files with:
    $ kmimetypefinder test.c
it should come back with "text/x-csrc" . You can tell Baloo to index it with:
    $ balooctl config remove excludemimetypes text/x-csrc
which is really saying to drop the exclusion for it... (You might find you need
balooctl6 rather than balooctl)

You can do the same for header files, text/x-chdr.

It may be that you need to purge and reindex to pick up the "new" content so
think of which mimetypes you want indexed.

A useful additional option for balooshow is the "-x" which includes
"everything" (well, lots) about the indexed content.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to