ºìÁªLinuxÃÅ»§
Linux°ïÖú

RedHat Linux 9.0ÃÀ»¯·½°¸

·¢²¼Ê±¼ä:2005-12-04 18:01:29À´Ô´:ºìÁª×÷Õß:ºãÉÆϲ
ÓÐÁ½µãÒªÊÂÏÈ˵Ã÷µÄ£ºÊ×ÏÈ£¬ÎÒµÄϵͳÊÇRedHat 9.0£¬ÎÒ²»Äܱ£Ö¤ÎÒµÄÃÀ»¯·½·¨ÔÚËùÓеķ¢ÐаæÉ϶¼ÄÜÕý³£Ê¹Óã¬ÊÇ·ñ²ÉÓã¬Çë´ó¼Ò×Ô¼º¿¼ÂÇ£»Æä´Î£¬Èç¹ûÄãÒÔÇ°ÓùýÁËÆäËûµÄÃÀ»¯·½·¨»òÊÇÃÀ»¯°ü£¬Çë»Ö¸´µ½ÃÀ»¯Ç°µÄ״̬£¬ÒòΪÄãʹÓõÄÃÀ»¯·½·¨£¨°ü£©¿ÉÄܸĶ¯ÁËϵͳµÄÉèÖã¬ÎÒ²»Äܱ£Ö¤ÎÒµÄÃÀ»¯·½·¨ÔÚÄãµÄϵͳÉÏÄÜ´ïµ½Ô¤ÆÚµÄЧ¹û

ÇëÒÔrootÓû§µÇ½£¬ÈÃÎÒÃÇ¿ªÊ¼°É£¡

1. ¿½±´WindowsµÄ×ÖÌåÎļþµ½LinuxÖÐ

²»ÓÃ˵ÁË°É£¬ÏÖÔڱȽϺÿ´µÄ¶øÇÒÈÝÒ׸㵽µÄ×ÖÌå¾ÍÊÇWindowsµÄ×ÖÌåÁË(²»¹ý»¹ÊDz»ÒªÔÚÍøÉÏÉ¢·¢£¬×Ô¼ºÓþÍÐÐÁË£¬Ëµ²»¶¨±»Microsoft¸æÁË£¬ËäȻ˵²»ÅÂËü£¬µ«ºÎ±ØÈ¥ÈÇÄǸöÂé·³ÄØ^_^)

²Ù×÷£º °Ñsimsun.ttc¡¢tahoma.ttfºÍtahomabd.ttf¿½µ½×Ô¼º´òËã·Å×ÖÌåµÄĿ¼ÖУ¬¼ÙÉèÎÒÃÇ°ÑËüÃÇ¿½µ½/usr/share/fonts/zh_CN/TrueType/simsun/ÏÂ,½«simsun.ttc¸ÄÃûΪsimsun.ttf¡£

Tips£º WindowsµÄ×ÖÌåÎļþÔÚ$windowsĿ¼ÏµÄFontsĿ¼ÖУ¬Ò»°ãWin98¡¢WinXP¡¢Win2003ÏÂÊÇWindows\Fonts£¬Win2000ÏÂÊÇWINNT\Fonts£¬¿ÉÒÔ½¨Ò»¸öĿ¼/mnt/win/£¬½«Windowsϵͳ·ÖÇø¹Òµ½¸ÃĿ¼ÉÏ£ºmount -t vfat /dev/hda1 /mnt/win£¬µ±È»£¬¾ßÌåÊÇhd¶àÉÙ¾ÍÒª¿´Äã·ÖÇøµÄÇé¿öÁË,ÊÇ·ñÓÃvfatÒ²ÊÇÈç´Ë(Èç¹ûÄã²»ÊÇÓõÄfat32)



2. ÈÃLinuxÈÏʶмÓÈëµÄWindows×ÖÌå

ÕâÒ»¹¤×÷£¬ÎÒÃÇ¿ÉÒÔÈÃLinux×Ô¼ºÍê³É(ʹÓÃxfs·þÎñ)£¬ÎÒÃÇÖ»ÐèÒª¸æËßLinux´æ·Å×ÖÌåÎļþµÄλÖþͿÉÒÔÁË

²Ù×÷£º ±à¼­/etc/X11/fs/configÎļþ£¬ÔÚÆäÖмÓÈëÎÒÃÇ´æ·Å×ÖÌåµÄĿ¼
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/cyrillic,
/usr/X11R6/lib/X11/fonts/TTF,
/usr/share/fonts/default/Type1,
/usr/share/fonts/zh_CN/TrueType/simsun, <<====== ÎÒÃǼÓÈëµÄ´æ·Å×ÖÌåµÄĿ¼£¬×¢Òâ×îºóµÄ¶ººÅºÅ
/usr/share/fonts/zh_CN/TrueType,
/usr/share/fonts/zh_TW/TrueType,
/usr/lib/openoffice/share/fonts/truetype

