10月 20
X11の解像度を最初から1280×800にする方法。
・経緯
VMware Fusion(2.0.6)にFreeBSDをインストールし、
FreeBSD上でxorg.confをvmware-config-tools.plで作成しても
解像度を1280×800に設定することが出来ない。(選択欄にも現れない)
あとでkdeやgnomeなどで変更できるんですが…xorg.confだけで解決したい。
- xorg.conf for OpenBSD 4.4-beta on VMware Fusion
こちらを参考にしました。 - xorg.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | # VMware SVGA Section "Module" Load "dbe" # Double buffer extension SubSection "extmod" EndSubSection Load "type1" Load "freetype" # Load "glx" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" # FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" # ModulePath "/usr/X11R6/lib/modules" EndSection Section "ServerFlags" # Option NoTrapSignals EndSection Section "InputDevice" Identifier "VMware Keyboard" Driver "keyboard" Option "AutoRepeat" "500 30" Option "XkbRules" "xfree86" Option "XkbModel" "jp106" Option "XkbLayout" "jp" Option "XkbCompat" "" EndSection Section "InputDevice" Identifier "VMware Mouse" Driver "vmmouse" Option "Protocol" "ps/2" Option "Device" "/dev/psm0" Option "ZAxisMapping" "4 5" # Option "Emulate3Buttons" # Option "Emulate3Timeout" "50" # Option "ChordMiddle" EndSection Section "Device" Identifier "VMware SVGA" Driver "vmware" EndSection Section "Screen" Identifier "Screen0" Device "VMware SVGA" Monitor "vmware" DefaultDepth 24 # DefaultDepth 16 # Don't specify DefaultColorDepth unless you know what you're # doing. It will override the driver's preferences which can # cause the X server not to run if the host doesn't support the # depth. Subsection "Display" Depth 4 Modes "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "800x600" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1280x800" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "VMware Keyboard" "CoreKeyboard" InputDevice "VMware Mouse" "CorePointer" EndSection Section "Monitor" Identifier "vmware" VendorName "VMware, Inc" ModelName "Monitor" HorizSync 31.5 - 100.0 VertRefresh 59.0 - 75.0 Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 EndSection |