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

10.0 10.1 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 78af2ee was 78af2ee, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Some tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23550 af4574ff-66df-0310-9fd7-8a98e5e911e0

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