source: xsoft/other/rxvt-unicode.xml@ b282e39

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 b282e39 was 0a43695, checked in by Ken Moffat <ken@…>, 6 years ago

tags

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

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