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