The built-in "Terminal" app that comes with Chrome OS is nice, but terrible for typing non-English characters, like Chinese. Chinese characters are misplaced as one type. We need a terminal app that have the following features:
- good support of copy & paste feature
- support unicode
- works with fcitx (gnome-terminal, unfornately, does not work with fcitx)
- customisable
"urxvt" matches all the requirements listed above. To install:
sudo apt install rxvt-unicode -y
To customise, edit the file ~/.Xresources:
nano ~/.Xresources
Add the following content to the file:
(Remarks: Use your favourite font by changing "NSimSun", please make sure the font is installed on your system.)
URxvt.background: #000000
URxvt.foreground: #FFFFFF
URxvt.color4: #1E90FF
URxvt.color12: #0081FF
URxvt.font: xft:NSimSun:pixelsize=36
URxvt.perl-ext-common: selection-to-clipboard
URxvt.letterSpace: 0
To make the settings effective, edit file ~/.sommelierrc:
nano ~/.sommelierrc
Uncomment by removing the # sign at the beginning of the following lines:
if [ -f ~/.Xresources ]; then
xrdb -merge ~/.Xresources
fi
Select to copy
"alt + ctrl + v" to paste