.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "GTK4-UPDATE-ICON-CACHE" "" "" .SH NAME gtk4-update-icon-cache \- Icon theme caching utility .SH SYNOPSIS .nf \fBgtk4\-update\-icon\-cache\fP [OPTIONS...] .fi .sp .SH DESCRIPTION .sp \fBgtk4\-update\-icon\-cache\fP creates \fBmmap(2)\fP\-able cache files for icon themes. .sp It expects to be given the \fBPATH\fP to an icon theme directory containing an \fBindex.theme\fP, e.g. \fB/usr/share/icons/hicolor\fP, and writes a \fBicon\-theme.cache\fP containing cached information about the icons in the directory tree below the given directory. .sp GTK can use the cache files created by \fBgtk4\-update\-icon\-cache\fP 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 \fBmmap(2)\fP system call, the overall memory consumption is reduced as well. .SH OPTIONS .sp \fB\-f, \-\-force\fP .INDENT 0.0 .INDENT 3.5 Overwrite an existing cache file even if it appears to be up\-to\-date. .UNINDENT .UNINDENT .sp \fB\-t, \-\-ignore\-theme\-index\fP .INDENT 0.0 .INDENT 3.5 Don\(aqt check for the existence of \fBindex.theme\fP in the icon theme directory. Without this option, \fBgtk4\-update\-icon\-cache\fP refuses to create an icon cache in a directory which does not appear to be the toplevel directory of an icon theme. .UNINDENT .UNINDENT .sp \fB\-i, \-\-index\-only\fP .INDENT 0.0 .INDENT 3.5 Don\(aqt include image data in the cache. .UNINDENT .UNINDENT .sp \fB\-\-include\-image\-data\fP .INDENT 0.0 .INDENT 3.5 Include image data in the cache. .UNINDENT .UNINDENT .sp \fB\-c, \-\-source \fP .INDENT 0.0 .INDENT 3.5 Output a C header file declaring a constant \fBNAME\fP with the contents of the icon cache. .UNINDENT .UNINDENT .sp \fB\-q, \-\-quiet\fP .INDENT 0.0 .INDENT 3.5 Turn off verbose output. .UNINDENT .UNINDENT .sp \fB\-v, \-\-validate\fP .INDENT 0.0 .INDENT 3.5 Validate existing icon cache. .UNINDENT .UNINDENT .\" Generated by docutils manpage writer. .