按照网上的方法进行操作
更新并升级系统为最新(较新的系统会解决很多可能出现的问题)
sudo apt-get update && sudo apt-get upgrade
克隆项目到本地 :
git clone https://github.com/lyfeyaj/sublime-text-imfix.git
运行脚本 :
cd sublime-text-imfix && ./sublime-imfix
完成! 重新启动后就可以在 Sublime Text 3 中 使用 Fcitx了!
执行完成后发现错误
Checking for installation of Sublime Text 3...........
It seems you do not install Sublime Text 3 in your system.
Do you want to install it? [Y/N]: y
*********** Adding Sublime Text 3 PPA **********************
[sudo] jeffray 的密码:
gpg: 找不到有效的 OpenPGP 数据。
deb https://download.sublimetext.com/ apt/stable/
*********** Updating system ********************************
W: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/InRelease Could not wait for server fd - select (11: 资源暂时不可用) [IP: 52.84.49.100 443]
*********** Installing Sublime Text 3 **********************
E: 无法定位软件包 sublime-text
*********** Sublime Text 3 installed