glfs/xincludes/update-icons-and-desktop.xml
Pierre Labastie 00d040d741 Make gtk-update-... and update-desktop-... "nodump": The needed programs are
not mentioned in the dependency paragraphs, so that very often, they are not
installed. Furthermore, our policy respective to this is not clear to me:
a lot more packages install icons or .desktop files, and we do not run
updates for them. Actually, the updates should be run at the end of all
installations, not for individual pacakges...

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22159 af4574ff-66df-0310-9fd7-8a98e5e911e0
2019-09-17 19:37:50 +00:00

27 lines
1.2 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
<!-- $LastChangedBy$
$Date$ -->
<note>
<para>
This package installs icon files into the
<filename class="directory">/usr/share/icons/hicolor</filename>
hierarchy and desktop files into the
<filename class="directory">/usr/share/applications</filename>
hierarchy. You can improve system performance and memory usage by
updating <filename>/usr/share/icons/hicolor/index.theme</filename> and
<filename>/usr/share/applications/mimeinfo.cache</filename>. To
perform the update you must have <xref linkend="gtk2"/> or
<xref linkend="gtk3"/> installed (for the icon cache) and
<xref linkend="desktop-file-utils"/> (for the desktop cache) and issue
the following commands as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="nodump"><userinput>gtk-update-icon-cache -qtf /usr/share/icons/hicolor &amp;&amp;
update-desktop-database -q</userinput></screen>
</note>