sudo pacman -S ttf-roboto noto-fonts noto-fonts-cjk adobe-source-han-sans-cn-fonts adobe-source-han-serif-cn-fonts ttf-dejavu wqy-zenhei 编辑字体配置sudo gedit /etc/locale.gen取消#号注释 en_US.UTF-8 UTF-8 zh_CN.UTF-8 UTF-8 zh_CN.GB2312 zh_CN.GBK GBK zh_CN.GB18030 GB18030 zh...
zh_CN.UTF-8 UTF-8如下图 su(切换管理员身份) locale-gen && echo 'LANG=zh_CN.UTF-8' > /etc/locale.conf(使字体生效)如下图 exit(退出管理员身份角色) System Settings->Region & Language->Language->Modify->Change Language->简体中文,如下图 重启系统后,再进系统就可以看到中文版的了 (3)安装...
(KDM、GDM、LightDM的配置文件为/.xprofile,startx、Slim的配置文件为/.xinitrc)echo LANG=zh_CN.UTF-8 > .xinitrc echo LANG=zh_CN.UTF-8 > .xprofile 中文输入法 sudo pacman -S --noconfirm fcitx-im fcitx-configtool fcitx-sogoupinyin fcitx-googlepinyin # 如果是kde: sudo pacman -S --noconfirm...
kde桌面可能会出现字体中英混合显示的情况,解决办法: 编辑/etc/locale.conf 文件,把LANG_ALL设置成为zh_CN.UTF-8: LANG_ALL=zh_CN.UTF-8 编辑/etc/locale.gen 文件,文件底部把zh_CN前面的注释(#)号删除 执行 sudo locale-gen 注销 中文输入法 执行 sudo pacman -S fcitx5-im sudo pacman -S fcitx5-...
然后执行locale-gen命令,这样便可以在系统中使用zh_CN.UTF8,zh_CN.GBK,zh_CN.GB2312,zh_CN.GB18030,en_US.UTF8等locale。可以通过locale命令来查看当前使用的locale locale 可以通过locale命令来查看目前可以使用的locale locale -a Archlinux中,通过rc.conf文件可以设置全局有效的locale: ...
方法/步骤 1 在用户目录里打开.xprofile文件,没有的话执行:vi ~/.xprofile 2 输入:export LC_ALL=zh_CN.UTF-8export XIM=fcitx export XIM_PROGRAM=fcitxexport GTK_IM_MODULE=fcitxexport QT_IM_MODULE=fcitxexport XMODIFIERS="@im=fcitx"eval `dbus-launch --sh-syntax --exit-with-session`exec ...
编辑/etc/locale.gen 文件,去掉zh_CN.UTF-8前面的#号 你可以设置整个系统的locale,编辑/etc/locale.conf,写下如下内容LANG="zh_CN.UTF-8",但是不建议这样做,这样做在某些地方会 产生乱马 建议设置局部的locale,编辑~/.bashrc,添加:export LANGUAGE="zh_CN:UTF-8"按...
编辑/etc/locale.gen 文件,去掉zh_CN.UTF-8前面的#号 你可以设置整个系统的locale,编辑/etc/locale.conf,写下如下内容LANG="zh_CN.UTF-8",但是不建议这样做,这样做在某些地方会 产生乱马 建议设置局部的locale,编辑~/.bashrc,添加:export LANGUAGE="zh_CN:UTF-8"按...
export LANGUAGE=zh_CN:en_US 结合本文,如果你不用全局性的汉化,而用这第二种方式的话,我个人推荐你在~/.xprofile文件中添加 安装fcitx输入法 pacman -S fcitx fcitx-im fcitx-cloudpinyin fcitx-configtool fcitx-googlepinyin fcitx-qt5 安装之后配置变量以确保系统使用fcitx、或者自行禁用其他输入法自动启动、如...
true# 分区fdisk /dev/vda# 如果使用整个磁盘就直接格式化mkfs.ext4 /dev/vda1mount /dev/vda1 /mntvim /etc/pacman.d/mirrorlistpacman -Syy# 安装基础环境 pacstrap /mnt base linux linux-firmware vim grub genfstabe /mnt >> /mnt/etc/fstab arch-chroot /mnt vim /etc/locale.gen# zh_CN...