以下均 切换为 root 用户下执行。

 

centos 7

1、yum install -y system-config-language

2、 执行system-config-language 

选择中文简体

centos 7 与 6.5配置中文环境

centos 7 与 6.5配置中文环境

确定后,会自动将系统语言设置成zh_CN.UTF-8

3.重启系统

locale或env可以看到系统语言已经变成了zh_CN.utf-8

 

之后按super (靠近alt 的那个windows图标) + 空格 开启, 以后按shift 可以自由切换中英文

 

 

centos 6

我是直接在 System->Preferences->Input Method->   按下图添加拼音后重启  按 ctrl + 空格 就开启了 之后shift 可以自由切换中英文

centos 7 与 6.5配置中文环境

centos 7 与 6.5配置中文环境

centos 7 与 6.5配置中文环境

 

以下附  

centos 7 设置打开终端快捷键

centos 7 与 6.5配置中文环境

相关文章:

  • 2021-04-14
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-29
  • 2021-08-28
  • 2021-05-29
  • 2021-05-11
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案