<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY xdg-utils-download-http
    "http://people.freedesktop.org/~rdieter/xdg-utils/xdg-utils-&xdg-utils-version;.tar.gz">
<!--    "http://portland.freedesktop.org/download/xdg-utils-&xdg-utils-version;.tar.gz">-->
  <!ENTITY xdg-utils-download-ftp  " ">
  <!ENTITY xdg-utils-md5sum        "617ef5f9872ab5b148ad4717bc9012f5">
  <!ENTITY xdg-utils-size          "284 KB">
  <!ENTITY xdg-utils-buildsize     "2.1 MB">
  <!ENTITY xdg-utils-time          "less than 0.1 SBU">
]>

<sect1 id="xdg-utils" xreflabel="xdg-utils-&xdg-utils-version;">
  <?dbhtml filename="xdg-utils.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date> </date>
  </sect1info>

  <title>xdg-utils-&xdg-utils-version;</title>

  <indexterm zone="xdg-utils">
    <primary sortas="a-xdg-utils">xdg-utils</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to xdg-utils</title>

    <para>
      <application>xdg-utils</application> is a a set of command line
      tools that assist applications with a variety of desktop integration tasks.
      It is required for Linux Standards Base (LSB) conformance.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&xdg-utils-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&xdg-utils-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &xdg-utils-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &xdg-utils-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &xdg-utils-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &xdg-utils-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">xdg-utils Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="xmlto"/> with one of
      <xref linkend="lynx"/>,
      <xref linkend="w3m"/>,
      <xref linkend="Links"/>, or
      <xref linkend="fop"/>
    </para>

    <bridgehead renderas="sect4">Required (runtime)</bridgehead>
    <para role="required">
      <xref linkend="xorg7-app"/>
    </para>

    <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
    <para role="optional">
      <xref linkend="dbus"/>
    </para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of xdg-utils</title>

    <para>Compile <application>xdg-utils</application> with the following
    commands:</para>

<screen><userinput>./configure --prefix=/usr --mandir=/usr/share/man &amp;&amp;
make</userinput></screen>

    <caution><para>The tests for the scripts must be made from a X-Window
    based session.  There are several run-time requirements to run
    the tests including a broswer and an MTA.
    Running the tests as <systemitem class="username">root</systemitem>
    usr is not recommended.</para></caution>

    <para>To run the tests, issue: <command>make -k test</command>.</para>

    <para>Now install it as the <systemitem class="username">root</systemitem>
    user:</para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>xdg-desktop-menu, xdg-desktop-icon, xdg-mime, xdg-icon-resource,
        xdg-open, xdg-email, xdg-screensaver, xdg-settings</seg>
        <seg>None</seg>
        <seg>None</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="xdg-desktop-menu">
        <term><command>xdg-desktop-menu</command></term>
        <listitem>
          <para>
            is a command line tool for (un)installing desktop menu items.
          </para>
          <indexterm zone="xdg-utils xdg-desktop-menu">
            <primary sortas="b-xdg-desktop-menu">xdg-desktop-menu</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xdg-desktop-icon">
        <term><command>xdg-desktop-icon</command></term>
        <listitem>
          <para>
            is a command line tool for (un)installing icons to the desktop.
          </para>
          <indexterm zone="xdg-utils xdg-desktop-icon">
            <primary sortas="b-xdg-desktop-icon">xdg-desktop-icon</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xdg-mime">
        <term><command>xdg-mime</command></term>
        <listitem>
          <para>
            is a command line tool for querying information about file
            type handling and adding descriptions for new file types.
          </para>
          <indexterm zone="xdg-utils xdg-mime">
            <primary sortas="b-xdg-mime">xdg-mime</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xdg-icon-resource">
        <term><command>xdg-icon-resource</command></term>
        <listitem>
          <para>
            is a command line tool for (un)installing icon resources.
          </para>
          <indexterm zone="xdg-utils xdg-icon-resource">
            <primary sortas="b-xdg-icon-resource">xdg-icon-resource</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xdg-open">
        <term><command>xdg-open</command></term>
        <listitem>
          <para>
            opens a file or URL in the user's preferred application.
          </para>
          <indexterm zone="xdg-utils xdg-open">
            <primary sortas="b-xdg-open">xdg-open</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xdg-email">
        <term><command>xdg-email</command></term>
        <listitem>
          <para>
            opens the user's preferred e-mail composer in order to send a mail
            message.
          </para>
          <indexterm zone="xdg-utils xdg-email">
            <primary sortas="b-xdg-email">xdg-email</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xdg-screensaver">
        <term><command>xdg-screensaver</command></term>
        <listitem>
          <para>
            is a command line tool for controlling the screensaver.
          </para>
          <indexterm zone="xdg-utils xdg-screensaver">
            <primary sortas="b-xdg-screensaver">xdg-screensaver</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="xdg-settings">
        <term><command>xdg-settings</command></term>
        <listitem>
          <para>
            is a command line tool for managing various settings from
            the desktop environment.
          </para>
          <indexterm zone="xdg-utils xdg-settings">
            <primary sortas="b-xdg-settings">xdg-settings</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>
  </sect2>
</sect1>
