zeerd's blog         Search     Categories     Tags     Feed

闲来生雅趣,无事乐逍遥。对窗相望雪,一盏茶香飘。

Support Chinese under Ubuntu XFCE

#Ubuntu #XFCE @OperatingSystem


Input Method and Font

apt install ibus-sunpinyin
apt install ttf-mscorefonts-installer
apt install fonts-wqy-zenhei
ibus-daemon -d

Change setting by command-line, if needed.

Never use ibus-pinyin, it’s bugged.

Xfce-Terminal

Edit -> Preferences -> Advance -> Encoding -> UTF-8

vim

Create or Modify the ~/.vimrc :

set encoding=utf-8
set fileencoding=utf-8

Reference

How to view UTF-8 Characters in VIM or Gvim