source: xsoft/other/rxvt-unicode.xml@ 48771ae

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 48771ae was 48771ae, checked in by David Bryant <davidbryant@…>, 17 months ago

Unless it's a directory name, or something like that, "test suite"
should be spelled as two words.

  • Property mode set to 100644
File size: 10.5 KB
Line 
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 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 "793ae8d59cf911fc6a93254234933d25">
10 <!ENTITY rxvt-unicode-size "860 KB">
11 <!ENTITY rxvt-unicode-buildsize "21 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 &lfs112_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 <para condition="html" role="usernotes">User Notes:
97 <ulink url='&blfs-wiki;/rxvt-unicode'/></para>
98
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of rxvt-unicode</title>
103
104 <para>
105 Install <application>rxvt-unicode</application> by running the
106 following commands:
107 </para>
108
109<screen><userinput>./configure --prefix=/usr --enable-everything &amp;&amp;
110make</userinput></screen>
111
112 <para>
113 This package does not come with a test suite.
114 </para>
115
116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>make install</userinput></screen>
121
122 </sect2>
123
124 <sect2 role="commands">
125 <title>Command Explanations</title>
126
127 <para>
128 <parameter>--enable-everything</parameter>: Add support for all
129 non-multichoice options. Details about the different options can be
130 found in the file <filename>README.configure</filename>.
131 </para>
132
133 <para>
134 <option>--disable-xft</option>: Remove support for Xft fonts.
135 </para>
136
137 <para>
138 <option>--disable-perl</option>: Disable the embedded
139 <application>Perl</application> interpreter.
140 </para>
141
142 <para>
143 <option>--disable-afterimage</option>: Remove support for
144 libAfterImage.
145 </para>
146
147 </sect2>
148
149 <sect2 role="configuration">
150 <title>Configuring rxvt-unicode</title>
151
152 <para>
153 The <application>rxvt-unicode</application> terminal emulator uses the
154 resource class <classname>URxvt</classname> and the resource name
155 <classname>urxvt</classname>. You can add X resource definitions to a
156 user's <filename>~/.Xresources</filename> or
157 <filename>~/.Xdefaults</filename> files or to the system-wide
158 <filename>/etc/X11/app-defaults/URxvt</filename> file. The following
159 example will load the <classname>matcher</classname>
160 <application>Perl</application> extension (assuming
161 <application>Perl</application> support wasn't disabled), which enables
162 a left button click to open an underlined URL in the specified browser,
163 sets a background and foreground color and loads an Xft font (as the
164 <systemitem class="username">root</systemitem> user):
165 </para>
166
167<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/URxvt &lt;&lt; "EOF"
168<literal>! Use the specified colour as the windows background colour [default white]
169URxvt*background: black
170
171! Use the specified colour as the windows foreground colour [default black]
172URxvt*foreground: yellow
173
174! Select the fonts to be used. This is a comma separated list of font names
175URxvt*font: xft:Monospace:pixelsize=18
176
177! Comma-separated list(s) of perl extension scripts (default: "default")
178URxvt*perl-ext: matcher
179
180! Specifies the program to be started with a URL argument. Used by
181URxvt*url-launcher: firefox
182
183! When clicked with the mouse button specified in the "matcher.button" resource
184! (default 2, or middle), the program specified in the "matcher.launcher"
185! resource (default, the "url-launcher" resource, "sensible-browser") will be
186! started with the matched text as first argument.
187! Below, default modified to mouse left button.
188URxvt*matcher.button: 1</literal>
189EOF</userinput></screen>
190
191 <para>
192 In order to view the defined X resources, issue:
193 </para>
194
195<screen role="nodump"><userinput>xrdb -query</userinput></screen>
196
197 <para>
198 In order to add the modifications of the new user configuration file,
199 keeping previously X configurations (of course, unless you are changing
200 any on previously define), issue:
201 </para>
202
203<screen role="nodump"><userinput>xrdb -merge ~/.Xresources</userinput></screen>
204
205 <para>
206 The <application>rxvt-unicode</application> application can also run
207 in a daemon mode, which makes it possible to open multiple terminal
208 windows within the same process. The <command>urxvtc</command> client
209 then connects to the <command>urxvtd</command> daemon and requests a
210 new terminal window. Use this option with caution. If the daemon
211 crashes, all the running processes in the terminal windows are
212 terminated.
213 </para>
214
215 <para>
216 You can start the <command>urxvtd</command> daemon in the system or
217 personal startup <command>X</command> session script (e.g.,
218 <filename>~/.xinitrc</filename>) by adding the following lines near the
219 top of the script:
220 </para>
221
222<screen role="nodump"><userinput><literal># Start the urxvtd daemon
223urxvtd -q -f -o &amp;</literal></userinput></screen>
224
225 <para>
226 For more information, examine the <command>urxvt</command>,
227 <command>urxvtd</command>, <command>urxvtc</command>, and
228 <filename>urxvtperl</filename> man pages.
229 </para>
230
231 <para>
232 If you use a Desktop Environment, a menu entry can be included,
233 issuing, as the <systemitem class="username">root</systemitem> user:
234 </para>
235
236<screen role="root"><userinput>cat &gt; /usr/share/applications/urxvt.desktop &lt;&lt; "EOF" &amp;&amp;
237<literal>[Desktop Entry]
238Encoding=UTF-8
239Name=Rxvt-Unicode Terminal
240Comment=Use the command line
241GenericName=Terminal
242Exec=urxvt
243Terminal=false
244Type=Application
245Icon=utilities-terminal
246Categories=GTK;Utility;TerminalEmulator;
247#StartupNotify=true
248Keywords=console;command line;execute;</literal>
249EOF
250
251update-desktop-database -q</userinput></screen>
252
253 <para>
254 For that, you need <xref linkend="desktop-file-utils"/> and at least
255 one of <xref linkend="gnome-icon-theme"/>, <xref linkend="oxygen-icons5"/>
256 and <xref linkend="lxde-icon-theme"/>. Uncomment the line with
257 <quote>StartupNotify=true</quote> if <xref
258 linkend="startup-notification"/> is installed.
259 </para>
260
261 </sect2>
262
263 <sect2 role="content">
264 <title>Contents</title>
265
266 <segmentedlist>
267 <segtitle>Installed Programs</segtitle>
268 <segtitle>Installed Libraries</segtitle>
269 <segtitle>Installed Directory</segtitle>
270
271 <seglistitem>
272 <seg>urxvt, urxvtd, and urxvtc</seg>
273 <seg>Many <application>Perl</application> extensions located under
274 <filename class="directory">/usr/lib/urxvt/perl</filename></seg>
275 <seg>/usr/lib/urxvt</seg>
276 </seglistitem>
277 </segmentedlist>
278
279 <variablelist>
280 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
281 <?dbfo list-presentation="list"?>
282 <?dbhtml list-presentation="table"?>
283
284 <varlistentry id="urxvt-bin">
285 <term><command>urxvt</command></term>
286 <listitem>
287 <para>
288 is a terminal emulator for the X Window System
289 </para>
290 <indexterm zone="rxvt-unicode urxvt-bin">
291 <primary sortas="b-urxvt-bin">urxvt</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
296 <varlistentry id="urxvtd">
297 <term><command>urxvtd</command></term>
298 <listitem>
299 <para>
300 is the <command>urxvt</command> terminal daemon
301 </para>
302 <indexterm zone="rxvt-unicode urxvtd">
303 <primary sortas="b-urxvtd">urxvtd</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="urxvtc">
309 <term><command>urxvtc</command></term>
310 <listitem>
311 <para>
312 controls the <command>urxvtd</command> daemon
313 </para>
314 <indexterm zone="rxvt-unicode urxvtc">
315 <primary sortas="b-urxvtc">urxvtc</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 </variablelist>
321
322 </sect2>
323
324</sect1>
Note: See TracBrowser for help on using the repository browser.