source: xsoft/other/rxvt-unicode.xml@ 193af65e

10.0 10.1 11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 193af65e was 193af65e, checked in by Ken Moffat <ken@…>, 4 years ago

Tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23556 af4574ff-66df-0310-9fd7-8a98e5e911e0

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