[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 " ">
|
---|
[fb26237] | 9 | <!ENTITY rxvt-unicode-md5sum "793ae8d59cf911fc6a93254234933d25">
|
---|
| 10 | <!ENTITY rxvt-unicode-size "860 KB">
|
---|
[5431aad] | 11 | <!ENTITY rxvt-unicode-buildsize "21 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 | <sect1info>
|
---|
[5af33308] | 19 | <date>$Date$</date>
|
---|
[95f9972] | 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>rxvt-unicode-&rxvt-unicode-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="rxvt-unicode">
|
---|
| 25 | <primary sortas="a-rxvt-unicode">rxvt-unicode</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to rxvt-unicode</title>
|
---|
| 30 |
|
---|
[622c1021] | 31 | <para>
|
---|
| 32 | <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.
|
---|
| 35 | </para>
|
---|
[95f9972] | 36 |
|
---|
[2e988363] | 37 | &lfs111_checked;
|
---|
[bd32b6fd] | 38 |
|
---|
[1af702d2] | 39 | <note>
|
---|
| 40 | <para>
|
---|
| 41 | <!-- https://github.com/Perl/perl5/issues/12349 -->
|
---|
| 42 | Please be aware that <application>rxvt-unicode</application> is
|
---|
| 43 | affected by an issue in <application>perl</application> where
|
---|
| 44 | the SIGFPE handler is set to SIG_IGN (i.e. the signal is ignored).
|
---|
| 45 | If you are building an LFS system from within <command>urxvt</command>
|
---|
| 46 | and running the testsuites, tests in <application>bash</application> and
|
---|
| 47 | <application>check</application> which test raising this signal will fail.
|
---|
| 48 | </para>
|
---|
| 49 | </note>
|
---|
| 50 |
|
---|
[95f9972] | 51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 52 | <itemizedlist spacing="compact">
|
---|
| 53 | <listitem>
|
---|
[622c1021] | 54 | <para>
|
---|
| 55 | Download (HTTP): <ulink url="&rxvt-unicode-download-http;"/>
|
---|
| 56 | </para>
|
---|
[95f9972] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[622c1021] | 59 | <para>
|
---|
| 60 | Download (FTP): <ulink url="&rxvt-unicode-download-ftp;"/>
|
---|
| 61 | </para>
|
---|
[95f9972] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[622c1021] | 64 | <para>
|
---|
| 65 | Download MD5 sum: &rxvt-unicode-md5sum;
|
---|
| 66 | </para>
|
---|
[95f9972] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[622c1021] | 69 | <para>
|
---|
| 70 | Download size: &rxvt-unicode-size;
|
---|
| 71 | </para>
|
---|
[95f9972] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[622c1021] | 74 | <para>
|
---|
| 75 | Estimated disk space required: &rxvt-unicode-buildsize;
|
---|
| 76 | </para>
|
---|
[95f9972] | 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
[622c1021] | 79 | <para>
|
---|
| 80 | Estimated build time: &rxvt-unicode-time;
|
---|
| 81 | </para>
|
---|
[95f9972] | 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect3">rxvt-unicode Dependencies</bridgehead>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[adf6dd9a] | 88 | <para role="required">
|
---|
[5431aad] | 89 | <xref linkend="libptytty"/> and
|
---|
[adf6dd9a] | 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 |
|
---|
[88d804a3] | 112 | <screen><userinput>./configure --prefix=/usr --enable-everything &&
|
---|
[95f9972] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[622c1021] | 115 | <para>
|
---|
| 116 | This package does not come with a test suite.
|
---|
| 117 | </para>
|
---|
[95f9972] | 118 |
|
---|
[622c1021] | 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[95f9972] | 122 |
|
---|
| 123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
[622c1021] | 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>
|
---|
[fd7e0ed6] | 135 |
|
---|
[622c1021] | 136 | <para>
|
---|
| 137 | <option>--disable-xft</option>: Remove support for Xft fonts.
|
---|
| 138 | </para>
|
---|
[95f9972] | 139 |
|
---|
[622c1021] | 140 | <para>
|
---|
| 141 | <option>--disable-perl</option>: Disable the embedded
|
---|
| 142 | <application>Perl</application> interpreter.
|
---|
| 143 | </para>
|
---|
[95f9972] | 144 |
|
---|
[622c1021] | 145 | <para>
|
---|
| 146 | <option>--disable-afterimage</option>: Remove support for
|
---|
| 147 | libAfterImage.
|
---|
| 148 | </para>
|
---|
[c9cb85c] | 149 |
|
---|
[95f9972] | 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2 role="configuration">
|
---|
| 153 | <title>Configuring rxvt-unicode</title>
|
---|
| 154 |
|
---|
[622c1021] | 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>
|
---|
[d357f93] | 169 |
|
---|
[9bdfbde2] | 170 | <screen role="root"><userinput>cat >> /etc/X11/app-defaults/URxvt << "EOF"
|
---|
[6ec7963] | 171 | <literal>! Use the specified colour as the windows background colour [default white]
|
---|
| 172 | URxvt*background: black
|
---|
| 173 |
|
---|
| 174 | ! Use the specified colour as the windows foreground colour [default black]
|
---|
| 175 | URxvt*foreground: yellow
|
---|
| 176 |
|
---|
| 177 | ! Select the fonts to be used. This is a comma separated list of font names
|
---|
| 178 | URxvt*font: xft:Monospace:pixelsize=18
|
---|
| 179 |
|
---|
| 180 | ! Comma-separated list(s) of perl extension scripts (default: "default")
|
---|
| 181 | URxvt*perl-ext: matcher
|
---|
| 182 |
|
---|
| 183 | ! Specifies the program to be started with a URL argument. Used by
|
---|
| 184 | URxvt*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.
|
---|
| 191 | URxvt*matcher.button: 1</literal>
|
---|
[95f9972] | 192 | EOF</userinput></screen>
|
---|
[fd7e0ed6] | 193 |
|
---|
[622c1021] | 194 | <para>
|
---|
| 195 | In order to view the defined X resources, issue:
|
---|
| 196 | </para>
|
---|
[6ec7963] | 197 |
|
---|
[fbbc908] | 198 | <screen role="nodump"><userinput>xrdb -query</userinput></screen>
|
---|
[6ec7963] | 199 |
|
---|
[622c1021] | 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>
|
---|
[6ec7963] | 205 |
|
---|
[fbbc908] | 206 | <screen role="nodump"><userinput>xrdb -merge ~/.Xresources</userinput></screen>
|
---|
[6ec7963] | 207 |
|
---|
[622c1021] | 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>
|
---|
[fd7e0ed6] | 217 |
|
---|
[622c1021] | 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>
|
---|
[fd7e0ed6] | 224 |
|
---|
[fbbc908] | 225 | <screen role="nodump"><userinput><literal># Start the urxvtd daemon
|
---|
[d357f93] | 226 | urxvtd -q -f -o &</literal></userinput></screen>
|
---|
[95f9972] | 227 |
|
---|
[622c1021] | 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>
|
---|
[95f9972] | 233 |
|
---|
[622c1021] | 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>
|
---|
[f5125859] | 238 |
|
---|
[dac5077] | 239 | <screen role="root"><userinput>cat > /usr/share/applications/urxvt.desktop << "EOF" &&
|
---|
[f5125859] | 240 | <literal>[Desktop Entry]
|
---|
| 241 | Encoding=UTF-8
|
---|
| 242 | Name=Rxvt-Unicode Terminal
|
---|
| 243 | Comment=Use the command line
|
---|
| 244 | GenericName=Terminal
|
---|
[f3429309] | 245 | Exec=urxvt
|
---|
[f5125859] | 246 | Terminal=false
|
---|
| 247 | Type=Application
|
---|
| 248 | Icon=utilities-terminal
|
---|
| 249 | Categories=GTK;Utility;TerminalEmulator;
|
---|
| 250 | #StartupNotify=true
|
---|
| 251 | Keywords=console;command line;execute;</literal>
|
---|
| 252 | EOF
|
---|
| 253 |
|
---|
| 254 | update-desktop-database -q</userinput></screen>
|
---|
| 255 |
|
---|
[622c1021] | 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>
|
---|
[f5125859] | 263 |
|
---|
[95f9972] | 264 | </sect2>
|
---|
| 265 |
|
---|
| 266 | <sect2 role="content">
|
---|
| 267 | <title>Contents</title>
|
---|
| 268 |
|
---|
| 269 | <segmentedlist>
|
---|
| 270 | <segtitle>Installed Programs</segtitle>
|
---|
| 271 | <segtitle>Installed Libraries</segtitle>
|
---|
[d0b331c] | 272 | <segtitle>Installed Directory</segtitle>
|
---|
[95f9972] | 273 |
|
---|
| 274 | <seglistitem>
|
---|
[d357f93] | 275 | <seg>urxvt, urxvtd, and urxvtc</seg>
|
---|
[95f9972] | 276 | <seg>Many <application>Perl</application> extensions located under
|
---|
[4c24eb0a] | 277 | <filename class="directory">/usr/lib/urxvt/perl</filename></seg>
|
---|
[95f9972] | 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>
|
---|
[622c1021] | 290 | <para>
|
---|
[4c24eb0a] | 291 | is a terminal emulator for the X Window System
|
---|
[622c1021] | 292 | </para>
|
---|
[95f9972] | 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>
|
---|
[622c1021] | 302 | <para>
|
---|
[4c24eb0a] | 303 | is the <command>urxvt</command> terminal daemon
|
---|
[622c1021] | 304 | </para>
|
---|
[95f9972] | 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>
|
---|
[622c1021] | 314 | <para>
|
---|
[4c24eb0a] | 315 | controls the <command>urxvtd</command> daemon
|
---|
[622c1021] | 316 | </para>
|
---|
[95f9972] | 317 | <indexterm zone="rxvt-unicode urxvtc">
|
---|
[de2551f] | 318 | <primary sortas="b-urxvtc">urxvtc</primary>
|
---|
[95f9972] | 319 | </indexterm>
|
---|
| 320 | </listitem>
|
---|
| 321 | </varlistentry>
|
---|
| 322 |
|
---|
| 323 | </variablelist>
|
---|
| 324 |
|
---|
| 325 | </sect2>
|
---|
| 326 |
|
---|
| 327 | </sect1>
|
---|