分享
 
 
 

MDK9.2完全美化绝对详细步骤

王朝other·作者佚名  2008-05-18
窄屏简体版  字體: |||超大  

目的:供大家在系统安装后汉化美化使用。为了兼容性起见,正文为英文。可以在没有汉化/美化好的console下显示。

来源:步骤英文为原创。所需原理由quicktime 兄及我们论坛上的其他兄弟们所整理的美化方案改编。一并谢过。

注意:在gnome下的gedit 的locale 为utf-8 ,现在linux下的中文编码混乱,什么isoxxx;gb2312; gb13080; gbk;cpxxx;所以如果直接从网页上copy到编辑器里看的时候要注意。最好不要用gedit 。尤其是代码部分!!所以我把所需要的一些文件打包了,可以按照步骤直接copy相应的文件到指定的位置便可。

注意: 本文的方法是笨方法。原理和quicktime在9.1下的快速美化脚本是一样的,只是考虑到9.2 和9.1的差异性,还是一步一步自己来吧。但也有些内容 quicktime在9.1下的快速美化脚本所没有实现的。

全文:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

A. what you need to take care before you guys install the system (important!!)

1.zh_CN in installing the system ,locale ,no advanced ,other locale; no other locale in install some softwares. take care!!!

2.LILO, acpi check---make sure to select the ACPI in the LILO configuration when the system installing .

3. null

4.the locale of gedit ,the default is utf-8 !! not we selected gb18030 or gbxxx

5.the permission of the file ,espescially in the non-root acount.-----when you copy the file I supplied . eg: rwxrwxrwx

6.do not install the xcin ; chinput .if you don't like the Chinput/miniChinput .

the fact is :It doesn't work well after our this PP method .

7.do not select the gnome--galaxy theme package when install the system .It will make theany other theme you installed in the gnome galaxy-liking; eg: the border and the button . the other theme can not make effect .

B. X-windows Fonts optimize for chinese

a. create the directory /usr/share/fonts/zh_CN/TrueType/simsun

b. copy the fonts simsun.ttf (renamed from simsun.ttc ) ; tahoma.ttf tahomabd.ttf etc. to this directory

=================================================================

c.scretch the file fonts.dir as following code (full)

63

simsun.ttf -misc-fixed-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

simsun.ttf -misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

ai=0.2:simsun.ttf -misc-simsun-medium-o-normal--0-0-0-0-c-0-gb2312.1980-0

ai=0.4:simsun.ttf -misc-simsun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0

ab=y:simsun.ttf -misc-simsun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0

ai=0.2:ab=y:simsun.ttf -misc-simsun-bold-o-normal--0-0-0-0-c-0-gb2312.1980-0

ai=0.4:ab=y:simsun.ttf -misc-simsun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0

sw=1:bw=0.5:simsun.ttf -misc-simsun-medium-r-normal--0-0-0-0-c-0-iso8859-1

ab=y:sw=1:bw=0.5:simsun.ttf -misc-simsun-bold-r-normal--0-0-0-0-c-0-iso8859-1

ai=0.2:sw=1:bw=0.5:simsun.ttf -misc-simsun-medium-o-normal--0-0-0-0-c-0-iso8859-1

ai=0.4:sw=1:bw=0.5:simsun.ttf -misc-simsun-medium-i-normal--0-0-0-0-c-0-iso8859-1

ai=0.2:ab=y:sw=1:bw=0.5:simsun.ttf -misc-simsun-bold-o-normal--0-0-0-0-c-0-iso8859-1

ai=0.4:ab=y:sw=1:bw=0.5:simsun.ttf -misc-simsun-bold-i-normal--0-0-0-0-c-0-iso8859-1

ai=-0.2:sw=1:bw=0.5:simsun.ttf -misc-simsun-medium-ro-normal--0-0-0-0-c-0-iso8859-1

ai=-0.4:sw=1:bw=0.5:simsun.ttf -misc-simsun-medium-ri-normal--0-0-0-0-c-0-iso8859-1

ai=-0.2:ab=y:sw=1:bw=0.5:simsun.ttf -misc-simsun-bold-ro-normal--0-0-0-0-c-0-iso8859-1

ai=-0.4:ab=y:sw=1:bw=0.5:simsun.ttf -misc-simsun-bold-ri-normal--0-0-0-0-c-0-iso8859-1

