QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 939|回复: 4

控制中心观感配置那地方改了字体后,保存在那个文件中?

[复制链接]
发表于 2003-7-21 12:49:39 | 显示全部楼层 |阅读模式
或者是说X-windows用的字体设置从那个文件中读取出来的?

我看到如果改了以后在~/ 目录下有一个 .kderc 文件,是字体的设置,但是我直接改这个文件,(在没进入X的情况下改的) 但进入X后这个文件又被改成上次最后改的那样的了,并不是我改的样子!

因为我的字体原来默认的是情况下是 h***  -1 , 我改成simsun后发现字不是方的了,我想改回去,但是无法改成那个字体,我想到改配置文件,但是我不知道是那个文件在起作用了!

请各位高手指点一下!
发表于 2003-7-21 13:25:58 | 显示全部楼层
理论上改 ~/.kderc 和 ~/.qt/qtrc 是可以的,不过更好的办法是用 kcontrol 改
回复

使用道具 举报

 楼主| 发表于 2003-7-21 14:06:14 | 显示全部楼层
The right way:

eidt the file:    /root/.kde/share/config/kdeglobals  

because if you change it from kdecontrol you maybe can't as this :

StandardFont=Tahoma,-1,12,0,50,0,0,0,0,0
activeFont=Tahoma,-1,12,0,50,0,0,0,0,0
background=220,220,220
fixed=Tahoma,-1,12,0,50,0,0,0,0,0
font=Tahoma,-1,12,0,50,0,0,0,0,0
foreground=0,0,0
menuFont=Tahoma,-1,12,0,50,0,0,0,0,0
selectBackground=10,95,137
selectForeground=255,255,255
taskbarFont=Tahoma,-1,12,0,50,0,0,0,0,0
toolBarFont=Tahoma,-1,12,0,50,0,0,0,0,0
windowBackground=255,255,255
windowForeground=0,0,0

//****  -1,12,0,50,0,0,0,0,0   only as this view fontsize can sam  simsun 9pt
回复

使用道具 举报

 楼主| 发表于 2003-7-21 14:09:46 | 显示全部楼层
thank Kuye !

my system is
Linux gentoo 2.4.20-gentoo-r5 #5   i686 Intel(R) Pentium(R) 4 CPU 1.40GHz GenuineIntel GNU/Linux

after emerge xsim , then changed locale as zh_CN , but it still doesn't  work !

Can you help me ?
回复

使用道具 举报

发表于 2003-7-21 14:27:36 | 显示全部楼层
喔。。。原来设置字体的文件那么深的路径。。。

关于 xsim 的可以参考一下前面汉化的帖子,在 /etc/env.d 里加个变量配置文件,设置一下 XMODIFIERS=@im=XSIM 变量(XIM 和 XIM_PROGRAM 似乎不需要,那好像是给 redhat 用的)。。。

建议用 fcitx !
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-10-5 16:29 , Processed in 0.045779 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表