Tips£º£º ÏÂÃæÕâÒ»²Ù×÷µÀÀíÉÏËƺõ¿ÉÒÔÊ¡È¥£¬ÎÒÊÇûʡ£¬Äã¿ÉÒÔÊ¡È¥¿´¿´ÊÇ·ñÄÜÐÐ

²Ù×÷£º ±à¼­/etc/X11/XF86configÎļþ(»òÕßÊÇ/etc/X11/XF86config-4)£¬¼ÓÈë´æ·Å×ÖÌåµÄĿ¼
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/share/fonts/zh_CN/TrueType/simsun" <<=== ÎÒÃǼÓÈëµÄ´æ·Å×ÖÌåµÄĿ¼£¬×¢Òâ·ÅÔÚÏÂÃæÕâÒ»ÐеÄÇ°ÃæÃæ
FontPath "unix/:7100"
EndSection



3. ¸øϵͳ´ò²¹¶¡¶¡

ÎÒÃÇÐèÒª¸øϵͳ´òÉÏһЩ²¹¶¡£¬ÒÔÐÞÕýX-Windows¶Ôºº×ÖµÄÏÔʾ£¬ÏµÍ³
ĬÈϵÄÏÔʾÊDZȽÏÄÑ¿´µÄ(ÎÒÊÇÕâôÈÏΪ£¬ÓÐЩÈ˵¹²»ÔÚÒâÕâ¸ö)

²Ù×÷£º ÏÂÔع«ÉçµÄ²¹¶¡°ü£ºhttp://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=mydown&did=464
ÏÂÔØfireflyµÄXft2²¹¶¡°ü£º£¨¸½¼þ1£©
°²×°²¹¶¡°ü£º°Ñfans-Xft2.tar.gzºÍxft2-2.1.1-3mdk.firefly.i586.rpm¿½µ½ÄãµÄ¹¤×÷Ŀ¼£¬
È»ºótar xvzf fans-Xft2.tar.gz£¬½øÈë./fans-Xft2/i386/£¬È»ºórpm -Uvh *.rpm --force
»Øµ½ÄãµÄ¹¤×÷Ŀ¼£¬È»ºórpm -ivh xft2-2.1.1-3mdk.firefly.i586.rpm --force

Tips£º ¹«Éç°üÖеÄxft°ü²»Óð²×°£¬Ö±½Ó°²×°fireflyµÄXft2°ü¾ÍÐÐÁË£¬²»¹ýÈç¹ûÄãÏë͵ÀÁÉÙ´ò¼¸ÌõÃüÁîµÄ»°£¬¾Í°´ÉÏÃæ
˵µÄÄÇÑù¾ÍÐÐÐÐ



4. ±à¼­ÅäÖÃÎļþ£¬ÈÃϵͳÕýÈ·ÏÔʾºº×Ö

µ½Õâʱ£¬ÏµÍ³ÒѾ­ÓֺܺõÄÏÔʾЧ¹ûÁË£¬µ«Äã»á·¢ÏÖ»¹²»ÄÜÕýÈ·ÏÔʾWindows×ÖÌå²¢ÇÒûÓдÖÌ壬ËùÒÔÎÒÃÇ»¹ÐèÒª
½øÒ»²½±à¼­ÅäÖÃÎļþ£¬ÈÃϵͳÕýÈ·ÏÔʾWindows×ÖÌåÒÔ¼°ÆäËûЧ¹û

²Ù×÷£º ±à¼­/etc/X11/XF86configÎļþ(»òÕßÊÇ/etc/X11/XF86config-4)£¬È¥µôModuleÖеÄtype1ºÍfreetype,¼ÓÉÏxtt
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
EndSubSection
# Load "type1" <<=== Ç°Ãæ¼ÓÉÏ"#"×¢Ê͵ô
# Load "freetype" <<=== Ç°Ãæ¼ÓÉÏ"#"×¢Ê͵ô
Load "xtt" <<=== ¼ÓÉÏÕâÒ»ÐÐ
Load "glx"
EndSection

Tips£º ¶¼Ëµtype1¡¢freetype»áºÍxtt³åÍ»£¬µ«ÎÒÊÔÁË£¬Èç¹û²»È¥µôtype1ºÍfreetype£¬×ÖÌåÈÔÄÜÕý³£ÏÔʾ£¬²»ÖªºÎ¹Ê