ai=-0.4:simsun.ttf -misc-simsun-medium-ri-normal--0-0-0-0-c-0-gb2312.1980-0

ai=-0.4:ab=y:simsun.ttf -misc-simsun-bold-ri-normal--0-0-0-0-c-0-gb2312.1980-0

ai=-0.2:simsun.ttf -misc-simsun-medium-ro-normal--0-0-0-0-c-0-gb2312.1980-0

ai=-0.2:ab=y:simsun.ttf -misc-simsun-bold-ro-normal--0-0-0-0-c-0-gb2312.1980-0

simsun.ttf -misc-simsun-medium-r-normal--0-0-0-0-c-0-gbk-0

ai=0.2:simsun.ttf -misc-simsun-medium-o-normal--0-0-0-0-c-0-gbk-0

ai=0.4:simsun.ttf -misc-simsun-medium-i-normal--0-0-0-0-c-0-gbk-0

ab=y:simsun.ttf -misc-simsun-bold-r-normal--0-0-0-0-c-0-gbk-0

ai=0.2:ab=y:simsun.ttf -misc-simsun-bold-o-normal--0-0-0-0-c-0-gbk-0

ai=0.4:ab=y:simsun.ttf -misc-simsun-bold-i-normal--0-0-0-0-c-0-gbk-0

ai=-0.4:simsun.ttf -misc-simsun-medium-ri-normal--0-0-0-0-c-0-gbk-0

ai=-0.4:ab=y:simsun.ttf -misc-simsun-bold-ri-normal--0-0-0-0-c-0-gbk-0

ai=-0.2:simsun.ttf -misc-simsun-medium-ro-normal--0-0-0-0-c-0-gbk-0

ai=-0.2:ab=y:simsun.ttf -misc-simsun-bold-ro-normal--0-0-0-0-c-0-gbk-0

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-koi8-u

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-koi8-r

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-16

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-15

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-14

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-13

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-10

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-9

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-8

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-7

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-6

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-5

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-4

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-3

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-2

tahoma.ttf -microsoft-Tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-1

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-koi8-u

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-koi8-r

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-16

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-15

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-14

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-13

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-10

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-9

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-8

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-7

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-6

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-5

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-4

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-3

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-2

tahomabd.ttf -microsoft-Tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-1

d.save the file fonts.scale ,now there are same two files fonts.dir and fonts.scale in the directory /usr/share/fonts/zh_CN/TrueType/simsun

===================================================================

e. scretch the file encodings.dir in this directory as the following code (full)

40

big5.eten-0 /usr/X11R6/lib/X11/fonts/encodings/large/big5.eten-0.enc.gz

viscii1.1-1 /usr/X11R6/lib/X11/fonts/encodings/viscii1.1-1.enc.gz

microsoft-cp1258 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1258.enc

microsoft-cp1252 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1252.enc

microsoft-cp1253 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1253.enc

microsoft-cp1250 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1250.enc

microsoft-cp1251 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1251.enc

microsoft-cp1256 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1256.enc

microsoft-cp1257 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1257.enc

microsoft-cp1254 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1254.enc

mulelao-1 /usr/X11R6/lib/X11/fonts/encodings/mulelao-1.enc

microsoft-cp1255 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1255.enc

jisx0212.1990-0 /usr/X11R6/lib/X11/fonts/encodings/large/jisx0212.1990-0.enc.gz

jisx0208.1990-0 /usr/X11R6/lib/X11/fonts/encodings/large/jisx0208.1990-0.enc.gz

big5.cp950-0 /usr/X11R6/lib/X11/fonts/encodings/large/big5.eten-0.enc.gz

jisx0208.1983-0 /usr/X11R6/lib/X11/fonts/encodings/large/jisx0208.1983-0.enc.gz

big5-0 /usr/X11R6/lib/X11/fonts/encodings/large/big5.eten-0.enc.gz

gb2312.1980-0 /usr/X11R6/lib/X11/fonts/encodings/large/gb2312.1980-0.enc.gz

adobe-symbol /usr/X11R6/lib/X11/fonts/encodings/adobe-symbol.enc.gz

adobe-standard /usr/X11R6/lib/X11/fonts/encodings/adobe-standard.enc.gz

microsoft-ansi /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1252.enc

tis620-0 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc

tis620.2529-1 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc

armscii-8 /usr/X11R6/lib/X11/fonts/encodings/armscii-8.enc

gbk-0 /usr/X11R6/lib/X11/fonts/encodings/large/gbk-0.enc.gz

mulearabic-2 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-2.enc

tis620.2533-0 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc

mulearabic-0 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-0.enc

mulearabic-1 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-1.enc

tis620.2533-1 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc

jisx0201.1976-0 /usr/X11R6/lib/X11/fonts/encodings/large/jisx0201.1976-0.enc.gz

ksc5601.1987-0 /usr/X11R6/lib/X11/fonts/encodings/large/ksc5601.1987-0.enc.gz

ibm-cp437 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp437.enc

tcvn-0 /usr/X11R6/lib/X11/fonts/encodings/tcvn-0.enc

ibm-cp852 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp852.enc

ibm-cp866 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp866.enc

ibm-cp850 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp850.enc

iso8859-13 /usr/X11R6/lib/X11/fonts/encodings/iso8859-13.enc

iso8859-11 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc

adobe-dingbats /usr/X11R6/lib/X11/fonts/encodings/adobe-dingbats.enc.gz

==================================================================

f.modify the /etc/fonts/fonts.conf as following (full):

<?xml version="1.0"?>

<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<!-- /etc/fonts.conf file to configure system font access -->

<fontconfig>

<!--

The intent of this standard configuration file is to be adequate for

most environments. If you have a reasonably normal environment and

have found problems with this configuration, they are probably

things that others will also want fixed. Please send any suggested

changes to fonts@xfree86.org so that future releases can include

such changes.

Keith Packard

-->

<!-- Font directory list configured on Mon Sep 9 15:24:30 EDT 2002 -->

<dir>/usr/share/fonts/zh_CN/TrueType/simsun</dir>

<dir>/usr/X11R6/lib/X11/fonts</dir>

<dir>/usr/share/fonts</dir>

<dir>/home/OtherFont</dir>

<dir>/usr/share/yudit/fonts</dir>

<dir>/usr/local/starsuite6.0/share/fonts/truetype</dir>

<dir>~/.fonts</dir>

<!--

Enable sub-pixel rendering

<match target="font">

<edit name="rgba" mode="assign"><const>rgb</const></edit>

</match>

-->

<match target="font">

<test qual="any" name="pixelsize" compare="less">

<double>17</double>

</test>

<test qual="any" name="family" compare="eq">

<string>simsun</string>

</test>

<edit name="antialias" mode="assign">

<bool>false</bool></edit>

</match>

<!--

Accept deprecated 'mono' alias, replacing it with 'monospace'

-->

<match target="pattern">

<test qual="any" name="family">

<string>mono</string>

</test>

<edit name="family" mode="assign">

<string>monospace</string>

</edit>

</match>

<!--

Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'

-->

<match target="pattern">

<test qual="any" name="family">

<string>sans serif</string>

</test>

<edit name="family" mode="assign">

<string>sans-serif</string>

</edit>

</match>

<!--

Accept deprecated 'sans' alias, replacing it with 'sans-serif'

-->

<match target="pattern">

<test qual="any" name="family">

<string>sans</string>

</test>

<edit name="family" mode="assign">

<string>sans-serif</string>

</edit>

</match>

<!--

Mark common families with their generics so we'll get

something reasonable

-->

<!--

Serif faces

-->

<alias>

<family>Tahoma</family>

<family>Simsun</family>

<family>Times</family>

<family>Times New Roman</family>

<family>Nimbus Roman No9 L</family>

<family>Luxi Serif</family>

<family>Kochi Mincho</family>

<family>AR PL SungtiL GB</family>

<family>AR PL Mingti2L Big5</family>

<family>Baekmuk Batang</family>

<default><family>serif</family></default>

</alias>

<!--

Sans-serif faces

-->

<alias>

<family>Tahoma</family>

<family>SimSun</family>

<family>Helvetica</family>

<family>Arial</family>

<family>Verdana</family>

<family>Nimbus Sans L</family>

<family>Luxi Sans</family>

<family>Kochi Gothic</family>

<family>AR PL KaitiM GB</family>

<family>AR PL KaitiM Big5</family>

<family>Baekmuk Dotum</family>

<default><family>sans-serif</family></default>

</alias>

<!--

Monospace faces

-->

<alias>

<family>Tahoma</family>

<family>NSimSun</family>

<family>Courier</family>

<family>Courier New</family>

<family>Andale Mono</family>

<family>Luxi Mono</family>

<family>Nimbus Mono L</family>

<default><family>monospace</family></default>

</alias>

<!--

If the font still has no generic name, add sans-serif

-->

<match target="pattern">

<test qual="all" name="family" compare="not_eq">

<string>sans-serif</string>

</test>

<test qual="all" name="family" compare="not_eq">

<string>serif</string>

</test>

<test qual="all" name="family" compare="not_eq">

<string>monospace</string>

</test>

<edit name="family" mode="append_last">

<string>sans-serif</string>

</edit>

</match>

<!--

Load per-user customization file

-->

<include ignore_missing="yes">~/.fonts.conf</include>

<!--

Load local system customization file

-->

<include ignore_missing="yes">local.conf</include>

<!--

Alias well known font names to available TrueType fonts

-->

<alias>

<family>Times</family>

<accept><family>Times New Roman</family></accept>

</alias>

<alias>

<family>Helvetica</family>

<accept><family>Verdana</family></accept>

</alias>

<alias>

<family>Arial</family>

<accept><family>Verdana</family></accept>

</alias>

<alias>

<family>Courier</family>

<accept><family>Courier New</family></accept>

</alias>

<!--

Provide required aliases for standard names

-->

<alias>

<family>serif</family>

<prefer>

<family>Tahoma</family>

<family>Simsun</family>

<family>Nimbus Roman No9 L</family>

<family>Luxi Serif</family>

<family>Kochi Mincho</family>

<family>ZYSong18030</family>

<family>AR PL SungtiL GB</family>

<family>AR PL Mingti2L Big5</family>

<family>Baekmuk Batang</family>

<family>Times New Roman</family>

<family>Times</family>

</prefer>

</alias>

<alias>

<family>sans-serif</family>

<prefer>

<family>Tahoma</family>

<family>SimSun</family>

<family>Luxi Sans</family>

<family>Nimbus Sans L</family>

<family>Helvetica</family>

<family>Kochi Gothic</family>

<family>ZYSong18030</family>

<family>AR PL SungtiL GB</family>

<family>AR PL Mingti2L Big5</family>

<family>Baekmuk Gulim</family>

<family>Verdana</family>

<family>Arial</family>

</prefer>

</alias>

<alias>

<family>monospace</family>

<prefer>

<family>Tahoma</family>

<family>Simsun</family>

<family>Luxi Mono</family>

<family>Nimbus Mono L</family>

<family>Kochi Gothic</family>

<family>ZYSong18030</family>

<family>AR PL SungtiL GB</family>

<family>AR PL Mingti2L Big5</family>

<family>Baekmuk Gulim</family>

<family>Andale Mono</family>

<family>Courier New</family>

</prefer>

</alias>

<!--

We can't hint CJK fonts well, so turn off hinting for CJK fonts.

-->

<match target="font">

<test name="lang" compare="contains">

<string>ja</string>

</test>

<edit name="hinting" mode="assign">

<bool>false</bool>

</edit>

<!-- the rh_prefer_bitmaps options (a nonstandard

Red Hat extension), controls whether embedded

bitmaps, when available are preferred

to antialiased rendering. For Japanese,

we prefer antialiased rendering -->

<edit name="rh_prefer_bitmaps" mode="assign">

<bool>false</bool>

</edit>

</match>

<match target="font">

<test name="lang" compare="contains">

<string>ko</string>

</test>

<edit name="hinting" mode="assign">

<bool>false</bool>

</edit>

</match>

<match target="font">

<test name="lang" compare="contains">

<string>zh</string>

</test>

<edit name="hinting" mode="assign">

<bool>true</bool>

</edit>

</match>

<!--

Artificial oblique for fonts without an italic or oblique version

-->

<match target="font">

<!-- check to see if the font is roman -->

<test name="slant">

<const>roman</const>

</test>

<!-- check to see if the pattern requested non-roman -->

<test target="pattern" name="slant" compare="not_eq">

<const>roman</const>

</test>

<!-- multiply the matrix to slant the font -->

<edit name="matrix" mode="assign">

<times>

<name>matrix</name>

<matrix><double>1</double><double>.2</double>

<double>0</double><double>1</double>

</matrix>

</times>

</edit>

<!-- pretend the font is oblique now -->

<edit name="slant" mode="assign">

<const>oblique</const>

</edit>

</match>

<!--

Add by firefly@firefly.idv.tw

Artificial bold for fonts without a bold version.

-->

<match target="font">

<!-- check to see if the pattern requested > "medium" -->

<test target="pattern" name="weight" compare="more">

<const>medium</const>

</test>

<!-- pretend the font is bold now -->

<edit name="weight" mode="assign">

<const>bold</const>

</edit>

</match>

<!--

Add by firefly@firefly.idv.tw

Artificial bold for fonts without a bold version.

-->

<match target="font">

<!-- check to see if the pattern requested > "medium" -->

<test target="pattern" name="weight" compare="more">

<const>medium</const>

</test>

<!-- pretend the font is bold now -->

<edit name="weight" mode="assign">

<const>bold</const>

</edit>

</match>

<config>

<!--

These are the default Unicode chars that are expected to be blank

in fonts. All other blank chars are assumed to be broken and

won't appear in the resulting charsets

-->

<blank>

<int>0x20</int> <!-- space -->

<int>0xa0</int> <!-- nsbp -->

<int>0x2000</int> <!-- general punctuation spaces -->

<int>0x2001</int>

<int>0x2002</int>

<int>0x2003</int>

<int>0x2004</int>

<int>0x2005</int>

<int>0x2005</int>

<int>0x2006</int>

<int>0x2007</int>

<int>0x2008</int>

<int>0x2009</int>

<int>0x200a</int>

<int>0x200b</int>

<int>0x3000</int> <!-- CJK space -->

</blank>

<!--

Rescan configuration every 30 seconds when FcFontSetList is called

-->

<rescan>

<int>30</int>

</rescan>

</config>

</fontconfig>

g.install the xft2-2.1.1-3mdk.firefly.i586.rpm

h.modify the /etc/X11/XF86Config-4

in Section "Files" add

FontPath "/usr/share/fonts/zh_CN/TrueType/simsun"

# where you place the simsun+tahoma

in Section "Module" add

Load "xtt"

and disabled by insert "#" before them

Load "type1"

Load "freetype"

===========================================================

i.modify the /etc/gtk/gtkrc.zh_CN (full) to optimize the gtk 1.0 's program Fonts in the KDE/Gnome eg: xmms gimp

# $(gtkconfigdir)/gtkrc.zh_CN

#

# This file defines the fontsets for Chinese language (zh) using

# the simplified chinese standard GuoBiao as in mainland China (CN)

#

# 1999, Pablo Saratxaga <pablo@mandrakesoft.com>

#

#the original code in the QuickTime

#style "gtk-default-zh-cn" {

#fontset = "-*-tahoma-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0,*-r-*,#-misc-simsun-medium-r-normal--12-*-*-*-*-*-gb2312.1980-0"

#}

#class "GtkWidget" style "gtk-default-zh-cn"

style "gtk-default-zh-cn" {

fontset = "-microsoft-tahoma-medium-r-normal--12-*-*-*-*-*-iso8859-1,-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-0,*-r-*"

}

class "GtkWidget" style "gtk-default-zh-cn"

C. the Theme of the gtk/gtk2 program in the KDE

a. the gtk2.0 theme and Fonts in the KDE

1) install the theme in the gnome

2) go into my baby KDE

=========================================================

3) modify the file ~/.gtkrc-2.0 like the following for gtk 2.0

(full)

#/home/youraccout/.themes/XXXX is where the theme installed ,it also can be install in the /usr/share/themes

include "/home/youraccout /.themes/XXXX/gtk-2.0/gtkrc"

# optimize the font that gtk 2.0 in the KDE

style "user-font"

{

font_name="tahoma 9"

}

widget_class "*" style "user-font"

============================================================

b. the gtk1.0 theme in the KDE ; like xmms ,gimp

modify the file ~/.gtkrc like the following for the them of gtk 1.0

# /home/pyouraccout/.themes/XXXX is where the theme installed ,it also can be install in the /usr/share/themes

include "/home/youraccout/.themes/XXX/gtk/gtkrc"

