RXVT is a powerful terminal, it takes up less resources, faster startup, and many people like to use it. So I'm here to introduce the installation of the RXVT Chinese terminal in the Debian system. There are many RXVT packages in Debian that can be queried with the Apt-cache Search RXVT command. There are three main categories, one is called RXVT, does not support Chinese display; one is called RXVT-ML, supports GB and BIG5 Chinese encoding; there is also a rxvt-unicode that supports Unicode encoding. The first type does not support Chinese and is not discussed here. The installation of the RXVT-ML and Rxvt-unicode two RXVT terminals is discussed below.
Before using the RXVT Chinese terminal, you need to configure the Chinese environment for the GNOME or KDE desktop first. In order to display Chinese in RXVT and use Chinese Input method (I use FCITX).
Install RXVT-ML
Here we take the Debian system Linux as an example:
The code is as follows:
Apt-get Install RXVT-ML
After the installation is complete, several RXVT programs are generated in the/usr/bin directory, namely CRXVT Crxvt-big5 CRXVT-GB grxvt krxvt and a link file/etc/alternatives/rxvt to the RXVT. These six programs correspond to different language coding environments, CRXVT-GB are used in Chinese GB coding environment, CRXVT-BIG5 for large five code environment, KRXVT for Japanese environment, KRXVT can be used in Chinese environment, GRXVT for Greek keyboard environment; CRXVT is also used for large five-yard environments; RXVT link defaults to KRXVT.
For us, we just need to use the CRXVT-GB program. In order to display Chinese properly, we need to configure the locale environment as ZH_CN. GB2312. Specific configuration can be found in the GNOME and KDE desktop environment locale configuration. Restarting the x session causes locale to take effect, so that the RXVT Chinese terminal can be used CRXVT-GB.
Example of a personal profile configuration:
The code is as follows:
!! $HOME/. Xdefaults
Rxvt.preedittype:root</p> <p>!! Window size and Caption
rxvt.geometry:80x25
Rxvt.title:hutaow-rxvt</p> <p>!! Input Method settings
Rxvt.inputmethod:fcitx</p> <p>!! Transparency settings
! Rxvt.transparent:true
! rxvt.shading:110
! Rxvt.tintColor:grey
! Rxvt.inheritpixmap:false</p> <p>!! Extended Settings
Rxvt.perl-ext-common:default, Matcher, fullscreen</p> <p>!! URL Action
Rxvt.urllauncher:/usr/bin/chromium
Rxvt.matcher.button:1</p> <p>!! Label settings
! Rxvt.per-ext-common: ..., tabbed, ...
! Rxvt.tabbed.tabbar-fg:2
! rxvt.tabbed.tabbar-bg:0
! Rxvt.tabbed.tab-fg:3
! rxvt.tabbed.tab-bg:0
! Rxvt.tabbed.new-button:false
! Rxvt.tabbed.autohide:true
! Rxvt.tabbed.reopen-on-close:no
! RXVT.KEYSYM.CONTROL-T: Perl:tabbedex:new_tab
! Rxvt.keysym.control-tab:perl:tabbedex:next_tab
! Rxvt.keysym.control-shift-tab:perl:tabbedex:prev_tab
! Rxvt.keysym.control-shift-left:perl:tabbex:move_tab_left
! Rxvt.keysym.control-shift-right:perl:tabbex:move_tab_right
! Rxvt.keysym.control-shift-r: perl:tabbex:rename_tab</p> <p>!! Full-screen mode
! Rxvt.perl-ext-common: ..., fullscreen, ...
Rxvt.keysym.f11:perl:fullscreen:switch</p> <p>!! scroll bar settings
Rxvt.scrollBar:true
Rxvt.scrollBar_right:true
Rxvt.scrollBar_floating:false
Rxvt.scrollstyle:plain</p> <p>!! Roll screen Settings
Rxvt.mouseWheelScrollPage:false
Rxvt.scrollTtyOutput:false
Rxvt.scrollWithBuffer:true
Rxvt.scrollttykeypress:true</p> <p>!! Cursor Blinking
Rxvt.cursorblink:true</p> <p>!! Number of rows Cached
Rxvt.savelines:5000</p> <p>!! Border settings
Rxvt.borderless:false</p> <p>!! Font settings
rxvt.dpi:96
Rxvt.*font:xft:terminus,xft:wenquanyi Bitmap song</p> <p>!! Color settings
Rxvt.depth:32
Rxvt.background: #2C2C2C
Rxvt.foreground:7
Rxvt.colorbd:7
Rxvt.colorul:7</p> <p>!! Basic color
! Black
RXVT.COLOR0: #3F3F3F
RXVT.COLOR8: #709080
!red
Rxvt.color1: #705050
RXVT.COLOR9: #DCA3A3
! Green
Rxvt.color2: #60B48A
Rxvt.color10: #72D5A3
! Yellow
Rxvt.color3: #DFAF8F
Rxvt.color11: #F0DFAF
! Blue
Rxvt.color4: #9AB8D7
Rxvt.color12: #94BFF3
! Magenta
Rxvt.color5: #DC8CC3
Rxvt.color13: #EC93D3
! Cyan
RXVT.COLOR6: #8CD0D3
Rxvt.color14: #93E0E3
! White
RXVT.COLOR7: #DCDCDC
RXVT.COLOR15: #FFFFFF
After the configuration of the terminal operation effect of the following figure: