{
    "mode": "man",
    "parameter": "gtk-update-icon-cache",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/gtk-update-icon-cache/1/json",
    "generated": "2026-06-15T13:40:46Z",
    "synopsis": "gtk-update-icon-cache [--force] [--ignore-theme-index] [--index-only | --include-image-data]\n[--source NAME] [--quiet] [--validate] PATH",
    "sections": {
        "NAME": {
            "content": "gtk-update-icon-cache - Icon theme caching utility\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "gtk-update-icon-cache [--force] [--ignore-theme-index] [--index-only | --include-image-data]\n[--source NAME] [--quiet] [--validate] PATH\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "gtk-update-icon-cache creates mmapable cache files for icon themes.\n\nIt expects to be given the PATH to a icon theme directory containing an index.theme, e.g.\n/usr/share/icons/hicolor, and writes a icon-theme.cache containing cached information about\nthe icons in the directory tree below the given directory.\n\nGTK+ can use the cache files created by gtk-update-icon-cache to avoid a lot of system call\nand disk seek overhead when the application starts. Since the format of the cache files\nallows them to be mmaped shared between multiple applications, the overall memory consumption\nis reduced as well.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--force, -f",
                    "content": "Overwrite an existing cache file even if it appears to be uptodate.\n",
                    "flag": "-f",
                    "long": "--force"
                },
                {
                    "name": "--ignore-theme-index, -t",
                    "content": "Don't check for the existence of index.theme in the icon theme directory. Without this\noption, gtk-update-icon-cache refuses to create an icon cache in a directory which does\nnot appear to be the toplevel directory of an icon theme.\n",
                    "flag": "-t",
                    "long": "--ignore-theme-index"
                },
                {
                    "name": "--index-only, -i",
                    "content": "Don't include image data in the cache.\n",
                    "flag": "-i",
                    "long": "--index-only"
                },
                {
                    "name": "--include-image-data",
                    "content": "Include image data in the cache.\n",
                    "long": "--include-image-data"
                },
                {
                    "name": "--source, -c",
                    "content": "Output a C header file declaring a constant NAME with the contents of the icon cache.\n",
                    "flag": "-c",
                    "long": "--source"
                },
                {
                    "name": "--quiet, -q",
                    "content": "Turn off verbose output.\n",
                    "flag": "-q",
                    "long": "--quiet"
                },
                {
                    "name": "--validate, -v",
                    "content": "Validate existing icon cache.\n\n\n\nGTK+                                                                            GTK-UPDATE-ICON-C(1)",
                    "flag": "-v",
                    "long": "--validate"
                }
            ]
        }
    },
    "summary": "gtk-update-icon-cache - Icon theme caching utility",
    "flags": [
        {
            "flag": "-f",
            "long": "--force",
            "arg": null,
            "description": "Overwrite an existing cache file even if it appears to be uptodate."
        },
        {
            "flag": "-t",
            "long": "--ignore-theme-index",
            "arg": null,
            "description": "Don't check for the existence of index.theme in the icon theme directory. Without this option, gtk-update-icon-cache refuses to create an icon cache in a directory which does not appear to be the toplevel directory of an icon theme."
        },
        {
            "flag": "-i",
            "long": "--index-only",
            "arg": null,
            "description": "Don't include image data in the cache."
        },
        {
            "flag": "",
            "long": "--include-image-data",
            "arg": null,
            "description": "Include image data in the cache."
        },
        {
            "flag": "-c",
            "long": "--source",
            "arg": null,
            "description": "Output a C header file declaring a constant NAME with the contents of the icon cache."
        },
        {
            "flag": "-q",
            "long": "--quiet",
            "arg": null,
            "description": "Turn off verbose output."
        },
        {
            "flag": "-v",
            "long": "--validate",
            "arg": null,
            "description": "Validate existing icon cache. GTK+ GTK-UPDATE-ICON-C(1)"
        }
    ],
    "examples": [],
    "see_also": []
}