[b98775f9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[9fd7f516] | 7 | <!-- <!ENTITY xdg-utils-download-http "http://people.freedesktop.org/~rdieter/xdg-utils/xdg-utils-&xdg-utils-version;.tar.gz">-->
|
---|
[8dfc5c3] | 8 | <!ENTITY xdg-utils-download-http "https://portland.freedesktop.org/download/xdg-utils-&xdg-utils-version;.tar.gz">
|
---|
[b98775f9] | 9 | <!ENTITY xdg-utils-download-ftp " ">
|
---|
[85d2158] | 10 | <!ENTITY xdg-utils-md5sum "902042508b626027a3709d105f0b63ff">
|
---|
| 11 | <!ENTITY xdg-utils-size "296 KB">
|
---|
[78399edc] | 12 | <!ENTITY xdg-utils-buildsize "3.2 MB (with tests)">
|
---|
[9fd7f516] | 13 | <!ENTITY xdg-utils-time "0.3 SBU (with tests)">
|
---|
[b98775f9] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="xdg-utils" xreflabel="xdg-utils-&xdg-utils-version;">
|
---|
| 17 | <?dbhtml filename="xdg-utils.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>xdg-utils-&xdg-utils-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="xdg-utils">
|
---|
| 23 | <primary sortas="a-xdg-utils">xdg-utils</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to xdg-utils</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
[0d7900a] | 30 | <application>xdg-utils</application> is a a set of command line
|
---|
| 31 | tools that assist applications with a variety of desktop integration tasks.
|
---|
[b98775f9] | 32 | It is required for Linux Standards Base (LSB) conformance.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
[41f721e] | 35 | <warning>
|
---|
| 36 | <para>
|
---|
| 37 | A security vulnerability exists in all versions of
|
---|
| 38 | <application>xdg-utils</application> from version 1.1.0rc1 when handling
|
---|
| 39 | mailto: URIs. An attacker could potentially send a victim a URI that
|
---|
| 40 | automatically attaches a sensitive file to a new email. If a victim user
|
---|
| 41 | does not notice that an attachment was added and sends the email, this
|
---|
| 42 | could result in sensitive information disclosure.
|
---|
| 43 | </para>
|
---|
| 44 |
|
---|
| 45 | <para>
|
---|
| 46 | To mitigate this flaw, either do not use mailto links at all, or always
|
---|
| 47 | double-check in the user interface that there are no unwanted attachments
|
---|
| 48 | before sending emails, especially when the email originates from clicking
|
---|
| 49 | on a mailto link.
|
---|
| 50 | </para>
|
---|
| 51 | </warning>
|
---|
| 52 |
|
---|
[c1a287b] | 53 | &lfs120_checked;
|
---|
[b98775f9] | 54 |
|
---|
| 55 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 56 | <itemizedlist spacing="compact">
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download (HTTP): <ulink url="&xdg-utils-download-http;"/>
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Download (FTP): <ulink url="&xdg-utils-download-ftp;"/>
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Download MD5 sum: &xdg-utils-md5sum;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>
|
---|
| 74 | Download size: &xdg-utils-size;
|
---|
| 75 | </para>
|
---|
| 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Estimated disk space required: &xdg-utils-buildsize;
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | <listitem>
|
---|
| 83 | <para>
|
---|
| 84 | Estimated build time: &xdg-utils-time;
|
---|
| 85 | </para>
|
---|
| 86 | </listitem>
|
---|
| 87 | </itemizedlist>
|
---|
| 88 |
|
---|
[e351dd1] | 89 | <bridgehead renderas="sect3">xdg-utils Dependencies</bridgehead>
|
---|
| 90 |
|
---|
[5dfe5591] | 91 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 92 | <para role="required">
|
---|
| 93 | <xref linkend="xmlto"/> with one of
|
---|
| 94 | <xref linkend="lynx"/>,
|
---|
[cac7f93] | 95 | <xref role="nodep" linkend="Links"/>, or
|
---|
[1eac9eb] | 96 | <ulink url="&w3m-url;">W3m</ulink>
|
---|
[5dfe5591] | 97 | </para>
|
---|
| 98 |
|
---|
[5b569d83] | 99 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
| 100 | <para role="required">
|
---|
[c8b93dfd] | 101 | <xref role="runtime" linkend="xorg7-app"/>
|
---|
[5b569d83] | 102 | </para>
|
---|
| 103 |
|
---|
[54666831] | 104 | <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
|
---|
| 105 | <para role="optional">
|
---|
[c8b93dfd] | 106 | <xref role="runtime" linkend="dbus"/>
|
---|
[54666831] | 107 | </para>
|
---|
| 108 |
|
---|
[6c91a92a] | 109 |
|
---|
[b98775f9] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="installation">
|
---|
| 113 | <title>Installation of xdg-utils</title>
|
---|
| 114 |
|
---|
[622c1021] | 115 | <para>
|
---|
| 116 | Compile <application>xdg-utils</application> with the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
[b98775f9] | 119 |
|
---|
[5dfe5591] | 120 | <screen><userinput>./configure --prefix=/usr --mandir=/usr/share/man &&
|
---|
| 121 | make</userinput></screen>
|
---|
[b98775f9] | 122 |
|
---|
[622c1021] | 123 | <caution>
|
---|
| 124 | <para>
|
---|
| 125 | The tests for the scripts must be made from an X-Window
|
---|
| 126 | based session. There are several run-time requirements to run
|
---|
| 127 | the tests including a browser and an MTA.
|
---|
| 128 | Running the tests as <systemitem class="username">root</systemitem>
|
---|
| 129 | user is not recommended.
|
---|
| 130 | </para>
|
---|
| 131 | </caution>
|
---|
[b98775f9] | 132 |
|
---|
[622c1021] | 133 | <para>
|
---|
| 134 | To run the tests, issue: <command>make -k test</command>.
|
---|
| 135 | </para>
|
---|
[b98775f9] | 136 |
|
---|
[622c1021] | 137 | <para>
|
---|
| 138 | Now install it as the <systemitem class="username">root</systemitem>
|
---|
| 139 | user:
|
---|
| 140 | </para>
|
---|
[b98775f9] | 141 |
|
---|
| 142 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="content">
|
---|
| 147 | <title>Contents</title>
|
---|
| 148 |
|
---|
| 149 | <segmentedlist>
|
---|
| 150 | <segtitle>Installed Programs</segtitle>
|
---|
| 151 | <segtitle>Installed Libraries</segtitle>
|
---|
| 152 | <segtitle>Installed Directories</segtitle>
|
---|
| 153 |
|
---|
| 154 | <seglistitem>
|
---|
| 155 | <seg>xdg-desktop-menu, xdg-desktop-icon, xdg-mime, xdg-icon-resource,
|
---|
| 156 | xdg-open, xdg-email, xdg-screensaver, xdg-settings</seg>
|
---|
| 157 | <seg>None</seg>
|
---|
| 158 | <seg>None</seg>
|
---|
| 159 | </seglistitem>
|
---|
| 160 | </segmentedlist>
|
---|
| 161 |
|
---|
| 162 | <variablelist>
|
---|
| 163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 164 | <?dbfo list-presentation="list"?>
|
---|
| 165 | <?dbhtml list-presentation="table"?>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="xdg-desktop-menu">
|
---|
| 168 | <term><command>xdg-desktop-menu</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>
|
---|
[4c24eb0a] | 171 | is a command line tool for (un)installing desktop menu items
|
---|
[b98775f9] | 172 | </para>
|
---|
| 173 | <indexterm zone="xdg-utils xdg-desktop-menu">
|
---|
| 174 | <primary sortas="b-xdg-desktop-menu">xdg-desktop-menu</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | <varlistentry id="xdg-desktop-icon">
|
---|
| 180 | <term><command>xdg-desktop-icon</command></term>
|
---|
| 181 | <listitem>
|
---|
| 182 | <para>
|
---|
[4c24eb0a] | 183 | is a command line tool for (un)installing icons to the desktop
|
---|
[b98775f9] | 184 | </para>
|
---|
| 185 | <indexterm zone="xdg-utils xdg-desktop-icon">
|
---|
| 186 | <primary sortas="b-xdg-desktop-icon">xdg-desktop-icon</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | <varlistentry id="xdg-mime">
|
---|
| 192 | <term><command>xdg-mime</command></term>
|
---|
| 193 | <listitem>
|
---|
| 194 | <para>
|
---|
[0d7900a] | 195 | is a command line tool for querying information about file
|
---|
[4c24eb0a] | 196 | type handling and adding descriptions for new file types
|
---|
[b98775f9] | 197 | </para>
|
---|
| 198 | <indexterm zone="xdg-utils xdg-mime">
|
---|
| 199 | <primary sortas="b-xdg-mime">xdg-mime</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | <varlistentry id="xdg-icon-resource">
|
---|
| 205 | <term><command>xdg-icon-resource</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>
|
---|
[4c24eb0a] | 208 | is a command line tool for (un)installing icon resources
|
---|
[b98775f9] | 209 | </para>
|
---|
| 210 | <indexterm zone="xdg-utils xdg-icon-resource">
|
---|
| 211 | <primary sortas="b-xdg-icon-resource">xdg-icon-resource</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="xdg-open">
|
---|
| 217 | <term><command>xdg-open</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
[4c24eb0a] | 220 | opens a file or URL in the user's preferred application
|
---|
[b98775f9] | 221 | </para>
|
---|
| 222 | <indexterm zone="xdg-utils xdg-open">
|
---|
| 223 | <primary sortas="b-xdg-open">xdg-open</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="xdg-email">
|
---|
| 229 | <term><command>xdg-email</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>
|
---|
| 232 | opens the user's preferred e-mail composer in order to send a mail
|
---|
[4c24eb0a] | 233 | message
|
---|
[b98775f9] | 234 | </para>
|
---|
| 235 | <indexterm zone="xdg-utils xdg-email">
|
---|
| 236 | <primary sortas="b-xdg-email">xdg-email</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
| 241 | <varlistentry id="xdg-screensaver">
|
---|
| 242 | <term><command>xdg-screensaver</command></term>
|
---|
| 243 | <listitem>
|
---|
| 244 | <para>
|
---|
[4c24eb0a] | 245 | is a command line tool for controlling the screensaver
|
---|
[b98775f9] | 246 | </para>
|
---|
| 247 | <indexterm zone="xdg-utils xdg-screensaver">
|
---|
| 248 | <primary sortas="b-xdg-screensaver">xdg-screensaver</primary>
|
---|
| 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
| 253 | <varlistentry id="xdg-settings">
|
---|
| 254 | <term><command>xdg-settings</command></term>
|
---|
| 255 | <listitem>
|
---|
| 256 | <para>
|
---|
[0d7900a] | 257 | is a command line tool for managing various settings from
|
---|
[4c24eb0a] | 258 | the desktop environment
|
---|
[b98775f9] | 259 | </para>
|
---|
| 260 | <indexterm zone="xdg-utils xdg-settings">
|
---|
| 261 | <primary sortas="b-xdg-settings">xdg-settings</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
| 265 |
|
---|
| 266 | </variablelist>
|
---|
| 267 | </sect2>
|
---|
[4c24eb0a] | 268 |
|
---|
[b98775f9] | 269 | </sect1>
|
---|