1GTK4-UPDATE-ICON-(1)             User Commands            GTK4-UPDATE-ICON-(1)
2
3
4

NAME

6       gtk4-update-icon-cache - Icon theme caching utility
7

SYNOPSIS

9       gtk4-update-icon-cache [--force] [--ignore-theme-index] [--index-only |
10                              --include-image-data] [--source NAME] [--quiet]
11                              [--validate] PATH
12

DESCRIPTION

14       gtk4-update-icon-cache creates mmapable cache files for icon themes.
15
16       It expects to be given the PATH to a icon theme directory containing an
17       index.theme, e.g.  /usr/share/icons/hicolor, and writes a
18       icon-theme.cache containing cached information about the icons in the
19       directory tree below the given directory.
20
21       GTK can use the cache files created by gtk4-update-icon-cache to avoid
22       a lot of system call and disk seek overhead when the application
23       starts. Since the format of the cache files allows them to be mmaped
24       shared between multiple applications, the overall memory consumption is
25       reduced as well.
26

OPTIONS

28       --force, -f
29           Overwrite an existing cache file even if it appears to be uptodate.
30
31       --ignore-theme-index, -t
32           Don't check for the existence of index.theme in the icon theme
33           directory. Without this option, gtk4-update-icon-cache refuses to
34           create an icon cache in a directory which does not appear to be the
35           toplevel directory of an icon theme.
36
37       --index-only, -i
38           Don't include image data in the cache.
39
40       --include-image-data
41           Include image data in the cache.
42
43       --source, -c
44           Output a C header file declaring a constant NAME with the contents
45           of the icon cache.
46
47       --quiet, -q
48           Turn off verbose output.
49
50       --validate, -v
51           Validate existing icon cache.
52
53
54
55GTK                                                       GTK4-UPDATE-ICON-(1)
Impressum