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 "424 KB">
|
---|
11 | <!ENTITY desktop-file-utils-buildsize "6.6 MB">
|
---|
12 | <!ENTITY desktop-file-utils-time "0.15 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 are used by
|
---|
30 | <application><acronym>GNOME</acronym></application>-2 and other applications
|
---|
31 | to adhere to the desktop entries standards specification.</para>
|
---|
32 |
|
---|
33 | <sect3><title>Package information</title>
|
---|
34 | <itemizedlist spacing="compact">
|
---|
35 | <listitem><para>Download (HTTP):
|
---|
36 | <ulink url="&desktop-file-utils-download-http;"/></para></listitem>
|
---|
37 | <listitem><para>Download (FTP):
|
---|
38 | <ulink url="&desktop-file-utils-download-ftp;"/></para></listitem>
|
---|
39 | <listitem><para>MD5 sum: &desktop-file-utils-md5sum;</para></listitem>
|
---|
40 | <listitem><para>Download size: &desktop-file-utils-size;</para></listitem>
|
---|
41 | <listitem><para>Estimated disk space required:
|
---|
42 | &desktop-file-utils-buildsize;</para></listitem>
|
---|
43 | <listitem><para>Estimated build time:
|
---|
44 | &desktop-file-utils-time;</para></listitem></itemizedlist>
|
---|
45 | </sect3>
|
---|
46 |
|
---|
47 | <sect3><title><application>desktop-file-utils</application> dependencies</title>
|
---|
48 | <sect4><title>Required</title>
|
---|
49 | <para><xref linkend="GLib2"/> and
|
---|
50 | <xref linkend="popt"/></para>
|
---|
51 | </sect4>
|
---|
52 |
|
---|
53 | <sect4><title>Optional</title>
|
---|
54 | <para><xref linkend="gnome-vfs"/> and
|
---|
55 | <xref linkend="postlfs-editors-emacs"/></para>
|
---|
56 | </sect4>
|
---|
57 | </sect3>
|
---|
58 |
|
---|
59 | </sect2>
|
---|
60 |
|
---|
61 | <sect2>
|
---|
62 | <title>Installation of <application>desktop-file-utils</application></title>
|
---|
63 |
|
---|
64 | <para>Though the <application>desktop-file-utils</application> package is
|
---|
65 | listed here in Chapter 10, the main use of the package will be for the
|
---|
66 | <application><acronym>GNOME</acronym></application>-2 desktop. Therefore, the
|
---|
67 | instructions are geared towards a
|
---|
68 | <application><acronym>GNOME</acronym></application> installation. See the
|
---|
69 | <quote>Command explanations</quote> section for information about installing
|
---|
70 | the package for other uses.</para>
|
---|
71 |
|
---|
72 | <para>Install <application>desktop-file-utils</application> by running the
|
---|
73 | following commands:</para>
|
---|
74 |
|
---|
75 | <screen><userinput><command>./configure --prefix=$GNOME_PREFIX \
|
---|
76 | --sysconfdir=/etc/gnome &&
|
---|
77 | make &&
|
---|
78 | make install</command></userinput></screen>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2>
|
---|
83 | <title>Command explanations</title>
|
---|
84 |
|
---|
85 | <para><parameter>--prefix=$GNOME_PREFIX</parameter>: This forces the programs
|
---|
86 | and libraries to be installed in directories which coincide with a
|
---|
87 | <application><acronym>GNOME</acronym></application>-2 installation. Change
|
---|
88 | the directory path to <filename class='directory'>/usr</filename> if the
|
---|
89 | package is being installed for a different use.</para>
|
---|
90 |
|
---|
91 | <para><parameter>--sysconfdir=/etc/gnome</parameter>: This forces the
|
---|
92 | configuration directory to coincide with a
|
---|
93 | <application><acronym>GNOME</acronym></application>-2 installation. Change
|
---|
94 | the directory path to <filename class='directory'>/etc</filename> if the
|
---|
95 | package is being installed for a different use.</para>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2>
|
---|
100 | <title>Contents</title>
|
---|
101 |
|
---|
102 | <para>The <application>desktop-file-utils</application> package contains
|
---|
103 | <command>desktop-file-install</command>,
|
---|
104 | <command>desktop-file-validate</command>,
|
---|
105 | <command>desktop-menu-tool</command>,
|
---|
106 | <command>update-desktop-database</command> and optionally,
|
---|
107 | the <application><acronym>GNOME</acronym>-<acronym>VFS</acronym></application>
|
---|
108 | <filename class='libraryfile'>libmenu</filename> library module.</para>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2><title>Description</title>
|
---|
113 |
|
---|
114 | <sect3><title>desktop-file-install</title>
|
---|
115 | <para><command>desktop-file-install</command> is used to install a new, or
|
---|
116 | modify an existing desktop file entry. It is also used to rebuild or modify
|
---|
117 | the <acronym>mime</acronym>-types application database.</para></sect3>
|
---|
118 |
|
---|
119 | <sect3><title>desktop-file-validate</title>
|
---|
120 | <para><command>desktop-file-validate</command> is used to verify the integrity
|
---|
121 | of a desktop file.</para></sect3>
|
---|
122 |
|
---|
123 | <sect3><title>desktop-menu-tool</title>
|
---|
124 | <para><command>desktop-menu-tool</command> is used to display a human-readable
|
---|
125 | representation of, or display the set of desktop files used for a given menu
|
---|
126 | 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 |
|
---|