Ubuntu下使用Fcitx框架中文输入法

!!!注意该方法可能会导致Ubuntu输入登录密码后进入不了桌面,解决方法放到文章末尾,以此记录bug解决方式


⭐教程原文请查看

https://cloud.tencent.com/developer/article/2156923

脚本文件.sh的内容

#! /usr/bin/bash

# 安装fcitx输入法框架
sudo apt-get update
sudo apt-get install fcitx-bin -y

# 安装fcitx输入法框架下的中文拼音输入法,五笔输入法等中文输入法
sudo apt-get install fcitx-table-all -y
  1. 执行该.sh脚本后选择输入法框架为fcitx
  2. 重启系统
  3. 在设置中的Rigion and Language项目下选择输入源input source的添加,按思路选择即可


!!!Ubuntu使用该方法后进入不了桌面的解决方式
具体教程见https://zhuanlan.zhihu.com/p/650330577
思路就是完全卸载该fcitx软件包,想办法进入终端,比如ssh,或者ctrl+alt+F1~F6进入tty界面

sudo apt-get remove fcitx*
sudo apt-get remove ibus*
apt-get purge fcitx*
apt-get purge ibus*
apt-get autoremove

# 重启
sudo reboot  
posted @ 2025-12-23 15:01  Nanoric  阅读(92)  评论(0)    收藏  举报