パッケージ構成
/usr/lib/urxvt/perl
配下に数多くの Perl 拡張ライブラリ。
rxvt-unicode は端末エミュレーター rxvt のクローンです。 X ウィンドウシステムにおける端末エミュレーターであり、XFT や Unicode のサポートを含みます。
LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。
Please be aware that rxvt-unicode is affected by an issue in perl where the SIGFPE handler is set to SIG_IGN (i.e. the signal is ignored). If you are building an LFS system from within urxvt and running the test suites, tests in bash and check which test raising this signal will fail.
ダウンロード (HTTP): http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-9.31.tar.bz2
ダウンロード MD5 sum: 3d0ec83705c9b9ff301a4b9965b3cd9f
ダウンロードサイズ: 860 KB
必要ディスク容量: 22 MB
概算ビルド時間: 0.2 SBU
gdk-pixbuf-2.42.10 (バックグラウンドイメージのため), startup-notification-0.12
以下のコマンドを実行して rxvt-unicode をインストールします。
./configure --prefix=/usr --enable-everything && make
このパッケージにテストスイートはありません。
root
ユーザーになって以下を実行します。
make install
--enable-everything
: Add
support for all non-multichoice options. Details about the
different options can be found in the file README.configure
.
--disable-xft
: Xft フォントへのサポートを無効にします。
--disable-perl
: 埋め込みの Perl インタープリターを無効にします。
--disable-afterimage
: libAfterImage
へのサポートを無効にします。
The rxvt-unicode terminal emulator
uses the resource class URxvt
and
the resource name urxvt
. You can add
X resource definitions to a user's ~/.Xresources
or ~/.Xdefaults
files or to the system-wide
/etc/X11/app-defaults/URxvt
file. The
following example will load the matcher
Perl
extension (assuming Perl support
wasn't disabled), which enables a left button click to open an
underlined URL in the specified browser, sets a background and
foreground color and loads an Xft font (as the root
user):
cat >> /etc/X11/app-defaults/URxvt << "EOF"
! Use the specified colour as the windows background colour [default white]
URxvt*background: black
! Use the specified colour as the windows foreground colour [default black]
URxvt*foreground: yellow
! Select the fonts to be used. This is a comma separated list of font names
URxvt*font: xft:Monospace:pixelsize=18
! Comma-separated list(s) of perl extension scripts (default: "default")
URxvt*perl-ext: matcher
! Specifies the program to be started with a URL argument. Used by
URxvt*url-launcher: firefox
! When clicked with the mouse button specified in the "matcher.button" resource
! (default 2, or middle), the program specified in the "matcher.launcher"
! resource (default, the "url-launcher" resource, "sensible-browser") will be
! started with the matched text as first argument.
! Below, default modified to mouse left button.
URxvt*matcher.button: 1
EOF
In order to view the defined X resources, issue:
xrdb -query
In order to add the modifications of the new user configuration file, keeping previously X configurations (of course, unless you are changing any on previously define), issue:
xrdb -merge ~/.Xresources
The rxvt-unicode application can also run in a daemon mode, which makes it possible to open multiple terminal windows within the same process. The urxvtc client then connects to the urxvtd daemon and requests a new terminal window. Use this option with caution. If the daemon crashes, all the running processes in the terminal windows are terminated.
You can start the urxvtd daemon in the system or
personal startup X
session script (e.g., ~/.xinitrc
) by
adding the following lines near the top of the script:
# Start the urxvtd daemon
urxvtd -q -f -o &
For more information, examine the urxvt, urxvtd, urxvtc, and urxvtperl
man pages.
If you use a Desktop Environment, a menu entry can be included,
issuing, as the root
user:
cat > /usr/share/applications/urxvt.desktop << "EOF" &&
[Desktop Entry]
Encoding=UTF-8
Name=Rxvt-Unicode Terminal
Comment=Use the command line
GenericName=Terminal
Exec=urxvt
Terminal=false
Type=Application
Icon=utilities-terminal
Categories=GTK;Utility;TerminalEmulator;
#StartupNotify=true
Keywords=console;command line;execute;
EOF
update-desktop-database -q
For that, you need desktop-file-utils-0.27 and at least one of gnome-icon-theme-3.12.0, oxygen-icons-5.113.0 and lxde-icon-theme-0.5.1. Uncomment the line with 「StartupNotify=true」 if startup-notification-0.12 is installed.