table of contents
GTK4-UPDATE-ICON-CACHE() | GTK4-UPDATE-ICON-CACHE() |
NAME¶
gtk4-update-icon-cache - Icon theme caching utility
SYNOPSIS¶
gtk4-update-icon-cache [OPTIONS...] <PATH>
DESCRIPTION¶
gtk4-update-icon-cache creates mmap(2)-able cache files for icon themes.
It expects to be given the PATH to an icon theme directory containing an index.theme, e.g. /usr/share/icons/hicolor, and writes a icon-theme.cache containing cached information about the icons in the directory tree below the given directory.
GTK can use the cache files created by gtk4-update-icon-cache to avoid a lot of system call and disk seek overhead when the application starts. Since the format of the cache files allows them to be shared across multiple processes, for instance using the POSIX mmap(2) system call, the overall memory consumption is reduced as well.
OPTIONS¶
-f, --force
-t, --ignore-theme-index
-i, --index-only
--include-image-data
-c, --source <NAME>
-q, --quiet
-v, --validate