[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[95f9972] | 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 |
|
---|
[0a63d2e] | 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 " ">
|
---|
[e8e00904] | 9 | <!ENTITY rxvt-unicode-md5sum "3d0ec83705c9b9ff301a4b9965b3cd9f">
|
---|
[fb26237] | 10 | <!ENTITY rxvt-unicode-size "860 KB">
|
---|
[e8e00904] | 11 | <!ENTITY rxvt-unicode-buildsize "22 MB">
|
---|
[7715803] | 12 | <!ENTITY rxvt-unicode-time "0.2 SBU">
|
---|
[95f9972] | 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 |
|
---|
[622c1021] | 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>
|
---|
[95f9972] | 33 |
|
---|
[0d715637] | 34 | &lfs122_checked;
|
---|
[bd32b6fd] | 35 |
|
---|
[1af702d2] | 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>
|
---|
[48771ae] | 43 | and running the test suites, tests in <application>bash</application> and
|
---|
[1af702d2] | 44 | <application>check</application> which test raising this signal will fail.
|
---|
| 45 | </para>
|
---|
| 46 | </note>
|
---|
| 47 |
|
---|
[95f9972] | 48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 49 | <itemizedlist spacing="compact">
|
---|
| 50 | <listitem>
|
---|
[622c1021] | 51 | <para>
|
---|
| 52 | Download (HTTP): <ulink url="&rxvt-unicode-download-http;"/>
|
---|
| 53 | </para>
|
---|
[95f9972] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[622c1021] | 56 | <para>
|
---|
| 57 | Download (FTP): <ulink url="&rxvt-unicode-download-ftp;"/>
|
---|
| 58 | </para>
|
---|
[95f9972] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[622c1021] | 61 | <para>
|
---|
| 62 | Download MD5 sum: &rxvt-unicode-md5sum;
|
---|
| 63 | </para>
|
---|
[95f9972] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[622c1021] | 66 | <para>
|
---|
| 67 | Download size: &rxvt-unicode-size;
|
---|
| 68 | </para>
|
---|
[95f9972] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[622c1021] | 71 | <para>
|
---|
| 72 | Estimated disk space required: &rxvt-unicode-buildsize;
|
---|
| 73 | </para>
|
---|
[95f9972] | 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
[622c1021] | 76 | <para>
|
---|
| 77 | Estimated build time: &rxvt-unicode-time;
|
---|
| 78 | </para>
|
---|
[95f9972] | 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect3">rxvt-unicode Dependencies</bridgehead>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[adf6dd9a] | 85 | <para role="required">
|
---|
[5431aad] | 86 | <xref linkend="libptytty"/> and
|
---|
[adf6dd9a] | 87 | <xref linkend="x-window-system"/>
|
---|
| 88 | </para>
|
---|
[e4faed3] | 89 |
|
---|
[c9cb85c] | 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e4faed3] | 91 | <para role="optional">
|
---|
[b5e907b2] | 92 | <xref linkend="gdk-pixbuf"/> (for background images) and
|
---|
[616dc91] | 93 | <xref linkend="startup-notification"/>
|
---|
[adf6dd9a] | 94 | </para>
|
---|
[c9cb85c] | 95 |
|
---|
[95f9972] | 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of rxvt-unicode</title>
|
---|
| 101 |
|
---|
[622c1021] | 102 | <para>
|
---|
| 103 | Install <application>rxvt-unicode</application> by running the
|
---|
| 104 | following commands:
|
---|
| 105 | </para>
|
---|
[95f9972] | 106 |
|
---|
[88d804a3] | 107 | <screen><userinput>./configure --prefix=/usr --enable-everything &&
|
---|
[95f9972] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
[622c1021] | 110 | <para>
|
---|
| 111 | This package does not come with a test suite.
|
---|
| 112 | </para>
|
---|
[95f9972] | 113 |
|
---|
[622c1021] | 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
[95f9972] | 117 |
|
---|
| 118 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
[622c1021] | 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>
|
---|
[fd7e0ed6] | 130 |
|
---|
[622c1021] | 131 | <para>
|
---|
| 132 | <option>--disable-xft</option>: Remove support for Xft fonts.
|
---|
| 133 | </para>
|
---|
[95f9972] | 134 |
|
---|
[622c1021] | 135 | <para>
|
---|
| 136 | <option>--disable-perl</option>: Disable the embedded
|
---|
| 137 | <application>Perl</application> interpreter.
|
---|
| 138 | </para>
|
---|
[95f9972] | 139 |
|
---|
[622c1021] | 140 | <para>
|
---|
| 141 | <option>--disable-afterimage</option>: Remove support for
|
---|
| 142 | libAfterImage.
|
---|
| 143 | </para>
|
---|
[c9cb85c] | 144 |
|
---|
[95f9972] | 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="configuration">
|
---|
| 148 | <title>Configuring rxvt-unicode</title>
|
---|
| 149 |
|
---|
[622c1021] | 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>
|
---|
[d357f93] | 164 |
|
---|
[9bdfbde2] | 165 | <screen role="root"><userinput>cat >> /etc/X11/app-defaults/URxvt << "EOF"
|
---|
[6ec7963] | 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>
|
---|
[95f9972] | 187 | EOF</userinput></screen>
|
---|
[fd7e0ed6] | 188 |
|
---|
[622c1021] | 189 | <para>
|
---|
| 190 | In order to view the defined X resources, issue:
|
---|
| 191 | </para>
|
---|
[6ec7963] | 192 |
|
---|
[fbbc908] | 193 | <screen role="nodump"><userinput>xrdb -query</userinput></screen>
|
---|
[6ec7963] | 194 |
|
---|
[622c1021] | 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>
|
---|
[6ec7963] | 200 |
|
---|
[fbbc908] | 201 | <screen role="nodump"><userinput>xrdb -merge ~/.Xresources</userinput></screen>
|
---|
[6ec7963] | 202 |
|
---|
[622c1021] | 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>
|
---|
[fd7e0ed6] | 212 |
|
---|
[622c1021] | 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>
|
---|
[fd7e0ed6] | 219 |
|
---|
[fbbc908] | 220 | <screen role="nodump"><userinput><literal># Start the urxvtd daemon
|
---|
[d357f93] | 221 | urxvtd -q -f -o &</literal></userinput></screen>
|
---|
[95f9972] | 222 |
|
---|
[622c1021] | 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>
|
---|
[95f9972] | 228 |
|
---|
[622c1021] | 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>
|
---|
[f5125859] | 233 |
|
---|
[dac5077] | 234 | <screen role="root"><userinput>cat > /usr/share/applications/urxvt.desktop << "EOF" &&
|
---|
[f5125859] | 235 | <literal>[Desktop Entry]
|
---|
| 236 | Encoding=UTF-8
|
---|
| 237 | Name=Rxvt-Unicode Terminal
|
---|
| 238 | Comment=Use the command line
|
---|
| 239 | GenericName=Terminal
|
---|
[f3429309] | 240 | Exec=urxvt
|
---|
[f5125859] | 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 |
|
---|
[622c1021] | 251 | <para>
|
---|
| 252 | For that, you need <xref linkend="desktop-file-utils"/> and at least
|
---|
[14e7e0b] | 253 | one of <xref linkend="gnome-icon-theme"/>, <xref linkend="oxygen-icons"/>
|
---|
[622c1021] | 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>
|
---|
[f5125859] | 258 |
|
---|
[95f9972] | 259 | </sect2>
|
---|
| 260 |
|
---|
| 261 | <sect2 role="content">
|
---|
| 262 | <title>Contents</title>
|
---|
| 263 |
|
---|
| 264 | <segmentedlist>
|
---|
| 265 | <segtitle>Installed Programs</segtitle>
|
---|
| 266 | <segtitle>Installed Libraries</segtitle>
|
---|
[d0b331c] | 267 | <segtitle>Installed Directory</segtitle>
|
---|
[95f9972] | 268 |
|
---|
| 269 | <seglistitem>
|
---|
[d357f93] | 270 | <seg>urxvt, urxvtd, and urxvtc</seg>
|
---|
[95f9972] | 271 | <seg>Many <application>Perl</application> extensions located under
|
---|
[4c24eb0a] | 272 | <filename class="directory">/usr/lib/urxvt/perl</filename></seg>
|
---|
[95f9972] | 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>
|
---|
[622c1021] | 285 | <para>
|
---|
[4c24eb0a] | 286 | is a terminal emulator for the X Window System
|
---|
[622c1021] | 287 | </para>
|
---|
[95f9972] | 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>
|
---|
[622c1021] | 297 | <para>
|
---|
[4c24eb0a] | 298 | is the <command>urxvt</command> terminal daemon
|
---|
[622c1021] | 299 | </para>
|
---|
[95f9972] | 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>
|
---|
[622c1021] | 309 | <para>
|
---|
[4c24eb0a] | 310 | controls the <command>urxvtd</command> daemon
|
---|
[622c1021] | 311 | </para>
|
---|
[95f9972] | 312 | <indexterm zone="rxvt-unicode urxvtc">
|
---|
[de2551f] | 313 | <primary sortas="b-urxvtc">urxvtc</primary>
|
---|
[95f9972] | 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
| 317 |
|
---|
| 318 | </variablelist>
|
---|
| 319 |
|
---|
| 320 | </sect2>
|
---|
| 321 |
|
---|
| 322 | </sect1>
|
---|