1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/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 "N/A">
|
---|
10 | <!ENTITY desktop-file-utils-size "341 KB">
|
---|
11 | <!ENTITY desktop-file-utils-buildsize "2.7 MB">
|
---|
12 | <!ENTITY desktop-file-utils-time "0.07 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="desktop-file-utils" xreflabel="desktop-file-utils-&desktop-file-utils-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="desktop-file-utils.html"?>
|
---|
21 | <title>desktop-file-utils-&desktop-file-utils-version;</title>
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Introduction to <application>desktop-file-utils</application></title>
|
---|
25 |
|
---|
26 | <para>The <application>desktop-file-utils</application> package contains
|
---|
27 | command line utilities for working with <ulink
|
---|
28 | url="http://www.freedesktop.org/Standards/desktop-entry-spec/">desktop
|
---|
29 | entries</ulink>. These utilities are used by
|
---|
30 | <application><acronym>GNOME</acronym></application>-2 and other applications
|
---|
31 | to manipulate the <acronym>MIME</acronym> application databases and help
|
---|
32 | adhere to the desktop entries standards specification.</para>
|
---|
33 |
|
---|
34 | <sect3><title>Package information</title>
|
---|
35 | <itemizedlist spacing="compact">
|
---|
36 | <listitem><para>Download (HTTP):
|
---|
37 | <ulink url="&desktop-file-utils-download-http;"/></para></listitem>
|
---|
38 | <listitem><para>Download (FTP):
|
---|
39 | <ulink url="&desktop-file-utils-download-ftp;"/></para></listitem>
|
---|
40 | <listitem><para>Download MD5 sum: &desktop-file-utils-md5sum;</para></listitem>
|
---|
41 | <listitem><para>Download size: &desktop-file-utils-size;</para></listitem>
|
---|
42 | <listitem><para>Estimated disk space required:
|
---|
43 | &desktop-file-utils-buildsize;</para></listitem>
|
---|
44 | <listitem><para>Estimated build time:
|
---|
45 | &desktop-file-utils-time;</para></listitem></itemizedlist>
|
---|
46 | </sect3>
|
---|
47 |
|
---|
48 | <sect3><title><application>desktop-file-utils</application> dependencies</title>
|
---|
49 | <sect4><title>Required</title>
|
---|
50 | <para><xref linkend="GLib2"/> and <xref linkend="popt"/></para>
|
---|
51 | </sect4>
|
---|
52 |
|
---|
53 | <sect4><title>Optional</title>
|
---|
54 | <para><xref linkend="postlfs-editors-emacs"/></para>
|
---|
55 | </sect4>
|
---|
56 | </sect3>
|
---|
57 |
|
---|
58 | </sect2>
|
---|
59 |
|
---|
60 | <sect2>
|
---|
61 | <title>Installation of <application>desktop-file-utils</application></title>
|
---|
62 |
|
---|
63 | <para>Install <application>desktop-file-utils</application> by running the
|
---|
64 | following commands:</para>
|
---|
65 |
|
---|
66 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
67 | make &&
|
---|
68 | make install</command></userinput></screen>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 | <sect2>
|
---|
73 | <title>Configuring <application>desktop-file-utils</application></title>
|
---|
74 |
|
---|
75 | <sect3><title>Configuration information</title>
|
---|
76 | <para>The default location for the <acronym>MIME</acronym>-types application
|
---|
77 | database is <filename>/usr/share/applications/mimeinfo.cache</filename>. If
|
---|
78 | you are going to install, or have already installed, a desktop environment
|
---|
79 | such as <application><acronym>GNOME</acronym></application> or
|
---|
80 | <acronym>KDE</acronym> in a prefix other than
|
---|
81 | <filename class='directory'>/usr</filename>, you'll need to update the
|
---|
82 | <envar>XDG_DATA_DIRS</envar> environment variable so that additional
|
---|
83 | <acronym>MIME</acronym>-types application databases are properly maintained.
|
---|
84 | Add the following to the system-wide or personal profile:</para>
|
---|
85 |
|
---|
86 | <para>For <application><acronym>GNOME</acronym></application>:</para>
|
---|
87 |
|
---|
88 | <screen><userinput>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share
|
---|
89 | export XDG_DATA_DIRS</userinput></screen>
|
---|
90 |
|
---|
91 | <para>For <application><acronym>KDE</acronym></application>:</para>
|
---|
92 |
|
---|
93 | <screen><userinput>XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share
|
---|
94 | export XDG_DATA_DIRS</userinput></screen>
|
---|
95 |
|
---|
96 | <para>If you're installing both
|
---|
97 | <application><acronym>GNOME</acronym></application> and
|
---|
98 | <application><acronym>KDE</acronym></application>:</para>
|
---|
99 |
|
---|
100 | <screen><userinput>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share
|
---|
101 | export XDG_DATA_DIRS</userinput></screen>
|
---|
102 |
|
---|
103 | </sect3>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2>
|
---|
108 | <title>Contents</title>
|
---|
109 |
|
---|
110 | <para>The <application>desktop-file-utils</application> package contains
|
---|
111 | <command>desktop-file-install</command>,
|
---|
112 | <command>desktop-file-validate</command> and
|
---|
113 | <command>update-desktop-database</command>.</para>
|
---|
114 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2><title>Description</title>
|
---|
118 |
|
---|
119 | <sect3><title>desktop-file-install</title>
|
---|
120 | <para><command>desktop-file-install</command> is used to install a new, or
|
---|
121 | modify an existing desktop file entry. It is also used to rebuild or modify
|
---|
122 | the <acronym>MIME</acronym>-types application database.</para></sect3>
|
---|
123 |
|
---|
124 | <sect3><title>desktop-file-validate</title>
|
---|
125 | <para><command>desktop-file-validate</command> is used to verify the integrity
|
---|
126 | of a desktop file.</para></sect3>
|
---|
127 |
|
---|
128 | <sect3><title>update-desktop-database</title>
|
---|
129 | <para><command>update-desktop-database</command> is used to update the
|
---|
130 | <acronym>MIME</acronym>-types application database.</para></sect3>
|
---|
131 |
|
---|
132 | </sect2>
|
---|
133 |
|
---|
134 | </sect1>
|
---|
135 |
|
---|