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