[c87e4dd] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[c87e4dd] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[77566073] | 7 | <!ENTITY desktop-file-utils-download-http "http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-&desktop-file-utils-version;.tar.gz">
|
---|
[c87e4dd] | 8 | <!ENTITY desktop-file-utils-download-ftp " ">
|
---|
[e639150] | 9 | <!ENTITY desktop-file-utils-md5sum "b27a1890979caaca8e72ffe22af6e389">
|
---|
| 10 | <!ENTITY desktop-file-utils-size "340 KB">
|
---|
| 11 | <!ENTITY desktop-file-utils-buildsize "2.5 MB">
|
---|
[962d208] | 12 | <!ENTITY desktop-file-utils-time "less than 0.1 SBU">
|
---|
[c87e4dd] | 13 | ]>
|
---|
| 14 |
|
---|
[8d77de6] | 15 | <sect1 id="desktop-file-utils"
|
---|
[a70a184] | 16 | xreflabel="desktop-file-utils-&desktop-file-utils-version;">
|
---|
[a149f6fe] | 17 | <?dbhtml filename="desktop-file-utils.html"?>
|
---|
[fc7afd0c] | 18 |
|
---|
[a149f6fe] | 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
[52d50d5] | 22 | <keywordset>
|
---|
| 23 | <keyword role="package">desktop-file-utils-&desktop-file-utils-version;.tar</keyword>
|
---|
[22ac237] | 24 | <keyword role="ftpdir">desktop-file-utils</keyword>
|
---|
[52d50d5] | 25 | </keywordset>
|
---|
[a149f6fe] | 26 | </sect1info>
|
---|
[fc7afd0c] | 27 |
|
---|
[832dcb80] | 28 | <title>desktop-file-utils-&desktop-file-utils-version;</title>
|
---|
[fc7afd0c] | 29 |
|
---|
[a149f6fe] | 30 | <indexterm zone="desktop-file-utils">
|
---|
| 31 | <primary sortas="a-Desktop-file-utils">Desktop-file-utils</primary>
|
---|
| 32 | </indexterm>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="package">
|
---|
[832dcb80] | 35 | <title>Introduction to desktop-file-utils</title>
|
---|
[fc7afd0c] | 36 |
|
---|
[8d77de6] | 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
|
---|
[a149f6fe] | 43 | adhere to the desktop entries standards specification.</para>
|
---|
[fc7afd0c] | 44 |
|
---|
[a149f6fe] | 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>
|
---|
[fc7afd0c] | 66 |
|
---|
[832dcb80] | 67 | <bridgehead renderas="sect3">desktop-file-utils Dependencies</bridgehead>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[e639150] | 70 | <para role="required"><xref linkend="glib2"/></para>
|
---|
[fc7afd0c] | 71 |
|
---|
[a149f6fe] | 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[52d50d5] | 73 | <para role="optional"><xref linkend="emacs"/></para>
|
---|
[fc7afd0c] | 74 |
|
---|
[1039de3] | 75 | <para condition="html" role="usernotes">User Notes:
|
---|
| 76 | <ulink url="&blfs-wiki;/desktop-file-utils"/></para>
|
---|
| 77 |
|
---|
[a149f6fe] | 78 | </sect2>
|
---|
[fc7afd0c] | 79 |
|
---|
[a149f6fe] | 80 | <sect2 role="installation">
|
---|
[832dcb80] | 81 | <title>Installation of desktop-file-utils</title>
|
---|
[a149f6fe] | 82 |
|
---|
[8d77de6] | 83 | <para>Install <application>desktop-file-utils</application> by running the
|
---|
[a149f6fe] | 84 | following commands:</para>
|
---|
| 85 |
|
---|
| 86 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 87 | make</userinput></screen>
|
---|
[fc7afd0c] | 88 |
|
---|
[e639150] | 89 | <para>This package does not come with a test suite.</para>
|
---|
| 90 |
|
---|
[a149f6fe] | 91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 92 |
|
---|
[a149f6fe] | 93 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 94 |
|
---|
[a149f6fe] | 95 | </sect2>
|
---|
[fc7afd0c] | 96 |
|
---|
[a149f6fe] | 97 | <sect2 role="configuration">
|
---|
[832dcb80] | 98 | <title>Configuring desktop-file-utils</title>
|
---|
[fc7afd0c] | 99 |
|
---|
[a149f6fe] | 100 | <sect3>
|
---|
| 101 | <title>Configuration Information</title>
|
---|
[fc7afd0c] | 102 |
|
---|
[807b609] | 103 | <para>The default location for the MIME-types application database is
|
---|
| 104 | <filename>/usr/share/applications/mimeinfo.cache</filename>. If you are
|
---|
| 105 | going to install, or have already installed, a desktop environment such
|
---|
| 106 | as <application>GNOME</application> or <application>KDE</application> in
|
---|
| 107 | a prefix other than <filename class='directory'>/usr</filename>, you'll
|
---|
[da4d54c] | 108 | need to update the <envar>XDG_DATA_DIRS</envar> variable with your prefix
|
---|
| 109 | setting. Update the <envar>XDG_DATA_DIRS</envar> (if necessary) and
|
---|
[807b609] | 110 | <envar>XDG_CONFIG_DIRS</envar> environment variables so that the
|
---|
| 111 | additional MIME-types application databases and desktop menu files are
|
---|
[da4d54c] | 112 | properly maintained and discovered by adding the following to the
|
---|
| 113 | system-wide or personal profile:</para>
|
---|
[a149f6fe] | 114 |
|
---|
| 115 | <para>For <application>GNOME</application>:</para>
|
---|
| 116 |
|
---|
[807b609] | 117 | <screen><literal>XDG_DATA_DIRS=/usr/share:$GNOME_PREFIX/share
|
---|
[d777a3a] | 118 | XDG_CONFIG_DIRS=/usr/share:&gnome-etc-dir;/xdg
|
---|
[807b609] | 119 | export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
|
---|
[a149f6fe] | 120 |
|
---|
| 121 | <para>For <application>KDE</application>:</para>
|
---|
| 122 |
|
---|
[807b609] | 123 | <screen><literal>XDG_DATA_DIRS=/usr/share:$KDE_PREFIX/share
|
---|
| 124 | XDG_CONFIG_DIRS=/usr/share:/etc/kde/xdg
|
---|
| 125 | export XDG_DATA_DIRS XDG_CONFIG_DIRS</literal></screen>
|
---|
| 126 |
|
---|
| 127 |
|
---|
| 128 | <!-- This ends up messing up the menus and the GNOME and KDE stuff is simply
|
---|
| 129 | not yet interchangeable
|
---|
[a149f6fe] | 130 |
|
---|
[8d77de6] | 131 | <para>If you're installing both <application>GNOME</application> and
|
---|
[a149f6fe] | 132 | <application>KDE</application>:</para>
|
---|
| 133 |
|
---|
| 134 | <screen><literal>XDG_DATA_DIRS=$XDG_DATA_DIRS:$GNOME_PREFIX/share:$KDE_PREFIX/share
|
---|
| 135 | export XDG_DATA_DIRS</literal></screen>
|
---|
[fc7afd0c] | 136 |
|
---|
[807b609] | 137 | -->
|
---|
| 138 |
|
---|
[a149f6fe] | 139 | </sect3>
|
---|
[fc7afd0c] | 140 |
|
---|
[a149f6fe] | 141 | </sect2>
|
---|
[fc7afd0c] | 142 |
|
---|
[a149f6fe] | 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 150 |
|
---|
[a149f6fe] | 151 | <seglistitem>
|
---|
[8d77de6] | 152 | <seg>desktop-file-install, desktop-file-validate, and
|
---|
[a149f6fe] | 153 | update-desktop-database</seg>
|
---|
| 154 | <seg>None</seg>
|
---|
| 155 | <seg>None</seg>
|
---|
| 156 | </seglistitem>
|
---|
| 157 | </segmentedlist>
|
---|
[fc7afd0c] | 158 |
|
---|
[a149f6fe] | 159 | <variablelist>
|
---|
| 160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 161 | <?dbfo list-presentation="list"?>
|
---|
| 162 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 163 |
|
---|
[a149f6fe] | 164 | <varlistentry id="desktop-file-install">
|
---|
| 165 | <term><command>desktop-file-install</command></term>
|
---|
| 166 | <listitem>
|
---|
[8d77de6] | 167 | <para>is used to install a new, or modify an existing desktop file
|
---|
| 168 | entry. It is also used to rebuild or modify the MIME-types
|
---|
[a149f6fe] | 169 | application database.</para>
|
---|
| 170 | <indexterm zone="desktop-file-utils desktop-file-install">
|
---|
| 171 | <primary sortas="b-desktop-file-install">desktop-file-install</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
[fc7afd0c] | 175 |
|
---|
[a149f6fe] | 176 | <varlistentry id="desktop-file-validate">
|
---|
| 177 | <term><command>desktop-file-validate</command></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>is used to verify the integrity of a desktop file.</para>
|
---|
| 180 | <indexterm zone="desktop-file-utils desktop-file-validate">
|
---|
| 181 | <primary sortas="b-desktop-file-validate">desktop-file-validate</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
[fc7afd0c] | 185 |
|
---|
[a149f6fe] | 186 | <varlistentry id="update-desktop-database">
|
---|
| 187 | <term><command>update-desktop-database</command></term>
|
---|
| 188 | <listitem>
|
---|
[8d77de6] | 189 | <para>is used to update the MIME-types
|
---|
[a149f6fe] | 190 | application database.</para>
|
---|
| 191 | <indexterm zone="desktop-file-utils update-desktop-database">
|
---|
| 192 | <primary sortas="b-update-desktop-database">update-desktop-database</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 | </variablelist>
|
---|
| 197 |
|
---|
| 198 | </sect2>
|
---|
[c87e4dd] | 199 |
|
---|
| 200 | </sect1>
|
---|