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"
|
---|
16 | 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 | <keywordset>
|
---|
23 | <keyword role="package">desktop-file-utils-&desktop-file-utils-version;.tar</keyword>
|
---|
24 | <keyword role="ftpdir">desktop-file-utils</keyword>
|
---|
25 | </keywordset>
|
---|
26 | </sect1info>
|
---|
27 |
|
---|
28 | <title>desktop-file-utils-&desktop-file-utils-version;</title>
|
---|
29 |
|
---|
30 | <indexterm zone="desktop-file-utils">
|
---|
31 | <primary sortas="a-Desktop-file-utils">Desktop-file-utils</primary>
|
---|
32 | </indexterm>
|
---|
33 |
|
---|
34 | <sect2 role="package">
|
---|
35 | <title>Introduction to desktop-file-utils</title>
|
---|
36 |
|
---|
37 | <para>The <application>desktop-file-utils</application> package contains
|
---|
38 | command line utilities for working with <ulink
|
---|
39 | url="http://www.freedesktop.org/Standards/desktop-entry-spec">desktop
|
---|
40 | entries</ulink>. These utilities are used by
|
---|
41 | <application>GNOME</application>-2 and other applications
|
---|
42 | to manipulate the MIME-types application databases and help
|
---|
43 | adhere to the desktop entries standards specification.</para>
|
---|
44 |
|
---|
45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
46 | <itemizedlist spacing="compact">
|
---|
47 | <listitem>
|
---|
48 | <para>Download (HTTP): <ulink url="&desktop-file-utils-download-http;"/></para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download (FTP): <ulink url="&desktop-file-utils-download-ftp;"/></para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Download MD5 sum: &desktop-file-utils-md5sum;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Download size: &desktop-file-utils-size;</para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Estimated disk space required: &desktop-file-utils-buildsize;</para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>Estimated build time: &desktop-file-utils-time;</para>
|
---|
64 | </listitem>
|
---|
65 | </itemizedlist>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect3">desktop-file-utils Dependencies</bridgehead>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
70 | <para role="required"><xref linkend="glib2"/> and
|
---|
71 | <xref linkend="popt"/></para>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
74 | <para role="optional"><xref linkend="emacs"/></para>
|
---|
75 |
|
---|
76 | <para condition="html" role="usernotes">User Notes:
|
---|
77 | <ulink url="&blfs-wiki;/desktop-file-utils"/></para>
|
---|
78 |
|
---|
79 | </sect2>
|
---|
80 |
|
---|
81 | <sect2 role="installation">
|
---|
82 | <title>Installation of desktop-file-utils</title>
|
---|
83 |
|
---|
84 | <para>Install <application>desktop-file-utils</application> by running the
|
---|
85 | following commands:</para>
|
---|
86 |
|
---|
87 | <screen><userinput>./configure --prefix=/usr &&
|
---|
88 | make</userinput></screen>
|
---|
89 |
|
---|
90 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
91 |
|
---|
92 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
93 |
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | <sect2 role="configuration">
|
---|
97 | <title>Configuring desktop-file-utils</title>
|
---|
98 |
|
---|
99 | <sect3>
|
---|
100 | <title>Configuration Information</title>
|
---|
101 |
|
---|
102 | <para>The default location for the MIME-types application database is
|
---|
103 | <filename>/usr/share/applications/mimeinfo.cache</filename>. If you are
|
---|
104 | going to install, or have already installed, a desktop environment such
|
---|
105 | as <application>GNOME</application> or <application>KDE</application> in
|
---|
106 | a prefix other than <filename class='directory'>/usr</filename>, you'll
|
---|
107 | need to update the <envar>XDG_DATA_DIRS</envar> variable with your prefix
|
---|
108 | setting. Update the <envar>XDG_DATA_DIRS</envar> (if necessary) and
|
---|
109 | <envar>XDG_CONFIG_DIRS</envar> environment variables so that the
|
---|
110 | additional MIME-types application databases and desktop menu files are
|
---|
111 | properly maintained and discovered by adding the following to the
|
---|
112 | system-wide or personal profile:</para>
|
---|
113 |
|
---|
114 | <para>For <application>GNOME</application>:</para>
|
---|
115 |
|
---|
116 | <screen><literal>XDG_DATA_DIRS=/usr/share:$GNOME_PREFIX/share
|
---|
117 | XDG_CONFIG_DIRS=/usr/share:&gnome-etc-dir;/xdg
|
---|
118 | export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
|
---|
119 |
|
---|
120 | <para>For <application>KDE</application>:</para>
|
---|
121 |
|
---|
122 | <screen><literal>XDG_DATA_DIRS=/usr/share:$KDE_PREFIX/share
|
---|
123 | XDG_CONFIG_DIRS=/usr/share:/etc/kde/xdg
|
---|
124 | export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
|
---|
125 |
|
---|
126 |
|
---|
127 | <!-- This ends up messing up the menus and the GNOME and KDE stuff is simply
|
---|
128 | not yet interchangeable
|
---|
129 |
|
---|
130 | <para>If you're installing both <application>GNOME</application> and
|
---|
131 | <application>KDE</application>:</para>
|
---|
132 |
|
---|
133 | <screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share
|
---|
134 | export XDG_DATA_DIRS</literal></screen>
|
---|
135 |
|
---|
136 | -->
|
---|
137 |
|
---|
138 | </sect3>
|
---|
139 |
|
---|
140 | </sect2>
|
---|
141 |
|
---|
142 | <sect2 role="content">
|
---|
143 | <title>Contents</title>
|
---|
144 |
|
---|
145 | <segmentedlist>
|
---|
146 | <segtitle>Installed Programs</segtitle>
|
---|
147 | <segtitle>Installed Libraries</segtitle>
|
---|
148 | <segtitle>Installed Directories</segtitle>
|
---|
149 |
|
---|
150 | <seglistitem>
|
---|
151 | <seg>desktop-file-install, desktop-file-validate, and
|
---|
152 | update-desktop-database</seg>
|
---|
153 | <seg>None</seg>
|
---|
154 | <seg>None</seg>
|
---|
155 | </seglistitem>
|
---|
156 | </segmentedlist>
|
---|
157 |
|
---|
158 | <variablelist>
|
---|
159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
160 | <?dbfo list-presentation="list"?>
|
---|
161 | <?dbhtml list-presentation="table"?>
|
---|
162 |
|
---|
163 | <varlistentry id="desktop-file-install">
|
---|
164 | <term><command>desktop-file-install</command></term>
|
---|
165 | <listitem>
|
---|
166 | <para>is used to install a new, or modify an existing desktop file
|
---|
167 | entry. It is also used to rebuild or modify the MIME-types
|
---|
168 | application database.</para>
|
---|
169 | <indexterm zone="desktop-file-utils desktop-file-install">
|
---|
170 | <primary sortas="b-desktop-file-install">desktop-file-install</primary>
|
---|
171 | </indexterm>
|
---|
172 | </listitem>
|
---|
173 | </varlistentry>
|
---|
174 |
|
---|
175 | <varlistentry id="desktop-file-validate">
|
---|
176 | <term><command>desktop-file-validate</command></term>
|
---|
177 | <listitem>
|
---|
178 | <para>is used to verify the integrity of a desktop file.</para>
|
---|
179 | <indexterm zone="desktop-file-utils desktop-file-validate">
|
---|
180 | <primary sortas="b-desktop-file-validate">desktop-file-validate</primary>
|
---|
181 | </indexterm>
|
---|
182 | </listitem>
|
---|
183 | </varlistentry>
|
---|
184 |
|
---|
185 | <varlistentry id="update-desktop-database">
|
---|
186 | <term><command>update-desktop-database</command></term>
|
---|
187 | <listitem>
|
---|
188 | <para>is used to update the MIME-types
|
---|
189 | application database.</para>
|
---|
190 | <indexterm zone="desktop-file-utils update-desktop-database">
|
---|
191 | <primary sortas="b-update-desktop-database">update-desktop-database</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 | </variablelist>
|
---|
196 |
|
---|
197 | </sect2>
|
---|
198 |
|
---|
199 | </sect1>
|
---|