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

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 45ab6c7 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY desktop-file-utils-download-http
8 "https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-&desktop-file-utils-version;.tar.xz">
9 <!ENTITY desktop-file-utils-download-ftp " ">
10 <!ENTITY desktop-file-utils-md5sum "29739e005f5887cf41639b8450f3c23f">
11 <!ENTITY desktop-file-utils-size "84 KB">
12 <!ENTITY desktop-file-utils-buildsize "1.8 MB">
13 <!ENTITY desktop-file-utils-time "less than 0.1 SBU">
14]>
15
16<sect1 id="desktop-file-utils" xreflabel="desktop-file-utils-&desktop-file-utils-version;">
17 <?dbhtml filename="desktop-file-utils.html"?>
18
19 <sect1info>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>desktop-file-utils-&desktop-file-utils-version;</title>
24
25 <indexterm zone="desktop-file-utils">
26 <primary sortas="a-desktop-file-utils">desktop-file-utils</primary>
27 </indexterm>
28
29 <sect2 role="package">
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
35 url="http://standards.freedesktop.org/desktop-entry-spec/latest/">
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>
41
42 &lfs101_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&desktop-file-utils-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&desktop-file-utils-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &desktop-file-utils-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &desktop-file-utils-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &desktop-file-utils-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &desktop-file-utils-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">Desktop File Utils Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
81 <para role="required">
82 <xref linkend="glib2"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="emacs"/>
88 </para>
89
90 <para condition="html" role="usernotes">User Notes:
91 <ulink url="&blfs-wiki;/desktop-file-utils"/>
92 </para>
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of Desktop File Utils</title>
97
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
108<screen role="root"><userinput>rm -fv /usr/bin/desktop-file-edit</userinput></screen>
109
110 <para>
111 Install <application>Desktop File Utils</application> by
112 running the following commands:
113 </para>
114
115<screen><userinput>mkdir build &amp;&amp;
116cd build &amp;&amp;
117
118meson --prefix=/usr .. &amp;&amp;
119ninja</userinput></screen>
120
121 <para>
122 This package does not come with a test suite.
123 </para>
124
125 <para>
126 Now, as the <systemitem class="username">root</systemitem> user:
127 </para>
128
129<screen role="root"><userinput>ninja install</userinput></screen>
130
131 </sect2>
132
133 <sect2 role="configuration">
134 <title>Configuring Desktop File Utils</title>
135
136 <sect3>
137 <title>Configuration Information</title>
138
139 <para>
140 The <ulink
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.
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>
170
171<screen role="root"><userinput>install -vdm755 /usr/share/applications &amp;&amp;
172update-desktop-database /usr/share/applications</userinput></screen>
173
174 </sect3>
175
176 </sect2>
177
178 <sect2 role="content">
179 <title>Contents</title>
180
181 <segmentedlist>
182 <segtitle>Installed Programs</segtitle>
183 <segtitle>Installed Libraries</segtitle>
184 <segtitle>Installed Directories</segtitle>
185
186 <seglistitem>
187 <seg>
188 desktop-file-edit, desktop-file-install,
189 desktop-file-validate and
190 update-desktop-database
191 </seg>
192 <seg>
193 None
194 </seg>
195 <seg>
196 None
197 </seg>
198 </seglistitem>
199 </segmentedlist>
200
201 <variablelist>
202 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
203 <?dbfo list-presentation="list"?>
204 <?dbhtml list-presentation="table"?>
205
206 <varlistentry id="desktop-file-edit">
207 <term><command>desktop-file-edit</command></term>
208 <listitem>
209 <para>
210 is used to modify an existing desktop file entry
211 </para>
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
218 <varlistentry id="desktop-file-install">
219 <term><command>desktop-file-install</command></term>
220 <listitem>
221 <para>
222 is used to install a new desktop file entry. It is
223 also used to rebuild or modify the MIME-types application
224 database
225 </para>
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>
231
232 <varlistentry id="desktop-file-validate">
233 <term><command>desktop-file-validate</command></term>
234 <listitem>
235 <para>
236 is used to verify the integrity of a desktop file
237 </para>
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>
243
244 <varlistentry id="update-desktop-database">
245 <term><command>update-desktop-database</command></term>
246 <listitem>
247 <para>
248 is used to update the MIME-types application database
249 </para>
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>
258
259</sect1>
Note: See TracBrowser for help on using the repository browser.