source: xsoft/other/rxvt-unicode.xml@ 8027c69

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 8027c69 was 8027c69, checked in by Ken Moffat <ken@…>, 7 years ago

A few tags.

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

  • Property mode set to 100644
File size: 9.4 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
[8027c69]36 &lfs80_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
125 background and foreground color and loads an Xft font:</para>
[d357f93]126
127<screen><userinput>cat &gt;&gt; /etc/X11/app-defaults/URxvt &lt;&lt; "EOF"
[6ec7963]128<literal>! Use the specified colour as the windows background colour [default white]
129URxvt*background: black
130
131! Use the specified colour as the windows foreground colour [default black]
132URxvt*foreground: yellow
133
134! Select the fonts to be used. This is a comma separated list of font names
135URxvt*font: xft:Monospace:pixelsize=18
136
137! Comma-separated list(s) of perl extension scripts (default: "default")
138URxvt*perl-ext: matcher
139
140! Specifies the program to be started with a URL argument. Used by
141URxvt*url-launcher: firefox
142
143! When clicked with the mouse button specified in the "matcher.button" resource
144! (default 2, or middle), the program specified in the "matcher.launcher"
145! resource (default, the "url-launcher" resource, "sensible-browser") will be
146! started with the matched text as first argument.
147! Below, default modified to mouse left button.
148URxvt*matcher.button: 1</literal>
[95f9972]149EOF</userinput></screen>
[fd7e0ed6]150
[6ec7963]151 <para>In order to view the defined X resources, issue:</para>
152
153<screen><userinput>xrdb -query</userinput></screen>
154
155 <para>In order to add the modifications of the new user configuration file,
156 keeping previously X configurations (of course, unless you are changing any
157 on previously define), issue:</para>
158
159<screen><userinput>xrdb -merge ~/.Xresources</userinput></screen>
160
[c9cb85c]161 <para>The <application>rxvt-unicode</application> application can also run
162 in a daemon mode, which makes it possible to open multiple terminal windows
163 within the same process. The <command>urxvtc</command> client then connects
164 to the <command>urxvtd</command> daemon and requests a new terminal window.
[d357f93]165 Use this option with caution. If the daemon crashes, all the running
166 processes in the terminal windows are terminated.</para>
[fd7e0ed6]167
[d357f93]168 <para>You can start the <command>urxvtd</command> daemon in the system or
169 personal startup <command>X</command> session script (e.g.,
[c9cb85c]170 <filename>~/.xinitrc</filename>) by adding the following lines near the top
171 of the script:</para>
[fd7e0ed6]172
[95f9972]173<screen><userinput><literal># Start the urxvtd daemon
[d357f93]174urxvtd -q -f -o &amp;</literal></userinput></screen>
[95f9972]175
176 <para>For more information, examine the <command>urxvt</command>,
[c9cb85c]177 <command>urxvtd</command>, <command>urxvtc</command>, and
178 <filename>urxvtperl</filename> man pages.</para>
[95f9972]179
[f5125859]180 <para>If you use a Desktop Environment, a menu entry can be included,
181 issuing, as the <systemitem class="username">root</systemitem> user:</para>
182
183<screen><userinput>cat &gt; /usr/share/applications/urxvt.desktop &lt;&lt; "EOF" &amp;&amp;
184<literal>[Desktop Entry]
185Encoding=UTF-8
186Name=Rxvt-Unicode Terminal
187Comment=Use the command line
188GenericName=Terminal
[f3429309]189Exec=urxvt
[f5125859]190Terminal=false
191Type=Application
192Icon=utilities-terminal
193Categories=GTK;Utility;TerminalEmulator;
194#StartupNotify=true
195Keywords=console;command line;execute;</literal>
196EOF
197
198update-desktop-database -q</userinput></screen>
199
200 <para>For that, you need <xref linkend="desktop-file-utils"/> and at least
[88bb10f]201 one of <xref linkend="gnome-icon-theme"/>, <xref linkend="oxygen-icons5"/>
[76acea4a]202 and <xref linkend="lxde-icon-theme"/>. Uncomment the line with
203 <quote>StartupNotify=true</quote> if <xref linkend="startup-notification"/>
204 is installed.</para>
[f5125859]205
[95f9972]206 </sect2>
207
208 <sect2 role="content">
209 <title>Contents</title>
210
211 <segmentedlist>
212 <segtitle>Installed Programs</segtitle>
213 <segtitle>Installed Libraries</segtitle>
[d0b331c]214 <segtitle>Installed Directory</segtitle>
[95f9972]215
216 <seglistitem>
[d357f93]217 <seg>urxvt, urxvtd, and urxvtc</seg>
[95f9972]218 <seg>Many <application>Perl</application> extensions located under
219 <filename class='directory'>/usr/lib/urxvt/perl</filename></seg>
220 <seg>/usr/lib/urxvt</seg>
221 </seglistitem>
222 </segmentedlist>
223
224 <variablelist>
225 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
226 <?dbfo list-presentation="list"?>
227 <?dbhtml list-presentation="table"?>
228
229 <varlistentry id="urxvt-bin">
230 <term><command>urxvt</command></term>
231 <listitem>
232 <para>is a terminal emulator for the X Window System.</para>
233 <indexterm zone="rxvt-unicode urxvt-bin">
234 <primary sortas="b-urxvt-bin">urxvt</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="urxvtd">
240 <term><command>urxvtd</command></term>
241 <listitem>
[d357f93]242 <para>is the <command>urxvt</command> terminal daemon.</para>
[95f9972]243 <indexterm zone="rxvt-unicode urxvtd">
244 <primary sortas="b-urxvtd">urxvtd</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
248
249 <varlistentry id="urxvtc">
250 <term><command>urxvtc</command></term>
251 <listitem>
[d357f93]252 <para>controls the <command>urxvtd</command> daemon.</para>
[95f9972]253 <indexterm zone="rxvt-unicode urxvtc">
[de2551f]254 <primary sortas="b-urxvtc">urxvtc</primary>
[95f9972]255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 </variablelist>
260
261 </sect2>
262
263</sect1>
Note: See TracBrowser for help on using the repository browser.