# &kde; Frameworks: KService

`kbuildsycoca5`

8

`kbuildsycoca5`

Rebuilds the KService desktop file system configuration cache.

## Synopsis

    kbuildsycoca5
    OPTIONS

## Description

`kbuildsycoca5` builds binary cache of the data stored in `.desktop` and MIME type `.xml` files that the KService framework uses to find plugins, applications and other services.

The KService library uses this database to efficiently provide the information requested of it.

Users do not normally need to run this application directly; KService will run it if necessary, and if KDED is installed and running it will run `kbuildsyscoca5` whenever any of the files whose data is cached are changed.

## Options

`--checkstamps`

- Checks the file timestamps of the cache and the resource directories containing the data to be cached, and only updates the database if any of the resource directories have been modified more recently than the cache. Ignored if `--nocheckfiles` or `--noincremental` is set.

`--global`

- Ignores any user-set files (in `XDG_DATA_HOME`). This is currently only supported on Unix systems.

`--nocheckfiles`

- Does not rebuild the cache unless something other than a change in the resource files requires it (such as the format of the cache changing, or `XDG_DATA_DIRS` being changed on a Unix system). Ignored if `--global` is set.

`--noincremental`

- Rather than using the existing cache and only updating the information that has changed or been added, start with an empty cache. Ignored if `--global` is set.

`--nosignal`

- Ordinarily, `kbuildsyscoca5` sends a signal over D-Bus once the cache is updated to all the applications that use KService so that they are always working with the latest information. This option suppresses that behaviour.

`--menutest`

- Test the generation of the application menu database. Does not actually build the cache.

`--testmode`

- Use the QStandardPaths "test mode" to avoid interfering with user data. This is intended for use with unit tests.

`--track `menu-id``

- Track a menu ID for debugging.

`--author`

- Show author information.

`--license`

- Show license information.

`-h, --help`

- Show a brief help text.

`-v , --version`

- Show version information.

## Files

``cachedir`/ksycoca5`

- The KService cache generated by `kbuildsycoca5`. On Unix systems, `cachedir` is typically `~/.config`

``cachedir`/ksycoca5stamp`

- The timestamp and other meta-information about the main cache file. On Unix systems, `cachedir` is typically `~/.config`

## See Also

kded5

8,

kdeinit5

8

## Bugs

There are probably tons of bugs. Use KDE's bugtracker to report them.