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 | </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 &&
|
---|
78 | make</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
|
---|
105 | export 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
|
---|
110 | export 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
|
---|
116 | export 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 |
|
---|