[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 |
|
---|
[d7d743f0] | 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-http "&sources-anduin-http;/rxvt-unicode/rxvt-unicode-&rxvt-unicode-version;.tar.bz2">
|
---|
| 9 | <!ENTITY rxvt-unicode-download-ftp "&sources-anduin-ftp;/rxvt-unicode/rxvt-unicode-&rxvt-unicode-version;.tar.bz2">
|
---|
[f5125859] | 10 | <!ENTITY rxvt-unicode-md5sum "a9a06c608258c5fd247c3725d8f44582">
|
---|
| 11 | <!ENTITY rxvt-unicode-size "904 KB">
|
---|
| 12 | <!ENTITY rxvt-unicode-buildsize "26 MB">
|
---|
[7715803] | 13 | <!ENTITY rxvt-unicode-time "0.2 SBU">
|
---|
[95f9972] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="rxvt-unicode" xreflabel="rxvt-unicode-&rxvt-unicode-version;">
|
---|
| 17 | <?dbhtml filename="rxvt-unicode.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
[5af33308] | 21 | <date>$Date$</date>
|
---|
[95f9972] | 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>rxvt-unicode-&rxvt-unicode-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="rxvt-unicode">
|
---|
| 27 | <primary sortas="a-rxvt-unicode">rxvt-unicode</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to rxvt-unicode</title>
|
---|
| 32 |
|
---|
| 33 | <para><application>rxvt-unicode</application> is a clone of the terminal
|
---|
[c9cb85c] | 34 | emulator <application>rxvt</application>, an X Window System terminal
|
---|
| 35 | emulator which includes support for XFT and Unicode.</para>
|
---|
[95f9972] | 36 |
|
---|
[645e6b0] | 37 | &lfs79_checked;
|
---|
[bd32b6fd] | 38 |
|
---|
[95f9972] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&rxvt-unicode-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&rxvt-unicode-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &rxvt-unicode-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &rxvt-unicode-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &rxvt-unicode-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &rxvt-unicode-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">rxvt-unicode Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[adf6dd9a] | 64 | <para role="required">
|
---|
| 65 | <xref linkend="x-window-system"/>
|
---|
| 66 | </para>
|
---|
[e4faed3] | 67 |
|
---|
[c9cb85c] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[e4faed3] | 69 | <para role="optional">
|
---|
[b5e907b2] | 70 | <xref linkend="gdk-pixbuf"/> (for background images) and
|
---|
[616dc91] | 71 | <xref linkend="startup-notification"/>
|
---|
[adf6dd9a] | 72 | </para>
|
---|
[c9cb85c] | 73 |
|
---|
[95f9972] | 74 | <para condition="html" role="usernotes">User Notes:
|
---|
| 75 | <ulink url='&blfs-wiki;/rxvt-unicode'/></para>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of rxvt-unicode</title>
|
---|
| 81 |
|
---|
| 82 | <para>Install <application>rxvt-unicode</application> by running the
|
---|
| 83 | following commands:</para>
|
---|
| 84 |
|
---|
[cfa182f] | 85 | <screen><userinput>./configure --prefix=/usr --enable-everything &&
|
---|
[95f9972] | 86 | make</userinput></screen>
|
---|
| 87 |
|
---|
| 88 | <para>This package does not come with a test suite.</para>
|
---|
| 89 |
|
---|
| 90 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 91 | user:</para>
|
---|
| 92 |
|
---|
| 93 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="commands">
|
---|
| 98 | <title>Command Explanations</title>
|
---|
| 99 |
|
---|
[410e228b] | 100 | <para><parameter>--enable-everything</parameter>: Add support for all
|
---|
[95f9972] | 101 | non-multichoice options. Details about the different options can be found in
|
---|
| 102 | the file <filename>README.configure</filename>.</para>
|
---|
[fd7e0ed6] | 103 |
|
---|
[95f9972] | 104 | <para><option>--disable-xft</option>: Remove support for Xft fonts.</para>
|
---|
| 105 |
|
---|
[c9cb85c] | 106 | <para><option>--disable-perl</option>: Disable the embedded
|
---|
[d357f93] | 107 | <application>Perl</application> interpreter.</para>
|
---|
[95f9972] | 108 |
|
---|
[c9cb85c] | 109 | <para><option>--disable-afterimage</option>: Remove support for
|
---|
| 110 | libAfterImage.</para>
|
---|
| 111 |
|
---|
[95f9972] | 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="configuration">
|
---|
| 115 | <title>Configuring rxvt-unicode</title>
|
---|
| 116 |
|
---|
[6ec7963] | 117 | <para>The <application>rxvt-unicode</application> terminal emulator uses the
|
---|
| 118 | resource class <classname>URxvt</classname> and the resource name
|
---|
| 119 | <classname>urxvt</classname>. You can add X resource definitions to a user's
|
---|
| 120 | <filename>~/.Xresources</filename> or <filename>~/.Xdefaults</filename>
|
---|
| 121 | files or to the system-wide <filename>/etc/X11/app-defaults/URxvt</filename>
|
---|
| 122 | file. The following example will load the <classname>matcher</classname>
|
---|
[d357f93] | 123 | <application>Perl</application> extension (assuming
|
---|
| 124 | <application>Perl</application> support wasn't disabled), which enables a
|
---|
[6ec7963] | 125 | left button click to open an underlined URL in the specified browser, sets a
|
---|
| 126 | background and foreground color and loads an Xft font:</para>
|
---|
[d357f93] | 127 |
|
---|
| 128 | <screen><userinput>cat >> /etc/X11/app-defaults/URxvt << "EOF"
|
---|
[6ec7963] | 129 | <literal>! Use the specified colour as the windows background colour [default white]
|
---|
| 130 | URxvt*background: black
|
---|
| 131 |
|
---|
| 132 | ! Use the specified colour as the windows foreground colour [default black]
|
---|
| 133 | URxvt*foreground: yellow
|
---|
| 134 |
|
---|
| 135 | ! Select the fonts to be used. This is a comma separated list of font names
|
---|
| 136 | URxvt*font: xft:Monospace:pixelsize=18
|
---|
| 137 |
|
---|
| 138 | ! Comma-separated list(s) of perl extension scripts (default: "default")
|
---|
| 139 | URxvt*perl-ext: matcher
|
---|
| 140 |
|
---|
| 141 | ! Specifies the program to be started with a URL argument. Used by
|
---|
| 142 | URxvt*url-launcher: firefox
|
---|
| 143 |
|
---|
| 144 | ! When clicked with the mouse button specified in the "matcher.button" resource
|
---|
| 145 | ! (default 2, or middle), the program specified in the "matcher.launcher"
|
---|
| 146 | ! resource (default, the "url-launcher" resource, "sensible-browser") will be
|
---|
| 147 | ! started with the matched text as first argument.
|
---|
| 148 | ! Below, default modified to mouse left button.
|
---|
| 149 | URxvt*matcher.button: 1</literal>
|
---|
[95f9972] | 150 | EOF</userinput></screen>
|
---|
[fd7e0ed6] | 151 |
|
---|
[6ec7963] | 152 | <para>In order to view the defined X resources, issue:</para>
|
---|
| 153 |
|
---|
| 154 | <screen><userinput>xrdb -query</userinput></screen>
|
---|
| 155 |
|
---|
| 156 | <para>In order to add the modifications of the new user configuration file,
|
---|
| 157 | keeping previously X configurations (of course, unless you are changing any
|
---|
| 158 | on previously define), issue:</para>
|
---|
| 159 |
|
---|
| 160 | <screen><userinput>xrdb -merge ~/.Xresources</userinput></screen>
|
---|
| 161 |
|
---|
[c9cb85c] | 162 | <para>The <application>rxvt-unicode</application> application can also run
|
---|
| 163 | in a daemon mode, which makes it possible to open multiple terminal windows
|
---|
| 164 | within the same process. The <command>urxvtc</command> client then connects
|
---|
| 165 | to the <command>urxvtd</command> daemon and requests a new terminal window.
|
---|
[d357f93] | 166 | Use this option with caution. If the daemon crashes, all the running
|
---|
| 167 | processes in the terminal windows are terminated.</para>
|
---|
[fd7e0ed6] | 168 |
|
---|
[d357f93] | 169 | <para>You can start the <command>urxvtd</command> daemon in the system or
|
---|
| 170 | personal startup <command>X</command> session script (e.g.,
|
---|
[c9cb85c] | 171 | <filename>~/.xinitrc</filename>) by adding the following lines near the top
|
---|
| 172 | of the script:</para>
|
---|
[fd7e0ed6] | 173 |
|
---|
[95f9972] | 174 | <screen><userinput><literal># Start the urxvtd daemon
|
---|
[d357f93] | 175 | urxvtd -q -f -o &</literal></userinput></screen>
|
---|
[95f9972] | 176 |
|
---|
| 177 | <para>For more information, examine the <command>urxvt</command>,
|
---|
[c9cb85c] | 178 | <command>urxvtd</command>, <command>urxvtc</command>, and
|
---|
| 179 | <filename>urxvtperl</filename> man pages.</para>
|
---|
[95f9972] | 180 |
|
---|
[f5125859] | 181 | <para>If you use a Desktop Environment, a menu entry can be included,
|
---|
| 182 | issuing, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 183 |
|
---|
| 184 | <screen><userinput>cat > /usr/share/applications/urxvt.desktop << "EOF" &&
|
---|
| 185 | <literal>[Desktop Entry]
|
---|
| 186 | Encoding=UTF-8
|
---|
| 187 | Name=Rxvt-Unicode Terminal
|
---|
| 188 | Comment=Use the command line
|
---|
| 189 | GenericName=Terminal
|
---|
[f3429309] | 190 | Exec=urxvt
|
---|
[f5125859] | 191 | Terminal=false
|
---|
| 192 | Type=Application
|
---|
| 193 | Icon=utilities-terminal
|
---|
| 194 | Categories=GTK;Utility;TerminalEmulator;
|
---|
| 195 | #StartupNotify=true
|
---|
| 196 | Keywords=console;command line;execute;</literal>
|
---|
| 197 | EOF
|
---|
| 198 |
|
---|
| 199 | update-desktop-database -q</userinput></screen>
|
---|
| 200 |
|
---|
| 201 | <para>For that, you need <xref linkend="desktop-file-utils"/> and at least
|
---|
| 202 | one of <xref linkend="gnome-icon-theme"/>, <xref linkend="oxygen-icons"/>
|
---|
[76acea4a] | 203 | and <xref linkend="lxde-icon-theme"/>. Uncomment the line with
|
---|
| 204 | <quote>StartupNotify=true</quote> if <xref linkend="startup-notification"/>
|
---|
| 205 | is installed.</para>
|
---|
[f5125859] | 206 |
|
---|
[95f9972] | 207 | </sect2>
|
---|
| 208 |
|
---|
| 209 | <sect2 role="content">
|
---|
| 210 | <title>Contents</title>
|
---|
| 211 |
|
---|
| 212 | <segmentedlist>
|
---|
| 213 | <segtitle>Installed Programs</segtitle>
|
---|
| 214 | <segtitle>Installed Libraries</segtitle>
|
---|
[d0b331c] | 215 | <segtitle>Installed Directory</segtitle>
|
---|
[95f9972] | 216 |
|
---|
| 217 | <seglistitem>
|
---|
[d357f93] | 218 | <seg>urxvt, urxvtd, and urxvtc</seg>
|
---|
[95f9972] | 219 | <seg>Many <application>Perl</application> extensions located under
|
---|
| 220 | <filename class='directory'>/usr/lib/urxvt/perl</filename></seg>
|
---|
| 221 | <seg>/usr/lib/urxvt</seg>
|
---|
| 222 | </seglistitem>
|
---|
| 223 | </segmentedlist>
|
---|
| 224 |
|
---|
| 225 | <variablelist>
|
---|
| 226 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 227 | <?dbfo list-presentation="list"?>
|
---|
| 228 | <?dbhtml list-presentation="table"?>
|
---|
| 229 |
|
---|
| 230 | <varlistentry id="urxvt-bin">
|
---|
| 231 | <term><command>urxvt</command></term>
|
---|
| 232 | <listitem>
|
---|
| 233 | <para>is a terminal emulator for the X Window System.</para>
|
---|
| 234 | <indexterm zone="rxvt-unicode urxvt-bin">
|
---|
| 235 | <primary sortas="b-urxvt-bin">urxvt</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="urxvtd">
|
---|
| 241 | <term><command>urxvtd</command></term>
|
---|
| 242 | <listitem>
|
---|
[d357f93] | 243 | <para>is the <command>urxvt</command> terminal daemon.</para>
|
---|
[95f9972] | 244 | <indexterm zone="rxvt-unicode urxvtd">
|
---|
| 245 | <primary sortas="b-urxvtd">urxvtd</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
| 250 | <varlistentry id="urxvtc">
|
---|
| 251 | <term><command>urxvtc</command></term>
|
---|
| 252 | <listitem>
|
---|
[d357f93] | 253 | <para>controls the <command>urxvtd</command> daemon.</para>
|
---|
[95f9972] | 254 | <indexterm zone="rxvt-unicode urxvtc">
|
---|
[de2551f] | 255 | <primary sortas="b-urxvtc">urxvtc</primary>
|
---|
[95f9972] | 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | </variablelist>
|
---|
| 261 |
|
---|
| 262 | </sect2>
|
---|
| 263 |
|
---|
| 264 | </sect1>
|
---|