[i=s] ±¾Ìû×îºóÓÉ Áõ³å ÓÚ 2009-7-10 17:50 ±à¼ [/i]
ºº»¯ÃÀ»¯Debian + WindowMaker×ÛÊö
http://www.chinalinuxpub.com/bbs/showthread.php?t=27336
ΪʲôѡÔñLinux£¿
LinuxÊÇÎȶ¨µÄ¡£µ«ÊÇLinuxÖ»ÊÇÒ»¸öºËÐÄ£¬ËùÒÔÎÒÃÇÐèÒª¸ü¶àµÄ¶«Î÷¡£³ýÁËÎȶ¨Ö®Í⣬ÎÒÃÇÐèÒªÒ»¸öÓÐÁ¼ºÃÐÔÄܵģ¬¶àÓû§²Ù×÷ϵͳ£¬°üº¬Îĵµ£¬ÒÔ¼°ÓµÓÐÓÅÒìµÄ¼æÈÝÐÔ¡£LinuxÖ§³ÖºÜ¿í·¶Î§µÄÓ²¼þ£¬ÎÒÔÚi386£¬SPARCºÍPowerPC±Ê¼Ç±¾µçÄÔÉ϶¼Ê¹ÓÃLinux¡£Èç¹ûÄã²»ÖªµÀÄãÐèÒªµÄUNIXϵͳӦ¸ÃÊÇʲô£¬ÄãÒ²ÐíÓ¦¸ÃÔĶÁÏÂÃæµÄÁ´½Ó£ºhttp://www.unix-systems.org/¡£
ΪʲôѡÔñDebian GNU/Linux£¿
Debian GNU/LinuxÊÇÒ»Ì×°üº¬Linux×÷ΪºËÐĵġ¢ÓµÓÐÒ»¸ö½Ð×öAPTµÄÓÅÐãÈí¼þ¹ÜÀí³ÌÐòµÄ·¢ÐÐÌ×¼þ¡£ËüÊÇÃâ·ÑµÄ¡¢·ÇÉÌÒµÐÔÖʵġ¢¸ßÖÊÁ¿µÄ²¢Çҽṹ·Ç³£ÇåÎúµÄϵͳ¡£Äã¿ÉÒÔÔÚºÜСµÄÓ²ÅÌÉÏ°²×°ËüÈí¼þµÄ°²×°ºÜ·½±ã(ûÓÐÇý¶¯Æ÷×ÖĸºÍ×¢²á±íÎļþ)¡£Ò²Ã»Óз³È˵ÄÐí¿ÉÖ¤ÖƶȻò¹æ¶¨ÊÔÓÃÆÚÏÞµÄ×¢²áÐòÁкš£¸üûÓв¡¶¾¡£ÐèÒªÁ˽â¸ü¶àµÄ¹ØÓÚDebianµÄ֪ʶÇëÇ°Íùhttp://www.debian.org/intro/why_debian¡£
¸ü¶àµÄ¹ØÓÚDebianÔÚÒÔÏÂÍøÖ·£º
http://www.debianplanet.org/
http://www.debianhelp.org/
ͨ¹ýÏÂÃæµÄÁ´½Ó¿ÉÒÔÏÂÔØÒ»·Ý¿½±´£º
www.linuxiso.org/distro.php?distro=4 ´óÔ¼ 633 MB (¿É¹âÅÌÆô¶¯µÄ .iso Îļþ£¬°üº¬i386£¬ppc£¬alpha sparcϵͳ)
markybobdeb.sourceforge.net/elf ´óÔ¼ 33 MB (¿É¹âÅÌÆô¶¯µÄ .iso Îļþ£¬°üº¬ i386ϵͳ)
http://www.linuks.mine.nu/debian/floppy/ ´óÔ¼ 3 µ½ 4£¬5 MB (°²×°Æô¶¯ÈíÅÌ£¬°üº¬i386, alpha, arm, m68k, ppc and sparcϵͳ)
ΪʲôѡÔñWindowmaker£¿
Õâ¸öÊÀ½çÉϲ»Ö»ÓÐKDEºÍGnome¡£ÎÒ²»ÐèÒªÒ»¸ö×ÀÃæ»·¾³£¬µ«ÊÇ£¬ÎÒÈÔÈ»¿ÉÒÔʹÓÃKDEºÍGnomeµÄÓ¦ÓóÌÐò¡£ÓÐһЩÆäËûµÄÒ²ÐíÊʺÏÄ㣺sawfish£¬icewm£¬orobus£¬amiwm£¬ion£¬blackbox£¬englightenment£¬afterstep¡£»¹Óиü¶àµÄ£¬ÇëÄã¸æËßÎÒ¡£Ò»¸öWindowMakerÒѾ×ã¹»ÁË¡£WindowMaker·Ç³£ÈÝÒ×ʹÓ㬿´ÆðÀ´ºÜƯÁÁ£¬¹¤×÷µÃºÜÁ÷³©£¬ÉõÖÁÊÇһ̨Pentium100Ö»ÓÐ64MBÄÚ´æµÄµçÄÔҲûÎÊÌâ¡£Ëü¿´ÆðÀ´µ½µ×ÊÇʲôÑù×ӵģ¿Õâ¶ùÊÇÒ»¸öÎÒµÄЧ¹û£º
http://www.linuxforum.net/forum/files/332369-space2.jpg
°²×°µÄ×¼±¸¹¤×÷£º
°²×°×î»ù±¾µÄDebianGNU/Linux£¬Ñ¡Ôñ×îС»¯°²×°£¬È»ºóÐÞ¸ÄÄãµÄ/etc/apt/sources.list£¬°ÑϵͳÐ޸ijÉunstableµÄ°æ±¾£¬ÒòΪÎÒÃÇÐèÒª°²×°×îа汾µÄÈí¼þ£¬ËäÈ»woodyÒѾ±È½ÏÐÂÁË£¬µ«ÊÇDebian×î´óµÄ÷ÈÁ¦¾ÍÊÇÍøÉÏÉý¼¶£¬ÎªÊ²Ã´²»³¢ÊÔһϡ°²»Îȶ¨¡±µÄ°æ±¾ÄØ£¿¾¹ýÎҵIJâÊÔ£¬¾ø¶Ô°²È«¡£È»ºóÖ´ÐÐapt-getupdate¡£½ÓÏÂÀ´£¬°²×°Ò»Ð©»ù±¾µÄÈí¼þ£¬Èç¹ûÐèÒªµÄ»°£¬ÕâÑù×ŵÄÄ¿µÄÊÇ·½±ãÓÐһЩÅóÓÑÐèÒª±àÒëÉù¿¨»òÔòÏÔ¿¨µÈµÈµÄ¶«Î÷¡£µ±È»£¬Èç¹ûÄãµÄϵͳ¿ÉÒÔÍòÈ«µÄÓ²¼þ¼æÈÝ£¬¾Í¿´ÏÂÒ»²½°É¡£
apt-get install xfree86-common xserver-xfree86 xserver-common xbase-clients xfonts-base
ÕâÒ»²½°²×°×î»ù±¾µÄX Window System£¬ÎÒÃÇ¿ÉÒÔÓÃdpkg-reconfigure xserver-xfree86ÅäÖÆÎÒÃǵÄXϵͳ¡£µ±È»ÎÒÍƼö´ó¼ÒÔÙ°²×°xfonts-100dpiºÍxfonts-75dpiÁ½¸ö×ÖÌå°ü¡£»òÔò¾ÍÓÃtaskselÀïÃæµÄX Window SystemÑ¡Ïî°²×°Xϵͳ°É¡£µ±È»²»Òª°²×°KDEºÍGnome£¬ÎÒÃǵÄÄ¿µÄÊÇWindowMaker!
apt-get install wmaker wmaker-data wmakerconf wmakerconf-data
ÕâÒ»²½°²×°×î»ù±¾µÄWindowMakerϵͳ£¬ÔÚÕâ֮ǰ£¬ÎÒÍƼö´ó¼Òͨ¹ýtasksel°²×°¼òÌåÖÐÎÄ»·¾³£¬ÒòΪÎÒÃÇÄ¿µÄÊÇÅäÖÆÖÐÎĵÄWindowMakerÂï¡£
ÏÖÔÚÎÒÃÇÖ´ÐÐstartxÓ¦¸Ã¿ÉÒÔÆô¶¯WindowMakerÁË£¬ÔÚ¼ÌÐøºº»¯ÒÔÇ°£¬ÎÒÃDZØÐè±£Ö¤WindowMakerÄܹ»Æô¶¯¡£
ºº»¯£º
°´ÕÕÎÒÃÇÖظ´N´ÎµÄ·½·¨À´Ìí¼Ósimsun×ÖÌå°É£º´Óijһ¸öÇþµÀµÃµ½simsun.ttc×ÖÌåÎļþ¡£ÎÒÊÇ´ÓÎÒµÄXPÀïÃæÕÒµ½µÄÕâ¸ö×ÖÌ壬ËùÒÔÎÒ°ÑËü¿½±´µ½/usr/X11R6/lib/X11/fonts/xp/Ŀ¼ÏÂÃ棬ȻºóÔÚÕâ¸öĿ¼ÀïÃ潨Á¢Á½¸öÎļþfonts.dirºÍfonts.scale£¬ËüÃÇÄÚÈÝÒ»Ñù£º
11
simsun.ttc -misc-fixed-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
simsun.ttc -misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.2:simsun.ttc -misc-simsun-medium-o-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.4:simsun.ttc -misc-simsun-medium-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.4:simsun.ttc -misc-simsun-medium-ri-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.2:simsun.ttc -misc-simsun-medium-ro-normal--0-0-0-0-c-0-gb2312.1980-0
ab=y:simsun.ttc -misc-simsun-bold-r-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.2:ab=y:simsun.ttc -misc-simsun-bold-o-normal--0-0-0-0-c-0-gb2312.1980-0
ai=0.4:ab=y:simsun.ttc -misc-simsun-bold-i-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.4:ab=y:simsun.ttc -misc-simsun-bold-ri-normal--0-0-0-0-c-0-gb2312.1980-0
ai=-0.2:ab=y:simsun.ttc -misc-simsun-bold-ro-normal--0-0-0-0-c-0-gb2312.1980-0
È»ºóÐÞ¸Ä/etc/X11/XF86Config-4Îļþ£¬ÔÚSection "Files"ÀïÃæÌí¼ÓÒ»ÐÐ
FontPath "/usr/X11R6/lib/X11/fonts/xp"
ÔÚSection "Module"ÀïÃæÌí¼Ó
Load "xtt"
×¢ÏûµôLoad "freetype"£¬¼òµ¥µÄÔÚÇ°ÃæÌí¼ÓÒ»¸ö#¾Í¿ÉÒÔÁË¡£
ÐÞ¸Ä/etc/X11/XftConfigÎļþ£¬ÔÚ×îÇ°ÃæÌí¼ÓÒ»ÐÐ
dir "/usr/X11R6/lib/X11/fonts/xp"
ÒòΪÎÒÃÇ°²×°ÁËloaclesÈí¼þ°ü£¬ËùÒÔÎÒÃÇÓ¦¸ÃÒѾѡÔñÁËϵͳµÄÓïÑÔ»·¾³£¬ÎÒÑ¡ÔñµÄÊÇzh_CN.gb2312£¬Èç¹ûÄã¸ã´íÁË£¬¾ÍÖ±½ÓÐÞ¸Ä/etc/locale.genÎļþ£¬È»ºóÖ´ÐÐ
loocal-gen
export LANGUAGE=zh_CN.GB2312
export LC_ALL=zh_CN.GB2312
export LANG=zh_CN.GB2312
ÏÖÔÚÆô¶¯startx£¬ÔËÐÐcpanel£¬Ò²ÐíÐèÒªµÈÒ»¶Îʱ¼ä¡£È»ºó¾ÍÑ¡ÔñÐèÒªµÄ×ÖÌå¡£
¹Ø±ÕWindowMaker£¬ÖØÐÂÆô¶¯WindowMaker£¬ÏÖÔÚÐ޸ĵÄÄÚÈݺÜÖØÒª£º
ÐÞ¸ÄÄãµÄÓû§Ä¿Â¼ÏÂÃæ.gtkrc_zh.CNÎļþ£¬Õâ¸öÎļþÊǸղÅcpanel×Ô¶¯²úÉúµÄ£¬ÎÒÐ޸ijÉΪÒÔÏÂÄÚÈÝ£º
style "gtk-default-zh-cn" {
fontset = "-misc-simsun-medium-r-normal-*-*-100-*-*-c-*-gb2312.1980-0,\
-adobe-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-*"
}
class "GtkWidget" style "gtk-default-zh-cn"style "gtk-default-zh-cn"
¼ÌÐøÐÞ¸Ä.xsessionÎļþ£¬ÎÒÊÇÓõÄxsimÊäÈë·¨£¬´ó¼Ò¿ÉÒÔÀàËƵÄÐÞ¸Ä
LANG=zh_CN.GB2312
LC_ALL=zh_CN.GB2312
LC_CTYPE=zh_CN.GB2312
KDE_LANG=zh_CN.GB2312
export LANG LC_ALL LC_CTYPE KDE_LANG
export XMODIFIERS=@im=XSIM
xsim &
exec wmaker
killall xsim
ÐÞ¸ÄGNUstep/Defaults/WMGLOBALÎļþ£º
{
MultiByteText = YES;
}
ÔÙÐÞ¸ÄGNUstep/Defaults/WindowMakerÎļþ£¬°ÑËùÓеÄÃèÊö×ÖÌåµÄµØ·½Ð޸ijɣº
"-misc-fixed-medium-r-normal-*-*-100-*-*-c-*-gb2312.1980-0,-*-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*"
Ò²¾ÍÊÇÇ°ÃæÊÇÖÐÎÄ×ÖÌ壬ºóÃæÊÇÔÀ´¾ÍÓеÄÓ¢ÎÄ×ÖÌ壬ÖмäÓÃ,¸ô¿ª¡£
ºÃÁË£¬ÐÞ¸ÄÍê³É£¬ÍƳöWindowMakerÖØÐÂÆô¶¯Ëü¾Í¿ÉÒÔÁË¡£
²»ÖªµÀ´ó¼ÒÊDz»ÊǶ¼³É¹¦ÁË£¿
½ÓÏÂÀ´ÎÒÃÇÐèÒª°²×°Ò»Ð©WindowMakerÌØÓеÄDOCKAPP£¬Ò²¾ÍÊÇÔÚÆÁÄ»×ó±ßÄÇÒ»ÅŶ«Î÷£¬ÎÒÍƼö´ó¼Ò°²×°ÒÔÏÂһЩ£º
wmclock£º²»ÓÃ˵Ҳ֪µÀÕâÊÇÒ»¸öʱÖÓ
mount.app£ºÕâÊÇÒ»¸öºÜ·½±ãµÄ¹ÒÔغÍжÔØÈíÇý¹âÇýµÄ¶«Î÷
wmmusic£ºÒ»¸öºÜ·½±ãµÄ¿ØÖÆxmmsµÄÈí¼þ
wmmixer£ºÒ»¸öÒôÁ¿¿ØÖÆÈí¼þ
wmnd£ºÒ»¸öºÜ²»´íµÄÍøÂçÁ÷Á¿¼àÊÓÈí¼þ
ºÃÁË£¬»¹ÐèҪʲôÄØ£¿´ó¼ÒÒ»ÆðÍƼö°É
litkt ÓÚ 2009-07-11 17:07:12·¢±í:
×Ô¼ºÐ´¸öеIJ»¾ÍµÃÁË?
ÏÖÔÚ×ÖÌåºÜ¼òµ¥ÁË, Íù.fontsĿ¼ÏÂÒ»·Å¾ÍµÃ.
ÒòΪType1×ÖÌåÖÊÁ¿¸ßÓÚTureType,ËùÒÔÔÚ°²×°XorgµÄʱºò°²×°gsfontsºÍgsfonts-X11¼´¿É(ÓÃdselectÑ¡Ôñ,ͬʱ²»Ñ¡ÈκÎttf).
ÁíÍâÏÂÔغº×Öttf×ÖÌå,´Ógnu.orgºÍpackages.debian.org϶¼ÐÐ,ÏÂ.tar.gzÎļþ¼þ,½âѹºó×°ÔÚ.fontsĿ¼ÏÂ.
ÕâÑùµÄºÃ´¦ÊÇÉý¼¶µÄʱºò²»ÓÃÔÙÉý¼¶Ìå»ýÅÓ´óµÄºº×Ö×ÖÌåÁË,½ÚÔ¼´ø¿íºÍʱ¼ä.
ÎĶ¦¼ò±¨ËεĵãÕóºÜºÃ,ÊʺÏÓÃÓÚÆÁÄ»ÏÔʾ.ÓÃÖÐÒ×ϵÁÐ(΢ÈíÓõÄsimsun¾ÍÊÇ)µÄËÎÌåÔÚXorgÀï·´¶øÄ£ºý.
»¨Ã¨ ÓÚ 2009-07-11 14:18:10·¢±í:
ŶÁË£¬ÏÖÔÚÓõÃÊÇTWµÄÔ´£¬¾õµÃÕâ¸öµÄËÙ¶ÈÔÚÎÒÕâÀïÒ»Á÷¡£
Áõ³å ÓÚ 2009-07-11 10:56:12·¢±í:
[i=s] ±¾Ìû×îºóÓÉ Áõ³å ÓÚ 2009-7-11 13:22 ±à¼ [/i]
¶÷£¬ÊǹýʱÁË£¬²»¹ýÎÒÏÖÔÚ¾ÍÊÇÓõÄÕâ¸ö¡£ËäÈ»¹ýʱÁË£¬µ«ÊǸø´ó¼ÒÒ»¸öÌáʾ¡£ÔÎÄÎÒûÓиġ£ÎÒÏë´ó¼Ò¶¼ÄÜ¿´µ½¹ýʱÁË°É£¬ÏÔÈ»¿´ÉÏÈ¥ÄÇʱºòÓõĻ¹ÊÇwoody
¹ýʱµÄ»¹ÓÐxsim£¬Õâ¸öÒѾÔÚdebian°üÁËÕÒ²»µ½ÁË£¬ÏÖÔÚÓÃscim°É¡£
ÎÒÏÖÔÚ¾ÍÊÇÓõÄÕâ¸ö¶«Î÷¡£
Èç¹ûÏëÓõĻ°£¬µ±Äã°²×°µÄʱºò»á¸øÄãÌáʾ£¬Ê²Ã´´úÌæÁËËü£¬°´ÕÕÌáʾ°²×°¾ÍÐÐÁË¡£
¶÷£¬ºº»¯ÄØ£¬ÄÇʱºò»¹Ã»ÓÐÎÄȪ΢Ã׺ڰɡ£
¿ÉÒÔÖ±½Ó°²×°¸öscim-pinyin£¬»á×Ô¶¯°ïÄã°²×°ÖÐÎÄ×ÖÌ壬ȻºóÉèÖÃÏÂloacles£¬¸ÄÒ»ÏÂÓû§µÄ»·¾³±äÁ¿¾ÍÐÐÁË¡£
litkt ÓÚ 2009-07-11 10:25:15·¢±í:
[i=s] ±¾Ìû×îºóÓÉ litkt ÓÚ 2009-7-11 10:26 ±à¼ [/i]
Ôç¹ýʱÁ˵ÄÐÅÏ¢.
ÔçXorgÁË,»¹Xfree86ÄØ.
ÃÀ»¯ÓÃDebian×Ô¼ºÌṩµÄ×ÖÌå¾ÍºÃ.
×ÖĸÎÄ×ÖÓÃgsfontsºÍgsfonts-x11,ºº×ÖÓÃÎĶ¦µÄб¨ËμòÖп¬ºÍÎÄȪæä΢Ã׺ھ͹»ÓÃÁË.
¾¡Á¿²»ÓÃ˽ÓаæȨ×ÖÌå,³ý·ÇÄã´òËãÌÍÒø×Ó .
Áõ³å ÓÚ 2009-07-10 21:38:54·¢±í:
http://man.ddvip.com/linux/debian/aptitude/index.html
ÕâÀïÓиöaptitude ¼òÃ÷ÊÖ²á
Áõ³å ÓÚ 2009-07-10 21:29:07·¢±í:
[i=s] ±¾Ìû×îºóÓÉ Áõ³å ÓÚ 2009-7-10 21:42 ±à¼ [/i]
°²×°ºÃºóÊÂÓÉaptµÄ£¬¿ÉÒÔ×Ô¼ºÉèÖÃÏÂÔ´È»ºó°²×°aptitude»òÕßÐÂÁ¢µÃʲôµÄ¡£Ô´ÔÚ/etc/apt/sources.listÀïÃæÉèÖá£viÓò»Ë³ÊֵĻ°¿ÉÒÔÓÃnano¡£
Ô´µÄ»°£¬¿ÉÒÔʹÓÃhttp://ftp.debian.org/debianÕâÒ»¸ö£¬¾ßÌåÉèÖôóÌåÈçÏ£º
deb http://ftp.debian.org/debian lenny main
deb http://ftp.debian.org/debian lenny contrib
deb http://ftp.debian.org/debian lenny non-free
deb-src http://ftp.debian.org/debian lenny main
deb-src http://ftp.debian.org/debian lenny
deb-src http://ftp.debian.org/debian lenny non-free
ϲ»¶ÆäËûÔ´µÄ»°¿ÉÒԸıäÒ»ÏÂhttp://ftp.debian.org/debianÕâÀ±ÈÈç±ä³Éhttp://ftp.tw.debian.org/debian»òÕßhttp://mirrors.163.com/debianµÈ£¬´óÌåÐÎʽ¾ÍÊÇÕâÑùµÄ¡£
Ìí¼ÓÔ´ºó¿ÉÒÔÖ´ÐÐapt-get update£¬È»ºó¾ÍÄÜ°²×°×Ô¼ºÏ²»¶µÄÈí¼þÁË¡£
±ÈÈ磺
apt-get install synaptic£¨ÐÂÁ¢µÃ£©
»òÕß
apt-get install aptitude
»¨Ã¨ ÓÚ 2009-07-10 20:08:47·¢±í:
ÎҼǵÃÈç¹ûÔÚCD¹âÅÌ°²×°Ê±²»Ñ¡ÔñÁªÍø°²×°£¬Ò²¾ÍÊDz»ÁªÍø¸üеĻ°£¬°²×°Ê±Ã»Ê²Ã´Ì«¶àµÄ¶«Î÷£¬¼ÇÒä×îÉîµÄ¾ÍÊÇûÓиüйÜÀíÆ÷£¬Ö÷Òª¾ÍÊÇÕâЩ³£ÓõĹÜÀíÈí¼þºÍÓ¦ÓÃÈí¼þ£¬Áõ³åÄܲ»ÄÜ°ÑһЩ³£ÓõĹÜÀíÈí¼þºÍÓ¦ÓÃÈí¼þµÄ°²×°½²Ò»Ï£¬¾ÍÊÇÄÇЩÁªÍøÓеģ¬¶ø²»ÁªÍøûÓеġ£
¶ÔÁË£¬»¹ÓÐһЩÆäËüµÄ×ÖÌå¡£