[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 |
|
---|
[dbd73d6] | 53 | &lfs113_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 | <para condition="html" role="usernotes">
|
---|
| 110 | User Notes: <ulink url="&blfs-wiki;/xdg-utils"/>
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
[b98775f9] | 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="installation">
|
---|
| 116 | <title>Installation of xdg-utils</title>
|
---|
| 117 |
|
---|
[622c1021] | 118 | <para>
|
---|
| 119 | Compile <application>xdg-utils</application> with the following
|
---|
| 120 | commands:
|
---|
| 121 | </para>
|
---|
[b98775f9] | 122 |
|
---|
[5dfe5591] | 123 | <screen><userinput>./configure --prefix=/usr --mandir=/usr/share/man &&
|
---|
| 124 | make</userinput></screen>
|
---|
[b98775f9] | 125 |
|
---|
[622c1021] | 126 | <caution>
|
---|
| 127 | <para>
|
---|
| 128 | The tests for the scripts must be made from an X-Window
|
---|
| 129 | based session. There are several run-time requirements to run
|
---|
| 130 | the tests including a browser and an MTA.
|
---|
| 131 | Running the tests as <systemitem class="username">root</systemitem>
|
---|
| 132 | user is not recommended.
|
---|
| 133 | </para>
|
---|
| 134 | </caution>
|
---|
[b98775f9] | 135 |
|
---|
[622c1021] | 136 | <para>
|
---|
| 137 | To run the tests, issue: <command>make -k test</command>.
|
---|
| 138 | </para>
|
---|
[b98775f9] | 139 |
|
---|
[622c1021] | 140 | <para>
|
---|
| 141 | Now install it as the <systemitem class="username">root</systemitem>
|
---|
| 142 | user:
|
---|
| 143 | </para>
|
---|
[b98775f9] | 144 |
|
---|
| 145 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="content">
|
---|
| 150 | <title>Contents</title>
|
---|
| 151 |
|
---|
| 152 | <segmentedlist>
|
---|
| 153 | <segtitle>Installed Programs</segtitle>
|
---|
| 154 | <segtitle>Installed Libraries</segtitle>
|
---|
| 155 | <segtitle>Installed Directories</segtitle>
|
---|
| 156 |
|
---|
| 157 | <seglistitem>
|
---|
| 158 | <seg>xdg-desktop-menu, xdg-desktop-icon, xdg-mime, xdg-icon-resource,
|
---|
| 159 | xdg-open, xdg-email, xdg-screensaver, xdg-settings</seg>
|
---|
| 160 | <seg>None</seg>
|
---|
| 161 | <seg>None</seg>
|
---|
| 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="xdg-desktop-menu">
|
---|
| 171 | <term><command>xdg-desktop-menu</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
[4c24eb0a] | 174 | is a command line tool for (un)installing desktop menu items
|
---|
[b98775f9] | 175 | </para>
|
---|
| 176 | <indexterm zone="xdg-utils xdg-desktop-menu">
|
---|
| 177 | <primary sortas="b-xdg-desktop-menu">xdg-desktop-menu</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry id="xdg-desktop-icon">
|
---|
| 183 | <term><command>xdg-desktop-icon</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>
|
---|
[4c24eb0a] | 186 | is a command line tool for (un)installing icons to the desktop
|
---|
[b98775f9] | 187 | </para>
|
---|
| 188 | <indexterm zone="xdg-utils xdg-desktop-icon">
|
---|
| 189 | <primary sortas="b-xdg-desktop-icon">xdg-desktop-icon</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="xdg-mime">
|
---|
| 195 | <term><command>xdg-mime</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
[0d7900a] | 198 | is a command line tool for querying information about file
|
---|
[4c24eb0a] | 199 | type handling and adding descriptions for new file types
|
---|
[b98775f9] | 200 | </para>
|
---|
| 201 | <indexterm zone="xdg-utils xdg-mime">
|
---|
| 202 | <primary sortas="b-xdg-mime">xdg-mime</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="xdg-icon-resource">
|
---|
| 208 | <term><command>xdg-icon-resource</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
[4c24eb0a] | 211 | is a command line tool for (un)installing icon resources
|
---|
[b98775f9] | 212 | </para>
|
---|
| 213 | <indexterm zone="xdg-utils xdg-icon-resource">
|
---|
| 214 | <primary sortas="b-xdg-icon-resource">xdg-icon-resource</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="xdg-open">
|
---|
| 220 | <term><command>xdg-open</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
[4c24eb0a] | 223 | opens a file or URL in the user's preferred application
|
---|
[b98775f9] | 224 | </para>
|
---|
| 225 | <indexterm zone="xdg-utils xdg-open">
|
---|
| 226 | <primary sortas="b-xdg-open">xdg-open</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="xdg-email">
|
---|
| 232 | <term><command>xdg-email</command></term>
|
---|
| 233 | <listitem>
|
---|
| 234 | <para>
|
---|
| 235 | opens the user's preferred e-mail composer in order to send a mail
|
---|
[4c24eb0a] | 236 | message
|
---|
[b98775f9] | 237 | </para>
|
---|
| 238 | <indexterm zone="xdg-utils xdg-email">
|
---|
| 239 | <primary sortas="b-xdg-email">xdg-email</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="xdg-screensaver">
|
---|
| 245 | <term><command>xdg-screensaver</command></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>
|
---|
[4c24eb0a] | 248 | is a command line tool for controlling the screensaver
|
---|
[b98775f9] | 249 | </para>
|
---|
| 250 | <indexterm zone="xdg-utils xdg-screensaver">
|
---|
| 251 | <primary sortas="b-xdg-screensaver">xdg-screensaver</primary>
|
---|
| 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | <varlistentry id="xdg-settings">
|
---|
| 257 | <term><command>xdg-settings</command></term>
|
---|
| 258 | <listitem>
|
---|
| 259 | <para>
|
---|
[0d7900a] | 260 | is a command line tool for managing various settings from
|
---|
[4c24eb0a] | 261 | the desktop environment
|
---|
[b98775f9] | 262 | </para>
|
---|
| 263 | <indexterm zone="xdg-utils xdg-settings">
|
---|
| 264 | <primary sortas="b-xdg-settings">xdg-settings</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | </variablelist>
|
---|
| 270 | </sect2>
|
---|
[4c24eb0a] | 271 |
|
---|
[b98775f9] | 272 | </sect1>
|
---|