source: xsoft/other/rxvt-unicode.xml@ 73d98d49

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 73d98d49 was 73d98d49, checked in by Ken Moffat <ken@…>, 4 years ago

Tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22707 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.5 KB
RevLine 
[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
32 <para><application>rxvt-unicode</application> is a clone of the terminal
[c9cb85c]33 emulator <application>rxvt</application>, an X Window System terminal
34 emulator which includes support for XFT and Unicode.</para>
[95f9972]35
[73d98d49]36 &lfs91_checked;
[bd32b6f]37
[95f9972]38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&rxvt-unicode-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&rxvt-unicode-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &rxvt-unicode-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &rxvt-unicode-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &rxvt-unicode-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &rxvt-unicode-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">rxvt-unicode Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
[adf6dd9a]63 <para role="required">
64 <xref linkend="x-window-system"/>
65 </para>
[e4faed3]66
[c9cb85c]67 <bridgehead renderas="sect4">Optional</bridgehead>
[e4faed3]68 <para role="optional">
[b5e907b2]69 <xref linkend="gdk-pixbuf"/> (for background images) and
[616dc91]70 <xref linkend="startup-notification"/>
[adf6dd9a]71 </para>
[c9cb85c]72
[95f9972]73 <para condition="html" role="usernotes">User Notes:
74 <ulink url='&blfs-wiki;/rxvt-unicode'/></para>
75
76 </sect2>
77
78 <sect2 role="installation">
79 <title>Installation of rxvt-unicode</title>
80
81 <para>Install <application>rxvt-unicode</application> by running the
82 following commands:</para>
83
[cfa182f]84<screen><userinput>./configure --prefix=/usr --enable-everything &amp;&amp;
[95f9972]85make</userinput></screen>
86
87 <para>This package does not come with a test suite.</para>
88
89 <para>Now, as the <systemitem class="username">root</systemitem>
90 user:</para>
91
92<screen role="root"><userinput>make install</userinput></screen>
93
94 </sect2>
95
96 <sect2 role="commands">
97 <title>Command Explanations</title>
98
[410e228b]99 <para><parameter>--enable-everything</parameter>: Add support for all
[95f9972]100 non-multichoice options. Details about the different options can be found in
101 the file <filename>README.configure</filename>.</para>
[fd7e0ed6]102
[95f9972]103 <para><option>--disable-xft</option>: Remove support for Xft fonts.</para>
104
[c9cb85c]105 <para><option>--disable-perl</option>: Disable the embedded
[d357f93]106 <application>Perl</application> interpreter.</para>
[95f9972]107
[c9cb85c]108 <para><option>--disable-afterimage</option>: Remove support for
109 libAfterImage.</para>
110
[95f9972]111 </sect2>
112
113 <sect2 role="configuration">
114 <title>Configuring rxvt-unicode</title>
115
[6ec7963]116 <para>The <application>rxvt-unicode</application> terminal emulator uses the
117 resource class <classname>URxvt</classname> and the resource name
118 <classname>urxvt</classname>. You can add X resource definitions to a user's
119 <filename>~/.Xresources</filename> or <filename>~/.Xdefaults</filename>
120 files or to the system-wide <filename>/etc/X11/app-defaults/URxvt</filename>
121 file. The following example will load the <classname>matcher</classname>
[d357f93]122 <application>Perl</application> extension (assuming
123 <application>Perl</application> support wasn't disabled), which enables a
[6ec7963]124 left button click to open an underlined URL in the specified browser, sets a
[9bdfbde2]125 background and foreground color and loads an Xft font (as the
126 <systemitem class="username">root</systemitem> user):</para>
[d357f93]127
[9bdfbde2]128<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/URxvt &lt;&lt; "EOF"
[6ec7963]129<literal>! Use the specified colour as the windows background colour [default white]
130URxvt*background: black
131
132! Use the specified colour as the windows foreground colour [default black]
133URxvt*foreground: yellow
134
135! Select the fonts to be used. This is a comma separated list of font names
136URxvt*font: xft:Monospace:pixelsize=18
137
138! Comma-separated list(s) of perl extension scripts (default: "default")
139URxvt*perl-ext: matcher
140
141! Specifies the program to be started with a URL argument. Used by
142URxvt*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.
149URxvt*matcher.button: 1</literal>
[95f9972]150EOF</userinput></screen>
[fd7e0ed6]151
[6ec7963]152 <para>In order to view the defined X resources, issue:</para>
153
[fbbc908]154<screen role="nodump"><userinput>xrdb -query</userinput></screen>
[6ec7963]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
[fbbc908]160<screen role="nodump"><userinput>xrdb -merge ~/.Xresources</userinput></screen>
[6ec7963]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
[fbbc908]174<screen role="nodump"><userinput><literal># Start the urxvtd daemon
[d357f93]175urxvtd -q -f -o &amp;</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
[dac5077]184<screen role="root"><userinput>cat &gt; /usr/share/applications/urxvt.desktop &lt;&lt; "EOF" &amp;&amp;
[f5125859]185<literal>[Desktop Entry]
186Encoding=UTF-8
187Name=Rxvt-Unicode Terminal
188Comment=Use the command line
189GenericName=Terminal
[f3429309]190Exec=urxvt
[f5125859]191Terminal=false
192Type=Application
193Icon=utilities-terminal
194Categories=GTK;Utility;TerminalEmulator;
195#StartupNotify=true
196Keywords=console;command line;execute;</literal>
197EOF
198
199update-desktop-database -q</userinput></screen>
200
201 <para>For that, you need <xref linkend="desktop-file-utils"/> and at least
[88bb10f]202 one of <xref linkend="gnome-icon-theme"/>, <xref linkend="oxygen-icons5"/>
[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>
Note: See TracBrowser for help on using the repository browser.