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 |
|
---|
7 | <!-- <!ENTITY xdg-utils-download-http "http://people.freedesktop.org/~rdieter/xdg-utils/xdg-utils-&xdg-utils-version;.tar.gz">-->
|
---|
8 | <!ENTITY xdg-utils-download-http "https://portland.freedesktop.org/download/xdg-utils-&xdg-utils-version;.tar.gz">
|
---|
9 | <!ENTITY xdg-utils-download-ftp " ">
|
---|
10 | <!ENTITY xdg-utils-md5sum "902042508b626027a3709d105f0b63ff">
|
---|
11 | <!ENTITY xdg-utils-size "296 KB">
|
---|
12 | <!ENTITY xdg-utils-buildsize "3.2 MB (with tests)">
|
---|
13 | <!ENTITY xdg-utils-time "0.3 SBU (with tests)">
|
---|
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>
|
---|
30 | <application>xdg-utils</application> is a a set of command line
|
---|
31 | tools that assist applications with a variety of desktop integration tasks.
|
---|
32 | It is required for Linux Standards Base (LSB) conformance.
|
---|
33 | </para>
|
---|
34 |
|
---|
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 |
|
---|
53 | &lfs112_checked;
|
---|
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 |
|
---|
89 | <bridgehead renderas="sect3">xdg-utils Dependencies</bridgehead>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
92 | <para role="required">
|
---|
93 | <xref linkend="xmlto"/> with one of
|
---|
94 | <xref linkend="lynx"/>,
|
---|
95 | <xref role="nodep" linkend="Links"/>, or
|
---|
96 | <ulink url="&w3m-url;">W3m</ulink>
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <bridgehead renderas="sect4">Required (runtime)</bridgehead>
|
---|
100 | <para role="required">
|
---|
101 | <xref role="runtime" linkend="xorg7-app"/>
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <bridgehead renderas="sect4">Optional (runtime)</bridgehead>
|
---|
105 | <para role="optional">
|
---|
106 | <xref role="runtime" linkend="dbus"/>
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <para condition="html" role="usernotes">
|
---|
110 | User Notes: <ulink url="&blfs-wiki;/xdg-utils"/>
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | </sect2>
|
---|
114 |
|
---|
115 | <sect2 role="installation">
|
---|
116 | <title>Installation of xdg-utils</title>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Compile <application>xdg-utils</application> with the following
|
---|
120 | commands:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen><userinput>./configure --prefix=/usr --mandir=/usr/share/man &&
|
---|
124 | make</userinput></screen>
|
---|
125 |
|
---|
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>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | To run the tests, issue: <command>make -k test</command>.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | Now install it as the <systemitem class="username">root</systemitem>
|
---|
142 | user:
|
---|
143 | </para>
|
---|
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>
|
---|
174 | is a command line tool for (un)installing desktop menu items
|
---|
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>
|
---|
186 | is a command line tool for (un)installing icons to the desktop
|
---|
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>
|
---|
198 | is a command line tool for querying information about file
|
---|
199 | type handling and adding descriptions for new file types
|
---|
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>
|
---|
211 | is a command line tool for (un)installing icon resources
|
---|
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>
|
---|
223 | opens a file or URL in the user's preferred application
|
---|
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
|
---|
236 | message
|
---|
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>
|
---|
248 | is a command line tool for controlling the screensaver
|
---|
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>
|
---|
260 | is a command line tool for managing various settings from
|
---|
261 | the desktop environment
|
---|
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>
|
---|
271 |
|
---|
272 | </sect1>
|
---|