1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 rxvt-unicode-download-http "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-&rxvt-unicode-version;.tar.bz2">
|
---|
8 | <!ENTITY rxvt-unicode-download-ftp " ">
|
---|
9 | <!ENTITY rxvt-unicode-md5sum "3d0ec83705c9b9ff301a4b9965b3cd9f">
|
---|
10 | <!ENTITY rxvt-unicode-size "860 KB">
|
---|
11 | <!ENTITY rxvt-unicode-buildsize "22 MB">
|
---|
12 | <!ENTITY rxvt-unicode-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="rxvt-unicode" xreflabel="rxvt-unicode-&rxvt-unicode-version;">
|
---|
16 | <?dbhtml filename="rxvt-unicode.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>rxvt-unicode-&rxvt-unicode-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="rxvt-unicode">
|
---|
22 | <primary sortas="a-rxvt-unicode">rxvt-unicode</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to rxvt-unicode</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <application>rxvt-unicode</application> is a clone of the terminal
|
---|
30 | emulator <application>rxvt</application>, an X Window System terminal
|
---|
31 | emulator which includes support for XFT and Unicode.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs122_checked;
|
---|
35 |
|
---|
36 | <note>
|
---|
37 | <para>
|
---|
38 | <!-- https://github.com/Perl/perl5/issues/12349 -->
|
---|
39 | Please be aware that <application>rxvt-unicode</application> is
|
---|
40 | affected by an issue in <application>perl</application> where
|
---|
41 | the SIGFPE handler is set to SIG_IGN (i.e. the signal is ignored).
|
---|
42 | If you are building an LFS system from within <command>urxvt</command>
|
---|
43 | and running the test suites, tests in <application>bash</application> and
|
---|
44 | <application>check</application> which test raising this signal will fail.
|
---|
45 | </para>
|
---|
46 | </note>
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
49 | <itemizedlist spacing="compact">
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (HTTP): <ulink url="&rxvt-unicode-download-http;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download (FTP): <ulink url="&rxvt-unicode-download-ftp;"/>
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download MD5 sum: &rxvt-unicode-md5sum;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Download size: &rxvt-unicode-size;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated disk space required: &rxvt-unicode-buildsize;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Estimated build time: &rxvt-unicode-time;
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect3">rxvt-unicode Dependencies</bridgehead>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
85 | <para role="required">
|
---|
86 | <xref linkend="libptytty"/> and
|
---|
87 | <xref linkend="x-window-system"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
91 | <para role="optional">
|
---|
92 | <xref linkend="gdk-pixbuf"/> (for background images) and
|
---|
93 | <xref linkend="startup-notification"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="installation">
|
---|
100 | <title>Installation of rxvt-unicode</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | Install <application>rxvt-unicode</application> by running the
|
---|
104 | following commands:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen><userinput>./configure --prefix=/usr --enable-everything &&
|
---|
108 | make</userinput></screen>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | This package does not come with a test suite.
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
119 |
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2 role="commands">
|
---|
123 | <title>Command Explanations</title>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | <parameter>--enable-everything</parameter>: Add support for all
|
---|
127 | non-multichoice options. Details about the different options can be
|
---|
128 | found in the file <filename>README.configure</filename>.
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | <option>--disable-xft</option>: Remove support for Xft fonts.
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | <option>--disable-perl</option>: Disable the embedded
|
---|
137 | <application>Perl</application> interpreter.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | <option>--disable-afterimage</option>: Remove support for
|
---|
142 | libAfterImage.
|
---|
143 | </para>
|
---|
144 |
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | <sect2 role="configuration">
|
---|
148 | <title>Configuring rxvt-unicode</title>
|
---|
149 |
|
---|
150 | <para>
|
---|
151 | The <application>rxvt-unicode</application> terminal emulator uses the
|
---|
152 | resource class <classname>URxvt</classname> and the resource name
|
---|
153 | <classname>urxvt</classname>. You can add X resource definitions to a
|
---|
154 | user's <filename>~/.Xresources</filename> or
|
---|
155 | <filename>~/.Xdefaults</filename> files or to the system-wide
|
---|
156 | <filename>/etc/X11/app-defaults/URxvt</filename> file. The following
|
---|
157 | example will load the <classname>matcher</classname>
|
---|
158 | <application>Perl</application> extension (assuming
|
---|
159 | <application>Perl</application> support wasn't disabled), which enables
|
---|
160 | a left button click to open an underlined URL in the specified browser,
|
---|
161 | sets a background and foreground color and loads an Xft font (as the
|
---|
162 | <systemitem class="username">root</systemitem> user):
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <screen role="root"><userinput>cat >> /etc/X11/app-defaults/URxvt << "EOF"
|
---|
166 | <literal>! Use the specified colour as the windows background colour [default white]
|
---|
167 | URxvt*background: black
|
---|
168 |
|
---|
169 | ! Use the specified colour as the windows foreground colour [default black]
|
---|
170 | URxvt*foreground: yellow
|
---|
171 |
|
---|
172 | ! Select the fonts to be used. This is a comma separated list of font names
|
---|
173 | URxvt*font: xft:Monospace:pixelsize=18
|
---|
174 |
|
---|
175 | ! Comma-separated list(s) of perl extension scripts (default: "default")
|
---|
176 | URxvt*perl-ext: matcher
|
---|
177 |
|
---|
178 | ! Specifies the program to be started with a URL argument. Used by
|
---|
179 | URxvt*url-launcher: firefox
|
---|
180 |
|
---|
181 | ! When clicked with the mouse button specified in the "matcher.button" resource
|
---|
182 | ! (default 2, or middle), the program specified in the "matcher.launcher"
|
---|
183 | ! resource (default, the "url-launcher" resource, "sensible-browser") will be
|
---|
184 | ! started with the matched text as first argument.
|
---|
185 | ! Below, default modified to mouse left button.
|
---|
186 | URxvt*matcher.button: 1</literal>
|
---|
187 | EOF</userinput></screen>
|
---|
188 |
|
---|
189 | <para>
|
---|
190 | In order to view the defined X resources, issue:
|
---|
191 | </para>
|
---|
192 |
|
---|
193 | <screen role="nodump"><userinput>xrdb -query</userinput></screen>
|
---|
194 |
|
---|
195 | <para>
|
---|
196 | In order to add the modifications of the new user configuration file,
|
---|
197 | keeping previously X configurations (of course, unless you are changing
|
---|
198 | any on previously define), issue:
|
---|
199 | </para>
|
---|
200 |
|
---|
201 | <screen role="nodump"><userinput>xrdb -merge ~/.Xresources</userinput></screen>
|
---|
202 |
|
---|
203 | <para>
|
---|
204 | The <application>rxvt-unicode</application> application can also run
|
---|
205 | in a daemon mode, which makes it possible to open multiple terminal
|
---|
206 | windows within the same process. The <command>urxvtc</command> client
|
---|
207 | then connects to the <command>urxvtd</command> daemon and requests a
|
---|
208 | new terminal window. Use this option with caution. If the daemon
|
---|
209 | crashes, all the running processes in the terminal windows are
|
---|
210 | terminated.
|
---|
211 | </para>
|
---|
212 |
|
---|
213 | <para>
|
---|
214 | You can start the <command>urxvtd</command> daemon in the system or
|
---|
215 | personal startup <command>X</command> session script (e.g.,
|
---|
216 | <filename>~/.xinitrc</filename>) by adding the following lines near the
|
---|
217 | top of the script:
|
---|
218 | </para>
|
---|
219 |
|
---|
220 | <screen role="nodump"><userinput><literal># Start the urxvtd daemon
|
---|
221 | urxvtd -q -f -o &</literal></userinput></screen>
|
---|
222 |
|
---|
223 | <para>
|
---|
224 | For more information, examine the <command>urxvt</command>,
|
---|
225 | <command>urxvtd</command>, <command>urxvtc</command>, and
|
---|
226 | <filename>urxvtperl</filename> man pages.
|
---|
227 | </para>
|
---|
228 |
|
---|
229 | <para>
|
---|
230 | If you use a Desktop Environment, a menu entry can be included,
|
---|
231 | issuing, as the <systemitem class="username">root</systemitem> user:
|
---|
232 | </para>
|
---|
233 |
|
---|
234 | <screen role="root"><userinput>cat > /usr/share/applications/urxvt.desktop << "EOF" &&
|
---|
235 | <literal>[Desktop Entry]
|
---|
236 | Encoding=UTF-8
|
---|
237 | Name=Rxvt-Unicode Terminal
|
---|
238 | Comment=Use the command line
|
---|
239 | GenericName=Terminal
|
---|
240 | Exec=urxvt
|
---|
241 | Terminal=false
|
---|
242 | Type=Application
|
---|
243 | Icon=utilities-terminal
|
---|
244 | Categories=GTK;Utility;TerminalEmulator;
|
---|
245 | #StartupNotify=true
|
---|
246 | Keywords=console;command line;execute;</literal>
|
---|
247 | EOF
|
---|
248 |
|
---|
249 | update-desktop-database -q</userinput></screen>
|
---|
250 |
|
---|
251 | <para>
|
---|
252 | For that, you need <xref linkend="desktop-file-utils"/> and at least
|
---|
253 | one of <xref linkend="gnome-icon-theme"/>, <xref linkend="oxygen-icons"/>
|
---|
254 | and <xref linkend="lxde-icon-theme"/>. Uncomment the line with
|
---|
255 | <quote>StartupNotify=true</quote> if <xref
|
---|
256 | linkend="startup-notification"/> is installed.
|
---|
257 | </para>
|
---|
258 |
|
---|
259 | </sect2>
|
---|
260 |
|
---|
261 | <sect2 role="content">
|
---|
262 | <title>Contents</title>
|
---|
263 |
|
---|
264 | <segmentedlist>
|
---|
265 | <segtitle>Installed Programs</segtitle>
|
---|
266 | <segtitle>Installed Libraries</segtitle>
|
---|
267 | <segtitle>Installed Directory</segtitle>
|
---|
268 |
|
---|
269 | <seglistitem>
|
---|
270 | <seg>urxvt, urxvtd, and urxvtc</seg>
|
---|
271 | <seg>Many <application>Perl</application> extensions located under
|
---|
272 | <filename class="directory">/usr/lib/urxvt/perl</filename></seg>
|
---|
273 | <seg>/usr/lib/urxvt</seg>
|
---|
274 | </seglistitem>
|
---|
275 | </segmentedlist>
|
---|
276 |
|
---|
277 | <variablelist>
|
---|
278 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
279 | <?dbfo list-presentation="list"?>
|
---|
280 | <?dbhtml list-presentation="table"?>
|
---|
281 |
|
---|
282 | <varlistentry id="urxvt-bin">
|
---|
283 | <term><command>urxvt</command></term>
|
---|
284 | <listitem>
|
---|
285 | <para>
|
---|
286 | is a terminal emulator for the X Window System
|
---|
287 | </para>
|
---|
288 | <indexterm zone="rxvt-unicode urxvt-bin">
|
---|
289 | <primary sortas="b-urxvt-bin">urxvt</primary>
|
---|
290 | </indexterm>
|
---|
291 | </listitem>
|
---|
292 | </varlistentry>
|
---|
293 |
|
---|
294 | <varlistentry id="urxvtd">
|
---|
295 | <term><command>urxvtd</command></term>
|
---|
296 | <listitem>
|
---|
297 | <para>
|
---|
298 | is the <command>urxvt</command> terminal daemon
|
---|
299 | </para>
|
---|
300 | <indexterm zone="rxvt-unicode urxvtd">
|
---|
301 | <primary sortas="b-urxvtd">urxvtd</primary>
|
---|
302 | </indexterm>
|
---|
303 | </listitem>
|
---|
304 | </varlistentry>
|
---|
305 |
|
---|
306 | <varlistentry id="urxvtc">
|
---|
307 | <term><command>urxvtc</command></term>
|
---|
308 | <listitem>
|
---|
309 | <para>
|
---|
310 | controls the <command>urxvtd</command> daemon
|
---|
311 | </para>
|
---|
312 | <indexterm zone="rxvt-unicode urxvtc">
|
---|
313 | <primary sortas="b-urxvtc">urxvtc</primary>
|
---|
314 | </indexterm>
|
---|
315 | </listitem>
|
---|
316 | </varlistentry>
|
---|
317 |
|
---|
318 | </variablelist>
|
---|
319 |
|
---|
320 | </sect2>
|
---|
321 |
|
---|
322 | </sect1>
|
---|