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 | &lfs80_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 &&
|
---|
85 | make</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:</para>
|
---|
126 |
|
---|
127 | <screen><userinput>cat >> /etc/X11/app-defaults/URxvt << "EOF"
|
---|
128 | <literal>! Use the specified colour as the windows background colour [default white]
|
---|
129 | URxvt*background: black
|
---|
130 |
|
---|
131 | ! Use the specified colour as the windows foreground colour [default black]
|
---|
132 | URxvt*foreground: yellow
|
---|
133 |
|
---|
134 | ! Select the fonts to be used. This is a comma separated list of font names
|
---|
135 | URxvt*font: xft:Monospace:pixelsize=18
|
---|
136 |
|
---|
137 | ! Comma-separated list(s) of perl extension scripts (default: "default")
|
---|
138 | URxvt*perl-ext: matcher
|
---|
139 |
|
---|
140 | ! Specifies the program to be started with a URL argument. Used by
|
---|
141 | URxvt*url-launcher: firefox
|
---|
142 |
|
---|
143 | ! When clicked with the mouse button specified in the "matcher.button" resource
|
---|
144 | ! (default 2, or middle), the program specified in the "matcher.launcher"
|
---|
145 | ! resource (default, the "url-launcher" resource, "sensible-browser") will be
|
---|
146 | ! started with the matched text as first argument.
|
---|
147 | ! Below, default modified to mouse left button.
|
---|
148 | URxvt*matcher.button: 1</literal>
|
---|
149 | EOF</userinput></screen>
|
---|
150 |
|
---|
151 | <para>In order to view the defined X resources, issue:</para>
|
---|
152 |
|
---|
153 | <screen><userinput>xrdb -query</userinput></screen>
|
---|
154 |
|
---|
155 | <para>In order to add the modifications of the new user configuration file,
|
---|
156 | keeping previously X configurations (of course, unless you are changing any
|
---|
157 | on previously define), issue:</para>
|
---|
158 |
|
---|
159 | <screen><userinput>xrdb -merge ~/.Xresources</userinput></screen>
|
---|
160 |
|
---|
161 | <para>The <application>rxvt-unicode</application> application can also run
|
---|
162 | in a daemon mode, which makes it possible to open multiple terminal windows
|
---|
163 | within the same process. The <command>urxvtc</command> client then connects
|
---|
164 | to the <command>urxvtd</command> daemon and requests a new terminal window.
|
---|
165 | Use this option with caution. If the daemon crashes, all the running
|
---|
166 | processes in the terminal windows are terminated.</para>
|
---|
167 |
|
---|
168 | <para>You can start the <command>urxvtd</command> daemon in the system or
|
---|
169 | personal startup <command>X</command> session script (e.g.,
|
---|
170 | <filename>~/.xinitrc</filename>) by adding the following lines near the top
|
---|
171 | of the script:</para>
|
---|
172 |
|
---|
173 | <screen><userinput><literal># Start the urxvtd daemon
|
---|
174 | urxvtd -q -f -o &</literal></userinput></screen>
|
---|
175 |
|
---|
176 | <para>For more information, examine the <command>urxvt</command>,
|
---|
177 | <command>urxvtd</command>, <command>urxvtc</command>, and
|
---|
178 | <filename>urxvtperl</filename> man pages.</para>
|
---|
179 |
|
---|
180 | <para>If you use a Desktop Environment, a menu entry can be included,
|
---|
181 | issuing, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
182 |
|
---|
183 | <screen role="root"><userinput>cat > /usr/share/applications/urxvt.desktop << "EOF" &&
|
---|
184 | <literal>[Desktop Entry]
|
---|
185 | Encoding=UTF-8
|
---|
186 | Name=Rxvt-Unicode Terminal
|
---|
187 | Comment=Use the command line
|
---|
188 | GenericName=Terminal
|
---|
189 | Exec=urxvt
|
---|
190 | Terminal=false
|
---|
191 | Type=Application
|
---|
192 | Icon=utilities-terminal
|
---|
193 | Categories=GTK;Utility;TerminalEmulator;
|
---|
194 | #StartupNotify=true
|
---|
195 | Keywords=console;command line;execute;</literal>
|
---|
196 | EOF
|
---|
197 |
|
---|
198 | update-desktop-database -q</userinput></screen>
|
---|
199 |
|
---|
200 | <para>For that, you need <xref linkend="desktop-file-utils"/> and at least
|
---|
201 | one of <xref linkend="gnome-icon-theme"/>, <xref linkend="oxygen-icons5"/>
|
---|
202 | and <xref linkend="lxde-icon-theme"/>. Uncomment the line with
|
---|
203 | <quote>StartupNotify=true</quote> if <xref linkend="startup-notification"/>
|
---|
204 | is installed.</para>
|
---|
205 |
|
---|
206 | </sect2>
|
---|
207 |
|
---|
208 | <sect2 role="content">
|
---|
209 | <title>Contents</title>
|
---|
210 |
|
---|
211 | <segmentedlist>
|
---|
212 | <segtitle>Installed Programs</segtitle>
|
---|
213 | <segtitle>Installed Libraries</segtitle>
|
---|
214 | <segtitle>Installed Directory</segtitle>
|
---|
215 |
|
---|
216 | <seglistitem>
|
---|
217 | <seg>urxvt, urxvtd, and urxvtc</seg>
|
---|
218 | <seg>Many <application>Perl</application> extensions located under
|
---|
219 | <filename class='directory'>/usr/lib/urxvt/perl</filename></seg>
|
---|
220 | <seg>/usr/lib/urxvt</seg>
|
---|
221 | </seglistitem>
|
---|
222 | </segmentedlist>
|
---|
223 |
|
---|
224 | <variablelist>
|
---|
225 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
226 | <?dbfo list-presentation="list"?>
|
---|
227 | <?dbhtml list-presentation="table"?>
|
---|
228 |
|
---|
229 | <varlistentry id="urxvt-bin">
|
---|
230 | <term><command>urxvt</command></term>
|
---|
231 | <listitem>
|
---|
232 | <para>is a terminal emulator for the X Window System.</para>
|
---|
233 | <indexterm zone="rxvt-unicode urxvt-bin">
|
---|
234 | <primary sortas="b-urxvt-bin">urxvt</primary>
|
---|
235 | </indexterm>
|
---|
236 | </listitem>
|
---|
237 | </varlistentry>
|
---|
238 |
|
---|
239 | <varlistentry id="urxvtd">
|
---|
240 | <term><command>urxvtd</command></term>
|
---|
241 | <listitem>
|
---|
242 | <para>is the <command>urxvt</command> terminal daemon.</para>
|
---|
243 | <indexterm zone="rxvt-unicode urxvtd">
|
---|
244 | <primary sortas="b-urxvtd">urxvtd</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | <varlistentry id="urxvtc">
|
---|
250 | <term><command>urxvtc</command></term>
|
---|
251 | <listitem>
|
---|
252 | <para>controls the <command>urxvtd</command> daemon.</para>
|
---|
253 | <indexterm zone="rxvt-unicode urxvtc">
|
---|
254 | <primary sortas="b-urxvtc">urxvtc</primary>
|
---|
255 | </indexterm>
|
---|
256 | </listitem>
|
---|
257 | </varlistentry>
|
---|
258 |
|
---|
259 | </variablelist>
|
---|
260 |
|
---|
261 | </sect2>
|
---|
262 |
|
---|
263 | </sect1>
|
---|