2006/Apr/29

วันนี้เซ็งมาก.......เขียนแต่โปรแกรม และเขียนโปรแกรม นอน ตื่น และไปเขียนโปรแกรม นอน ตื่น เขียนโปรแกรม T_T เลยไปเอานมมากินเลยสังเกตุเห็นว่าเอาแก้ว johnnie walker มากินนมอ่า... มันช่างเป็นอะไรที่ปิ๊งทันที อย่าลืมทานนมนะครับ ปล.รูปด้านล่างเปลี่ยนคำนิดนึงเพื่อเรื่องลิขสิทธิ์เครื่องหมายการค้า

Xorg

การติดตั้งไม่มีอะไรยุ่งยากเลยใน vmware นั้นใช้เทคนิคเล็กน้อยในการเซ็ตจอ 1024x768

# cd /usr/ports/x11/xorg
# make fetch-recursive

รอให้มันดูดไฟล์มาก่อน กลับมาบ้านหรือตื่นนอนค่อยมา make install clean

# make install clean

รอ 1 วันเต็ม ๆ ทิ้งเครื่องเอาไว้ 1 วันในคู่มือมันบอกต้องมีเนื้อที่มากกว่า 4G นี่ทำจริง 4G นะไม่เหลือเลยมันล่อไปมากว่านั้นต้องเผื่อไว้สัก 6Gเลยต้องลง FreeBSD ใหม่เลย

ที่สำคัญครับ xorg.conf copy ไปใช้ได้เลย ไว้ใน /etc/X11/ นะครับเสร็จแล้วลอง startx ดูจะใช้ mode ความละเอียดที่ 1024 ได้ครับ

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/URW/"
EndSection

Section "Module"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0-54.0
VertRefresh 50.0-110.0

option "dpms"
EndSection

Section "Device"
Identifier "Card0"
Driver "vmware"
VendorName "VMware Inc"
BoardName "[VMware SVGA II] PCI Display Adapter"
BusID "PCI:0:15:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubSection
EndSection

บาย ๆๆ ครับทำงานต่อแล้ว ยังไม่ได้ set ภาษาไทยเลยลืมไปแล้วต้องค้น ๆของคนอื่นก่อน อ่อยังไม่ได้ลง X-Window manager เลยผมเลือกลง xfce4 ค่อยมาว่าตอนหน้าครับ

ชื่อ: 
เว็บไซต์: 
คอมเมนต์:




smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
สงสัยต้องแอบ copy ของ Xorg บน Ubuntu มาใช้ ไม่มี vmware อะ
#1  by  veer At 2006-04-29 21:06, 
มีปัญหาทุกครั้ง อีตอนตั้งค่า HorizSync กะ VertRefresh
#2  by  Compman At 2006-04-29 22:27, 
HorizSync 30.0-54.0
VertRefresh 50.0-110.0

ค่านี้ work ครับสำหรับ 1024 x768 เอามาจากจอ crt อีกทีครับ
#3  by  โดม.. At 2006-04-29 23:21, 
อัดจ๋า ไม่ได้เห็นหน้าตาไฟล์นี้มานานหลายปีแล้ว
#4  by  wonam At 2006-05-01 22:22, 

<< Home