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

1.查看系统日志css

less /var/logs/messagepython

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
看报错确实是语言环境问题less

 

2.把语言环境调整过来ide

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

确保 "Language" 和"Formats"是对应的,好比,Language是English的话,Formats也必定要是English才行,无论你是美式英语仍是英式英语日志


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

相关文章
相关标签/搜索