centos7.5英文环境切换到中文环境,再切回中文环境后 ,terminal不能用

1.查看系统日志

less /var/logs/message

May 12 21:54:41 localhost python: SELinux is preventing /usr/libexec/ibus-x11 from read access on the file /usr/share/themes/Ant/gtk-3.20/gtk.css.#012#012*****  Plugin catchall
 (100. confidence) suggests   **************************#012#012If you believe that ibus-x11 should be allowed read access on the gtk.css file by default.#012Then you should re
port this as a bug.#012You can generate a local policy module to allow this access.#012Do#012allow this access for now by executing:#012# ausearch -c 'ibus-x11' --raw | audit2a
llow -M my-ibusx11#012# semodule -i my-ibusx11.pp#012
May 12 21:54:41 localhost journal: Exiting
May 12 21:54:51 localhost journal: Locale not supported by C library.#012#011Using the fallback 'C' locale.
May 12 21:54:51 localhost org.gnome.Terminal: Locale not supported.
May 12 21:54:51 localhost org.gnome.Terminal.desktop: Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 9
看报错确实是语言环境问题

 

2.把语言环境调整过来

Applications----->System Tools----->Setting--->Region &Language

确保 "Language" 和"Formats"是对应的,比如,Language是English的话,Formats也一定要是English才行,不管你是美式英语还是英式英语


3.设置好后重启电脑就恢复正常

转载于:https://www.cnblogs.com/liangjiongyao/p/9031441.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值