Skip to main content

centos 7 ibus 添加中文输入法 拼音输入法

今天闲着没事 把全新安装了Centos 7  正式版
但是 在打字的时候发现了一个严重的问题 ,由于平时用拼音打字多了已经比较习惯拼音打字了 。但是在安装好的Centos 7 上发现只能打英文,不能打汉字,突然觉得很郁闷,怎么没有中文输入法了 呢,拼音输入法呢?找了一下 ,在输入法栏目里显示已经安装了Ibus ,但是就三没有中文输入。五笔也 没有,
按Ctrl +space  没有反映  Ctrl+ Shift 也没有反映,怎么回事,怎么会没反映呢?
查看系统的输入法配置

如上图 有汉语 但所没有拼音输入法郁闷了 找了好一会都没找到拼音输入在那里
2014-07-12-001
于是百度
但是网上的办法搜了 一大堆 还是没有解决问题,
下面是我觉得比较靠谱的
1用root登录 ,或su root
2.yum install "@Chinese Support"
3exit
4回到桌面,system->preferences->input method
5.如果没有,先注销一下。
6到里面add输入法到列表里。
7最后再注销、登录。
1su root
2 
3yum install  ibus  ibus-pinyin
按上面的教程操作 但是问题还没有解决 还是没有拼音输入法
于是自己想办法
于是去CentOS  的官方  看这个版本更新了 什么
在更新列表里 搜索拼音(pinyin),突然发现 libpinyin 是不是这个 突然有点小激动, 于是果断
1yum install  ibus-libpinyin
额发现安装包  然后 y   之后进 输入法源里面一看
2014-07-12-001
还是没有阿

额 突然想 是不是美注销 的原因 于是注销再登陆
2014-07-12-002

看输入法源里面 发现了中文拼音 输入法 果断点 添加
2014-07-12-003

在切回桌面 看输入法了已经有 中文拼音输入法了 哈哈 消失的中文输入法又回来了·
按CTRL+SPACE  切换成功  本文就在用 这个拼音输入法写完的
PS:Ctrl+Space 切换无效可能是快捷键问题去系统  键盘设置里设置一下就可以了 。

Comments

Popular posts from this blog

CKA Simulator Kubernetes 1.22

  https://killer.sh Pre Setup Once you've gained access to your terminal it might be wise to spend ~1 minute to setup your environment. You could set these: alias k = kubectl                         # will already be pre-configured export do = "--dry-run=client -o yaml"     # k get pod x $do export now = "--force --grace-period 0"   # k delete pod x $now Vim To make vim use 2 spaces for a tab edit ~/.vimrc to contain: set tabstop=2 set expandtab set shiftwidth=2 More setup suggestions are in the tips section .     Question 1 | Contexts Task weight: 1%   You have access to multiple clusters from your main terminal through kubectl contexts. Write all those context names into /opt/course/1/contexts . Next write a command to display the current context into /opt/course/1/context_default_kubectl.sh , the command should use kubectl . Finally write a second command doing the same thing into ...

OWASP Top 10 Threats and Mitigations Exam - Single Select

Last updated 4 Aug 11 Course Title: OWASP Top 10 Threats and Mitigation Exam Questions - Single Select 1) Which of the following consequences is most likely to occur due to an injection attack? Spoofing Cross-site request forgery Denial of service   Correct Insecure direct object references 2) Your application is created using a language that does not support a clear distinction between code and data. Which vulnerability is most likely to occur in your application? Injection   Correct Insecure direct object references Failure to restrict URL access Insufficient transport layer protection 3) Which of the following scenarios is most likely to cause an injection attack? Unvalidated input is embedded in an instruction stream.   Correct Unvalidated input can be distinguished from valid instructions. A Web application does not validate a client’s access to a resource. A Web action performs an operation on behalf of the user without checkin...