把Ubuntu的字体都改成雅黑了,但是FF和EVA的界面字体还是没变,很不协调,于是上网查了下资料,发现应该这么做:
FireFox:修改~/.mozilla/firefox/n65tdutm.default/chrome/userChrome.css,如果没有就自己建一个或者复制userChrome-example.css,在里面加上:
{
font-family: Microsoft YaHei !important;
font-size: 9pt !important;
}
保存后重启FF就可以看到效果了(字体根据自己喜好来设)
至于EVA,则需要修改~/.kde/share/config/kdeglobals,加上这么一段
[General]
XftHintStyle=hintmedium
XftSubPixel=
fixed=Microsoft YaHei,10,-1,5,50,0,0,0,0,0
font=Microsoft YaHei,10,-1,5,50,0,0,0,0,0
menuFont=Microsoft YaHei,10,-1,5,50,0,0,0,0,0
taskbarFont=Microsoft YaHei,10,5,50,0,0,0,0,0
toolBarFont=Microsoft YaHei,10,-1,5,50,0,0,0,0,0
[KFileDialog Settings]
Automatically select filename extension=true
Height 768=306
LocationCombo Completionmode=5
PathCombo Completionmode=5
Recent URLs=$HOME/.eva/304518707/customCaches/
Separate Directories=false
Show Bookmarks=false
Show Preview=false
Show Speedbar=true
Show hidden files=false
Sort by=Name
Sort case insensitively=true
Sort directories first=true
Sort reversed=false
View Style=Simple
Width 1024=752
之后一切就OK了。
L.oner 于 2008-02-23 10:44:47发表:
帖子沉的太快了,再顶下~~~~:0w5ty(1
L.oner 于 2008-02-22 22:05:48发表:
我怎么没找到~/.mozilla/firefox/n65tdutm.default/chrome/userChrome.css这个文件阿??
搜索也搜索不到。。。。最开始那个~/.mozilla都没有。。。。。