zoukankan      html  css  js  c++  java
  • sublime text3 在 14.04.1-Ubuntu 下的中文输入

    1、安装 fcitx

      

    sudo add-apt-repository ppa:fcitx-team/nightly // 添加FCITX仓库.
    sudo apt-get update // 更新仓库.
    sudo apt-get install fcitx // 安装fcitx输入法框架.

    ubuntu 14.04 下如果删除  ibus 会导致一些界面依赖的包被删除, system settimg 一些菜单会消失,在 ubuntu 14.04 ,ibus 和 fcitx 可以共存,如果你发现安装 fcitx 时不小心删除了 ibus,需要装回来

    sudo apt-get install ibus
    sudo apt-get install linux-generic

    重启后如果问题没解决,执行下面命令

    sudo apt-get install unity-control-center 

    2、安装搜狗拼音 Linux 中文输入法

    下载地址:https://pinyin.sogou.com/linux/

    sudo dpkg  -i   sogoupinyin_2.2.0.0108_amd64.deb

    3、设置输入法

    在终端执行下面命令

    im-config

    出现 current configuration for the input method 面板,选择 yes 选项准备 update 设置,

    出现 输入法选择面板,选择 fcilx ,重启系统。

    开机后在终端输入下面命令:

    fcitx-config-gtk3

    在弹出界面的 input method 面板,去掉 only show current language 选项,点击左下角加号,选择 Sogou Pinyin ,并移动到第一行,确定保存。

    如果开机搜狗输入法提示中英文切换异常,或者不能输入中文时,解决办法如下:删除 ~/.config/SogouPY, SogouPY.users, sogou-qimpanel 这三个文件夹。

    4、安装 sublime text3 中文补丁

    升级系统软件包

    sudo apt-get update
    sudo apt-get upgrade

    获取补丁包

    git clone https://github.com/lyfeyaj/sublime-text-imfix.git

    运行补丁

    cd sublime-text-imfix && ./sublime-imfix

    重启系统即可。

    解决方法来自下面几篇文章

    https://blog.csdn.net/weixin_39382961/article/details/80148933

    https://www.cnblogs.com/bozhicheng/p/5769221.html

    https://blog.csdn.net/sinat_36330809/article/details/79650575

  • 相关阅读:
    donet core 2.1 DateTime ToString() 方法 在不同平台返回的时间格式不一样?
    asp.net core 2.1 post 无法提交参数?
    重写$.ajax方法
    基于git 客户端使用shell工具
    NPOI 自定义单元格背景颜色-Excel
    Ubuntu 1604配置安装mysql8.0
    Fiddler拦截并修改移动端请求
    MFC路径层的使用(BeginPath和EndPath函数)
    MFC中设备描述表dc的使用
    不能从const char *转换为LPCWSTR --VS经常碰到
  • 原文地址:https://www.cnblogs.com/ecalf/p/10132169.html
Copyright © 2011-2022 走看看