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