²Ù×÷£º ±à¼­/etc/fonts/fonts.conf£¬¼ÓÉÏ´æ·ÅWindows×ÖÌåµÄĿ¼ºÍ¹ØÓÚ´ÖÌåÏÔʾµÄpatch

/usr/X11R6/lib/X11/fonts/Type1
/usr/share/fonts
/usr/share/fonts/zh_CN/TrueType/simsun <<=== ÎÒÃǼÓÈëµÄ´æ·Å×ÖÌåµÄĿ¼
~/.fonts

¼ÓÈëÏÂÃæµÄ´úÂ룬¾ÍÄÜÕý³£ÏÔʾsimsun×ÖÌåµÄ´ÖÌåÁË
¡¡´úÂë:


medium


SimSun


bold



Tips£º Èç¹ûÄã·¢ÏÖÏÔʾµÄÓ¢ÎÄ×ÖÌåÓйý¿íµÄÏÖÏ󣬿ÉÒÔÔÚ/etc/fonts/fonts.confÖмÓÉÏÒÔϵĴúÂë
¡¡´úÂë::


zh-tw
zh-cn
ja
ko


proportional


false





5. ÈÃgtk/gtk2³ÌÐòÕýÈ·ÏÔʾsimsun×ÖÌå

ÏÖÔÚgtk/gtk2³ÌÐò»¹²»ÄÜÕýÈ·ÏÔʾsimsun×ÖÌ壬ÎÒÃÇÐèÒªÐÞ¸ÄÒ»ÏÂgtk/gtk2µÄÅäÖÃÎļþ

²Ù×÷£º ±à¼­/etc/gtk/gtkrc.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"

±à¼­ÄãµÄÓû§HOMEĿ¼ÏµÄ.gtkrc-2.0Îļþ£¬ÐÞ¸ÄĬÈÏÏÔʾµÄ×ÖÌå
include "/home/youraccout /.themes/XXXX/gtk-2.0/gtkrc" <<=== ÕâÒ»Ðаüº¬ÁËÄãʹÓõÄÖ÷ÌâµÄgtk2ÅäÖÃÎļþ£¬ËüÔÚÄãµÄÖ÷ÌâĿ¼ÏµÄgtk-2.0Ŀ¼ÖÐÖÐ
style "user-font"
{
font_name="tahoma 9"
}
widget_class "*" style "user-font"

±à¼­/etc/sysconfig/i18nÎļþ£¬½«ÆäÖÐËùÓеÄ"GB18030"¸Ä³É"GBK"£¬ÕâÊÇÎÒµÄi18nÎļþ
LANG="zh_CN.GBK"
LANGUAGE="zh_CN.GBK:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.GBK:zh_CN:zh"
SYSFONT="lat0-sun16"
SYSFONTACM="8859-15"



6. ÅäÖÃ×ÀÃæ»·¾³

×îºó£¬ÅäÖÃ×ÀÃæ»·¾³£¬½«ÏµÍ³µÄ×ÖÌå¸Ä³ÉWindows×ÖÌå

²Ù×÷£º ÖØÐÂÆô¶¯ÏµÍ³£¬½øÈëX-Windows
Èç¹ûÄãµÄϵͳÊÇKDE£¬¾Í½øÈë¿ØÖÆÖÐÐÄ->Íâ¹ÛºÍÖ÷Ìâ->×ÖÌ壬½«ËùÓеÄ×ÖÌåÉèΪTahoma£¬´óСÉèΪ9£¬½«µÈ¿í×ÖÌåÉèΪSimsun£¬´óСÉèΪ10
Èç¹ûÄãµÄϵͳÊÇGNOME£¬ÎÒ²»ÊÇÌ«ÊìϤ£¬²»¹ý´óÌåÓ¦¸Ã²î²»¶à£¬½«ËùÓÐ×ÖÌåÉèΪTahoma£¬´óСÉèΪ9£¬¾Í¿ÉÒÔÁË

ÖÁÓÚXMMSµÄ×ÖÌ壬ÔÚËüµÄ¹¦ÄÜÉ趨ÖаÑ"ʹÓÃË«×Ö½Ú×ÖÌå"ºÍ"Use X fonts"¶¼¹´ÉÏ£¬È»ºó°ÑÖ÷´°¿Ú×ÖÌåºÍ²¥·ÅÁбí×ÖÌ嶼ÉèΪ
-microsoft-tahoma-medium-r-normal--12-*-*-*-*-*-iso8859-*,-misc-simsun-medium-r-normal--12-*-*-*-*-*-gbk-*
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. Çå×Ó ÓÚ 2006-07-17 09:43:19·¢±í:

    ×ÖÌåÏÔʾÓе㲻ºÃ