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