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