Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDM如何设置成中文 #1

Open
quyang998877 opened this issue Mar 3, 2020 · 6 comments
Open

GDM如何设置成中文 #1

quyang998877 opened this issue Mar 3, 2020 · 6 comments

Comments

@quyang998877
Copy link

Guix安装GNOME3以后
安装文泉驿字体就可以显示成中文
但是GDM没有生效
查了官方手册也没有解决
求帮 感谢~

@pmeiyu
Copy link
Member

pmeiyu commented Mar 30, 2020

@quyang998877 你的操作系统locale设置成中文了吗?GDM默认使用操作系统的locale。

(operating-system
 (host-name "guix")
 (timezone "Asia/Shanghai")
 (locale "zh_CN.UTF-8")
 ...
 )

@quyang998877
Copy link
Author

我设置好了中文 但是那些字体是需要自己手动安装 文泉驿字体已经全部安装上了 但是仍然无法显示中文

@quyang998877
Copy link
Author

中文是在安装程序上就已经选好了

@quyang998877
Copy link
Author

有什么问题可以私信聊吗 telegram或者wechat qq都可以

@pmeiyu
Copy link
Member

pmeiyu commented Mar 31, 2020

@quyang998877 我在虚拟机里实验了。操作系统locale设置成zh_CN.UTF-8,并安装文泉驿字体,GDM第一次启动时默认就显示简体中文。修改localezh_TW.UTF-8之后,运行 guix system reconfigure /etc/config.scmreboot,GDM显示繁体中文。所以正确设置locale之后,GDM是可以正常显示中文的。

请提供你的操作系统的config.scm文件,以供检查。config.scm文件默认在/etc/config.scm。当前操作系统的locale可以通过grep LANG /etc/environment查看。

@pmeiyu
Copy link
Member

pmeiyu commented Mar 31, 2020

@quyang998877 另外,你把文泉驿字体安装到了系统profile里还是用户的profile里?如果安装到用户profile里,请改为安装到系统profile里。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants