歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> Linux資訊 >> 更多Linux

MDK 9.2 完全美化 絕對詳細步驟

  目的:供大家在系統安裝後漢化美化使用。為了兼容性起見,正文為英文。可以在沒有漢化/美化好的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 [email protected] 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 [email protected] 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 [email protected] 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 <[email protected]> # #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.

Copyright © Linux教程網 All Rights Reserved