©M¥¿±`¦w¸Ë Debian ¤@¼Ë¨S¦³¤°»ò¯S§O¡A¦b¦w¸Ë¹Lµ{¤¤¿ï¾Ü task-chinese-s(²Åé) ©Î task-chinese-t (ÁcÅé)¡C¦³¤@ÂInª`·N¡A potato ¦w¸Ë®É¡A ¦³¥i¯à¥X²{¦³¨Ç®M¥ó¿ï¤F¡A¦ý¬O¨S¦³¦w¸Ë¤W¡A³o®É»Ýn±z¤â°Ê°õ¦æ dselect¡A ª½±µ¶i¤J Install ¿ï³æ´N¥i¥H¤F¡C
½T»{±zªº /etc/apt/sources.list ³]¸m¥¿½T¡A°õ¦æ©R¥Oapt-get install task-chinese-s (²Åé) ©Î apt-get install task-chinese-t (ÁcÅé)¡C
±q libc6 2.2 ¶}©l locale ÀÉ®×»Ýn±z¦Û¤v¨Ó¥Í¦¨¡C½s¿è /etc/locale.gen¡A ¥h±¼±z»Ýnªº locale ªºª`ÄÀ¡AµM«á¥H root ¨¥÷¨Ó°õ¦æ locale-gen¡C
½T»{±z³]©w¤F¥H¤U°Ñ¼Æ (bash) ¡G
$(HOME)/.bashrc
alias ls=``ls -show-control-chars''
export LC_ALL=zh_CN.GB23122
export LC_CTYPE=zh_CN.GB2312
export LANG=zh_CN.GB2312
export XMODIFIERS=``@im=Chinput''3
stty cs8 -istrip
stty pass8
$(HOME)/.inputrc
set meta-flag on
set convert-meta off
set output-meta on
ª¢¶À¤¤¤å¥¥x¥Ø«e¥u¤ä´© vt100 ²×ºÝÃþ«¬¡A©Ò¥H¦b±Ò°Êª¢¶À¥¥x«e¥ý°õ¦æ export TERM=vt100¡A¤]¥i¥H§â³o±ø©R¥O©ñ¨ì $(HOME)/.bashrc ùØ¡C
½T»{¤w¸g¦w¸Ë¨Ã±Ò°Ê xfs-xtt ¦r«¬¦øªA¾¹¡AµM«á¦b /etc/X11/XF86Config ªº Section ``Files'' ¤p¸`¤¤¥[¤J FontPath ``unix/localhost:7100''¡C
XF4.0.2 ¨Ï¥Î xtt ªº module ¨Ó¤ä´© GB/Big5 ªº TrueType ¦r«¬¡A¤w¸g¤£¦A»Ýn xfs-xtt ¤F¡C
¦b /etc/X11/XF86Config-4 ªº Section ``Files'' ¤p¸`¤¤¥[¤J
FontPath ``/usr/lib/X11/fonts/TrueType''¡A
µM«á±N Load ``freetype'' ´À´«¦¨ Load ``xtt'' ´N¥i¥H¤F¡C
¥i¥H±N FontPath ``unix/:7100'' ª`ÄÀ±¼¡C
Contributed by: mailto:foka@debian.orgAnthony Fok 2001/08/23
¦pªG§A¥Îªº¬O woody/sid ¡A¨Ã¥B x-ttcidfont-conf ª©¥»¬O3.5¥H¤W¡A½Ð¦b /etc/X11/XF86Config-4ªº Section ``Files'' ¥[¤W¡G
FontPath ``/usr/lib/X11/fonts/defoma/TrueType/''
FontPath ``/usr/lib/X11/fonts/defoma/CID/''
Contributed by: mailto:ygh@debian.orgYu Guanghui 2002/01/04
¦pªG±z¥Îªº¬O x-ttcidfont-conf ª©¥» 8 ¥H¤W¡A½Ð°µ¦p¤U×§ï /etc/X11/XF86Config-4ªº Section ``Files'' ¥[¤W¡G
FontPath ``/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/''
FontPath ``/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID/''
Contributed by: mailto:ygh@debian.orgYu Guanghui 2001/10/20
½Ðª`·N¤É¯Å x-ttcidfont-conf ¨ìª©¥» 7 ¥H¤W¡C³oÓª©¥»×¥¿¤F¦b¨Ï¥Î xtt ¦r«¬¦øªA¾¹ ªº®ÉÔ¥u¦³¶ÂÅé©M±×Åé¦rªº°ÝÃD¡C
³o¬O¦]¬°±z±Ò°Ê X ®É¨S¦³¥[¤J -deferglyphs 16 ªº°Ñ¼Æ¡C³o¼Ë¸Ü xfs-xtt ´N ·|¸Õ¹Ï²£¥Í¥þ³¡ªº¦r«¬¡C¦]¦¹n¥Î startx -- -deferglyphs 16 ¨Ó±Ò°Ê X¡C ¦pªG¨Ï¥Î xdm ªº¸Ü¡A´Nn¦b /etc/X11/xdm/Xserver ùØ¥[¤J -deferglyphs 16¡C
XCIN ¨Ï¥Îªº¬O XIM ¨óij¡A¥u¦³¤ä´© XIM ªºµ{¦¡¤~¯à±µ¨ü XCIN ¿é¤J¡C ¦b°õ¦æÀ³¥Îµ{¦¡«e¡An¥ý¹B¦æ XCIN¡A¨Ã¥B³]©w XMODIFIERS=``@im=xcin-zh_CN.GB2312''¡C¥i¥H¦b $(HOME)/.bashrc ùØ¥[¤J export XMODIFIERS=``im=xcin-zh_CN.GB2312''¡C µM«á´N¥i¥H¥Î ctrl+space ¨Ó¿E¬¡¿é¤Jªk¡C¦pªG¬O¦b Big5 ¼Ò¦¡¡A½Ð³]©w XMODIFIERS=``@im=xcin''¡F«á±¦pªG¥[¤W ``-zh_TW.Big5'' ´N¤Ï¦Ó¤£¦æ¤F¡C
Contributed by: mailto:foka@debian.orgAnthony Fok 2000/12/10
§ó²³æªº¿ìªk¡A¬O¥ý¤É¯Å¦Ü Debian 2.2r2 ùتº xcin-2.5.2 ª©¡A©Î Debian unstable (woody) ùتº xcin-2.5.2.2 ª©¡AµM«á±z´N¥i¥Hª½±µ±q¿ï³æ±Ò°Ê XShell
XCINterm (Big5) ©Î XCINterm (GB2312)¡A©Î±q¥ô¦ó shell ªº´£¥Ü²Å¹B¦æ xcinterm-big5 ©Î xcinterm-gb)¡A¨t²Î´N·|¦Û°Ê¬°±z¥´¶}¥i¥H¿é¤J¤¤¤åªº xcin ¦øªA¾¹©M crxvt ²×ºÝ¤F¡C
Chinput ¥Ø«eÁÙ¨S¦³¥¿¦¡¯Ç¤J Debian¡A¦]¬° Chinput n¨Ï¥Î UNICON ªº¿é¤Jªk¡A
¦Ó UNICON ÁÙ»Ýn°µ¶i¤@¨Bªº´ú¸Õ¡C±z¥i¥H±q¡G
http://master.debian.org/~ygh/unicon-im_3.0-1_i386.deb
http://master.debian.org/~ygh/chinput_3.0.1-1_i386.deb
¤U¸ü©M¦w¸Ë unicon-im ©M chinput¡C
chinput ¨Ï¥Îªº¤]¬O XIM ¨óij¡A¥u¦³¤ä´© XIM ªºµ{¦¡¤~¯à±µ¨ü¿é¤J¡C
¦b°õ¦æÀ³¥Îµ{¦¡«e¡An¥ý°õ¦æ chinput¡A¨Ã¥B³]©w XMODIFIERS=``@im=Chinput''¡C¥i¥H¦b $(HOME)/.bashrc ùØ¥[¤J export XMODIFIERS=``im=Chinput''¡C
µM«á´N¥i¥H¥Î ctrl+space ¨Ó¿E¬¡¿é¤Jªk¡C»Ýnª`·Nªº¬O¹w³]ªº chinput ®M¥ó¨Ï¥Îªº¬O TrueType ¦r«¬¡C
¸Éµù¡Gchinput ©M unicon-im ¤w¸g¶¶§Q¶i¤J Debian unstable ùر¤F¡C¦U¦ì¨Ï¥Î unstable ªºªB¤Í¡A¥Î apt-get install chinput unicon-im ´N¥i¥H¤F¡C
Contributed by: mailto:ygh@debian.orgYu Guanghui 2000/10/20
ª`·N¡G chinput ¥u¯à¨Ï¥Î16ÂI°}ªº¦r«¬¡C
§A»Ýn¤â°Ê§ï¤@¤U icewm ªº°t¸m¤å¥ó¡A³]©w¤@¤Uµøµ¡ªº¤å¦rªº¤j¤p¡C¥i¥H¥ý±N /etc/X11/icewm/preferences ½Æ»s¬° $(HOME)/.icewm/preferences¡A µM«á×§ï $(HOME)/.icewm/preferences¡C §ä¨ì #TitleFontName="-adobe-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*"¡A ×§ï TitleFontName="-default-song-bold-r-normal--16-160-72-72-c-160-gb2312.1980-0" ©Î TitleFontName="-default-ming-bold-r-normal--16-160-72-72-c-160-big5-0"¡C
Debian ¤¤¤åp¹º