#where the theme installed and find the "gtkrc" file in the gtk folder if the re is the gtk folder.

==============================================================

c. do not install the linuxfans-xft2!! To install xft2-2.1.1-3mdk.firefly.i586.rpm is good engouh.

d.logout login

e. modify the /etc/X11/Xresources Xft.dpi: 96 for kde

f.set gnome 96,9; and the kde 96,9; tahoma ; the font setting of kde konquer is in the control centre-->component-->file manager-->font

g. install the Chinese input fcitx .You can choose others .but the Xsim in the 9.1 can not work well in the 9.2 . After you install the fcitx from rpm ,nothing needs to be configured.

h. OO , install the OO; it's very good . replace the "tahoma" to the "simsun" in the option-->fonts . then use the system fonts in the "others option" .then you can see the beautiful simsun fonts in your OO menu .

===============================================================================

i. the Chinese fonts in xmms playlist ,check the "using the fontscollect" in the perference of font in xmms , then copy the following code in it

-microsoft-tahoma-medium-r-normal-*-*-120-*-*-p-*-iso8859-1 ,-misc-simsun-medium-r-normal-*-*-120-*-*-c-*-iso8859-1

D .the menu/html font of the galeon ,mozilla , firebird ;the gdm . You will find it : prefectly!!!!!

============================================================================

add the code to the /etc/fonts/fonts.conf

<!--linusware found in linuxsir -->

<match target="pattern">

<test qual="any" name="family" compare="eq">

<string>SimSun</string>

</test>

<edit name="family" mode="prepend_first" binding="strong">

<string>Tahoma</string>

</edit>

</match>

E .the gnome-terminal vim will work perfectly with the gnome-terminal ,the rvxt should be needed, no CJK needed.

===============================================================

F.MozillaFirebird one user use the same one profile ---it makes one window use one profile originally !!! shit!

scratch the shellscript by following method (full):

#!/bin/bash

MozillaFirebird -remote "openurl($@, new-window)" >& /dev/null || MozillaFirebird $@

if you like tab :

MozillaFirebird -remote "openurl($@, new-tab)">& /dev/null || MozillaFirebird $@

then save as flyfirebird in the same directory with the MozillaFirebird

then ln -s /usr/local/MozillaFirebird/MozillaFirebird /usr/local/bin/MozillaFirebird

then ln -s /usr/local/MozillaFirebird/flyfirebird /usr/local/bin/flyfirebird

take care about the permission in non-root account -x executable!!!

G.stickynotes install automatically in the gnome 2.4

H.stardict : install the stardict rpm for 9.1 can cause the crash of the menu !!!

I. firebird 0.7 flash plugin : use the rpm in the folder

J. backup the /usr/share/applnk-mdk when after/before install a program that may make the menu crash

L . install the gnome icon copy it to the folder ~/.icons

and choose it from the theme chooser in the gnome if this icon theme works well.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Good luck !!!!

文件夹里有readme 先读!!大家不用复制,粘贴了。我把改好的,需要的文件打好包了。配置文件直接拷贝到目标文件夹覆盖即可。别忘了备份原来的配置文件。

不带字体文件。自己论坛上找吧。从windows里拷也行。

倒,压缩好了700来K,不能发在这里了。我发到论坛上ftp里了。

文件夹 Mandrake9.2-PP 便是。

这个zip在9.2下由KDE制作。包括:

fonts.dir

fonts.scale

encodings.dir

fonts.conf 其中withmozilla的可以解决firebird,mozilla ,galeon,gdm 菜单字体,网页字体 乱码,难看的问题。

xft2-2.1.1-3mdk.firefly.i586.rpm

gtkrc.zh_CN

flash插件 稳定 rpm

flyfirebird firebird 在一个用户中可以打开多个单独的窗口而只用一个profile的启动脚本。要不然要用到多个profile ,或者老是要从菜单上和键盘开新窗口。这个作为建立启动器用。

下载地址:

http://download.linuxsir.org/Mandra...9.2PPneeded.zip

在这里也可以下载到,我的屏幕效果图:

http://www.linuxfans.org/nuke/modul...nfo&did=485

英文步骤在下面这篇帖子的附件里。PPstepfor9.2

唉。笨人有笨办法。凌晨三点整啊。论坛的时间设置不对啊。睡喽。老爸又要说我了。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有