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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8d77de6 was 8d77de6, checked in by Randy McMurchy <randy@…>, 19 years ago

Removed excess spaces from the ends of lines in the source files

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

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY desktop-file-utils-download-http "http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-&desktop-file-utils-version;.tar.gz">
8 <!ENTITY desktop-file-utils-download-ftp " ">
9 <!ENTITY desktop-file-utils-md5sum "8b930e9ad08ac6b8205dd00a1d694b0c">
10 <!ENTITY desktop-file-utils-size "341 KB">
11 <!ENTITY desktop-file-utils-buildsize "2.7 MB">
12 <!ENTITY desktop-file-utils-time "less than 0.1 SBU">
13]>
14
15<sect1 id="desktop-file-utils"
16xreflabel="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>The <application>desktop-file-utils</application> package contains
34 command line utilities for working with <ulink
35 url="http://www.freedesktop.org/Standards/desktop-entry-spec">desktop
36 entries</ulink>. These utilities are used by
37 <application>GNOME</application>-2 and other applications
38 to manipulate the MIME-types application databases and help
39 adhere to the desktop entries standards specification.</para>
40<para><xref linkend="glib2"/> and <xref linkend="popt"/></para>
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>Download (HTTP): <ulink url="&desktop-file-utils-download-http;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download (FTP): <ulink url="&desktop-file-utils-download-ftp;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download MD5 sum: &desktop-file-utils-md5sum;</para>
52 </listitem>
53 <listitem>
54 <para>Download size: &desktop-file-utils-size;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated disk space required: &desktop-file-utils-buildsize;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated build time: &desktop-file-utils-time;</para>
61 </listitem>
62 </itemizedlist>
63
64 <bridgehead renderas="sect3">Desktop-file-utils Dependencies</bridgehead>
65
66 <bridgehead renderas="sect4">Optional</bridgehead>
67 <para><xref linkend="emacs"/></para>
68
69 </sect2>
70
71 <sect2 role="installation">
72 <title>Installation of Desktop-file-utils</title>
73
74 <para>Install <application>desktop-file-utils</application> by running the
75 following commands:</para>
76
77<screen><userinput>./configure --prefix=/usr &amp;&amp;
78make</userinput></screen>
79
80 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
81
82<screen role="root"><userinput>make install</userinput></screen>
83
84 </sect2>
85
86 <sect2 role="configuration">
87 <title>Configuring Desktop-file-utils</title>
88
89 <sect3>
90 <title>Configuration Information</title>
91
92 <para>The default location for the MIME-types application
93 database is <filename>/usr/share/applications/mimeinfo.cache</filename>. If
94 you are going to install, or have already installed, a desktop environment
95 such as <application>GNOME</application> or
96 <application>KDE</application> in a prefix other than
97 <filename class='directory'>/usr</filename>, you'll need to update the
98 <envar>XDG_DATA_DIRS</envar> environment variable so that additional
99 MIME-types application databases are properly maintained.
100 Add the following to the system-wide or personal profile:</para>
101
102 <para>For <application>GNOME</application>:</para>
103
104<screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share
105export XDG_DATA_DIRS</literal></screen>
106
107 <para>For <application>KDE</application>:</para>
108
109<screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share
110export XDG_DATA_DIRS</literal></screen>
111
112 <para>If you're installing both <application>GNOME</application> and
113 <application>KDE</application>:</para>
114
115<screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share
116export XDG_DATA_DIRS</literal></screen>
117
118 </sect3>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Programs</segtitle>
127 <segtitle>Installed Libraries</segtitle>
128 <segtitle>Installed Directories</segtitle>
129
130 <seglistitem>
131 <seg>desktop-file-install, desktop-file-validate, and
132 update-desktop-database</seg>
133 <seg>None</seg>
134 <seg>None</seg>
135 </seglistitem>
136 </segmentedlist>
137
138 <variablelist>
139 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
140 <?dbfo list-presentation="list"?>
141 <?dbhtml list-presentation="table"?>
142
143 <varlistentry id="desktop-file-install">
144 <term><command>desktop-file-install</command></term>
145 <listitem>
146 <para>is used to install a new, or modify an existing desktop file
147 entry. It is also used to rebuild or modify the MIME-types
148 application database.</para>
149 <indexterm zone="desktop-file-utils desktop-file-install">
150 <primary sortas="b-desktop-file-install">desktop-file-install</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="desktop-file-validate">
156 <term><command>desktop-file-validate</command></term>
157 <listitem>
158 <para>is used to verify the integrity of a desktop file.</para>
159 <indexterm zone="desktop-file-utils desktop-file-validate">
160 <primary sortas="b-desktop-file-validate">desktop-file-validate</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="update-desktop-database">
166 <term><command>update-desktop-database</command></term>
167 <listitem>
168 <para>is used to update the MIME-types
169 application database.</para>
170 <indexterm zone="desktop-file-utils update-desktop-database">
171 <primary sortas="b-update-desktop-database">update-desktop-database</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175 </variablelist>
176
177 </sect2>
178
179</sect1>
180
Note: See TracBrowser for help on using the repository browser.