source: general/genutils/desktop-file-utils.xml@ ad1831a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ad1831a was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 8.4 KB
RevLine 
[c87e4dd]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[c87e4dd]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[bfa83aee]7 <!ENTITY desktop-file-utils-download-http
[8dfc5c3]8 "https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-&desktop-file-utils-version;.tar.xz">
[c87e4dd]9 <!ENTITY desktop-file-utils-download-ftp " ">
[d72b599]10 <!ENTITY desktop-file-utils-md5sum "29739e005f5887cf41639b8450f3c23f">
11 <!ENTITY desktop-file-utils-size "84 KB">
[166d300]12 <!ENTITY desktop-file-utils-buildsize "1.8 MB">
[962d208]13 <!ENTITY desktop-file-utils-time "less than 0.1 SBU">
[c87e4dd]14]>
15
[bfa83aee]16<sect1 id="desktop-file-utils" xreflabel="desktop-file-utils-&desktop-file-utils-version;">
[a149f6fe]17 <?dbhtml filename="desktop-file-utils.html"?>
[fc7afd0c]18
[a149f6fe]19 <sect1info>
20 <date>$Date$</date>
21 </sect1info>
[fc7afd0c]22
[832dcb80]23 <title>desktop-file-utils-&desktop-file-utils-version;</title>
[fc7afd0c]24
[a149f6fe]25 <indexterm zone="desktop-file-utils">
[bfa83aee]26 <primary sortas="a-desktop-file-utils">desktop-file-utils</primary>
[a149f6fe]27 </indexterm>
28
29 <sect2 role="package">
[bfa83aee]30 <title>Introduction to Desktop File Utils</title>
31
32 <para>
33 The <application>Desktop File Utils</application> package contains
34 command line utilities for working with <ulink
[3438a47a]35 url="http://standards.freedesktop.org/desktop-entry-spec/latest/">
[bfa83aee]36 Desktop entries</ulink>. These utilities are used by Desktop
37 Environments and other applications to manipulate the MIME-types
38 application databases and help adhere to the Desktop Entry
39 Specification.
40 </para>
[fc7afd0c]41
[66d551c]42 &lfs101_checked;
[c7b3f77]43
[a149f6fe]44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
[bfa83aee]47 <para>
48 Download (HTTP): <ulink url="&desktop-file-utils-download-http;"/>
49 </para>
[a149f6fe]50 </listitem>
51 <listitem>
[bfa83aee]52 <para>
53 Download (FTP): <ulink url="&desktop-file-utils-download-ftp;"/>
54 </para>
[a149f6fe]55 </listitem>
56 <listitem>
[bfa83aee]57 <para>
58 Download MD5 sum: &desktop-file-utils-md5sum;
59 </para>
[a149f6fe]60 </listitem>
61 <listitem>
[bfa83aee]62 <para>
63 Download size: &desktop-file-utils-size;
64 </para>
[a149f6fe]65 </listitem>
66 <listitem>
[bfa83aee]67 <para>
68 Estimated disk space required: &desktop-file-utils-buildsize;
69 </para>
[a149f6fe]70 </listitem>
71 <listitem>
[bfa83aee]72 <para>
73 Estimated build time: &desktop-file-utils-time;
74 </para>
[a149f6fe]75 </listitem>
76 </itemizedlist>
[fc7afd0c]77
[bfa83aee]78 <bridgehead renderas="sect3">Desktop File Utils Dependencies</bridgehead>
[832dcb80]79
80 <bridgehead renderas="sect4">Required</bridgehead>
[bfa83aee]81 <para role="required">
82 <xref linkend="glib2"/>
83 </para>
[fc7afd0c]84
[a149f6fe]85 <bridgehead renderas="sect4">Optional</bridgehead>
[bfa83aee]86 <para role="optional">
87 <xref linkend="emacs"/>
88 </para>
[fc7afd0c]89
[1039de3]90 <para condition="html" role="usernotes">User Notes:
[bfa83aee]91 <ulink url="&blfs-wiki;/desktop-file-utils"/>
92 </para>
[a149f6fe]93 </sect2>
[fc7afd0c]94
[a149f6fe]95 <sect2 role="installation">
[bfa83aee]96 <title>Installation of Desktop File Utils</title>
[a149f6fe]97
[d72b599]98 <warning>
99 <para>
100 If you are upgrading from a previous version of desktop-file-utils that
101 used the Autotools method of installing and configuring the package,
102 you must remove the desktop-file-edit symlink by using the following
103 commands.
104 </para>
105 </warning>
106 <!-- Works around a bug in meson's symlink creation exposed by this package -->
107
[b69cf463]108<screen role="root"><userinput>rm -fv /usr/bin/desktop-file-edit</userinput></screen>
[d72b599]109
[bfa83aee]110 <para>
111 Install <application>Desktop File Utils</application> by
112 running the following commands:
113 </para>
[a149f6fe]114
[d72b599]115<screen><userinput>mkdir build &amp;&amp;
116cd build &amp;&amp;
117
118meson --prefix=/usr .. &amp;&amp;
119ninja</userinput></screen>
[fc7afd0c]120
[bfa83aee]121 <para>
122 This package does not come with a test suite.
123 </para>
[e639150]124
[bfa83aee]125 <para>
126 Now, as the <systemitem class="username">root</systemitem> user:
127 </para>
[fc7afd0c]128
[d72b599]129<screen role="root"><userinput>ninja install</userinput></screen>
[fc7afd0c]130
[a149f6fe]131 </sect2>
[fc7afd0c]132
[a149f6fe]133 <sect2 role="configuration">
[bfa83aee]134 <title>Configuring Desktop File Utils</title>
[fc7afd0c]135
[a149f6fe]136 <sect3>
137 <title>Configuration Information</title>
[fc7afd0c]138
[bfa83aee]139 <para>
140 The <ulink
[3438a47a]141 url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
142 Base Directory</ulink> specification defines the standard locations for
143 applications to place data and configuration files. These files can be
144 used, for instance, to define the menu structure and menu items in a
145 desktop environment.
[bfa83aee]146 </para>
147
148 <para>
149 The default location for configuration files to be installed
150 is <filename class="directory">/etc/xdg</filename>, and the default
151 locations for data files are <filename
152 class="directory">/usr/local/share</filename> and <filename
153 class="directory">/usr/share</filename>. These locations can be
154 extended with the environment variables <envar>XDG_CONFIG_DIRS</envar>
155 and <envar>XDG_DATA_DIRS</envar>, respectively. The
156 <application>GNOME</application>, <application>KDE</application> and
157 <application>XFCE</application> environments respect these
158 settings.
159 </para>
160
161 <para>
162 When a package installs a <filename>.desktop</filename> file
163 to a location in one of the base data directories, the database
164 that maps MIME-types to available applications can be updated. For
165 instance, the cache file at
166 <filename>/usr/share/applications/mimeinfo.cache</filename> can
167 be rebuilt by executing the following command as the <systemitem
168 class="username">root</systemitem> user:
169 </para>
[99c190b]170
[515cc58]171<screen role="root"><userinput>install -vdm755 /usr/share/applications &amp;&amp;
172update-desktop-database /usr/share/applications</userinput></screen>
[99c190b]173
[a149f6fe]174 </sect3>
[fc7afd0c]175
[a149f6fe]176 </sect2>
[fc7afd0c]177
[a149f6fe]178 <sect2 role="content">
179 <title>Contents</title>
180
181 <segmentedlist>
182 <segtitle>Installed Programs</segtitle>
[c3c56b2]183 <segtitle>Installed Libraries</segtitle>
184 <segtitle>Installed Directories</segtitle>
[fc7afd0c]185
[a149f6fe]186 <seglistitem>
[bfa83aee]187 <seg>
[0d7900a]188 desktop-file-edit, desktop-file-install,
[bfa83aee]189 desktop-file-validate and
190 update-desktop-database
[2a05c87]191 </seg>
[c3c56b2]192 <seg>
193 None
194 </seg>
195 <seg>
196 None
197 </seg>
[a149f6fe]198 </seglistitem>
199 </segmentedlist>
[fc7afd0c]200
[a149f6fe]201 <variablelist>
202 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
203 <?dbfo list-presentation="list"?>
204 <?dbhtml list-presentation="table"?>
[fc7afd0c]205
[2a05c87]206 <varlistentry id="desktop-file-edit">
207 <term><command>desktop-file-edit</command></term>
208 <listitem>
[bfa83aee]209 <para>
[4c24eb0a]210 is used to modify an existing desktop file entry
[bfa83aee]211 </para>
[2a05c87]212 <indexterm zone="desktop-file-utils desktop-file-edit">
213 <primary sortas="b-desktop-file-edit">desktop-file-edit</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
[a149f6fe]218 <varlistentry id="desktop-file-install">
219 <term><command>desktop-file-install</command></term>
220 <listitem>
[bfa83aee]221 <para>
[0d7900a]222 is used to install a new desktop file entry. It is
223 also used to rebuild or modify the MIME-types application
[4c24eb0a]224 database
[bfa83aee]225 </para>
[a149f6fe]226 <indexterm zone="desktop-file-utils desktop-file-install">
227 <primary sortas="b-desktop-file-install">desktop-file-install</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
[fc7afd0c]231
[a149f6fe]232 <varlistentry id="desktop-file-validate">
233 <term><command>desktop-file-validate</command></term>
234 <listitem>
[bfa83aee]235 <para>
[4c24eb0a]236 is used to verify the integrity of a desktop file
[bfa83aee]237 </para>
[a149f6fe]238 <indexterm zone="desktop-file-utils desktop-file-validate">
239 <primary sortas="b-desktop-file-validate">desktop-file-validate</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
[fc7afd0c]243
[a149f6fe]244 <varlistentry id="update-desktop-database">
245 <term><command>update-desktop-database</command></term>
246 <listitem>
[bfa83aee]247 <para>
[4c24eb0a]248 is used to update the MIME-types application database
[bfa83aee]249 </para>
[a149f6fe]250 <indexterm zone="desktop-file-utils update-desktop-database">
251 <primary sortas="b-update-desktop-database">update-desktop-database</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255 </variablelist>
256
257 </sect2>
[c87e4dd]258
259</sect1>
Note: See TracBrowser for help on using the repository browser.