我的 FreeBSD 配置文件

为了我有个地方保存这个配置文件,也为了想入门的兄弟有个例子,我把我的配置文件放上来。随时更新。

注,这个配置文件以桌面用途为主。

软件:FreeBSD 6.1 RELEASE

硬件:ACER TM 230, Celeron 1.7G + i845GL

/boot/loader.conf

splash_bmp_load="YES"
vesa_load="YES"
loader_logo="beastie"
loader_color="YES"
apm_load="YES"
cpufreq_load="YES"
agp_load="YES"
drm_load="YES"
i915_load="YES"
snd_ich_load="YES"

/etc/rc.conf

apm_enable="YES"
check_quotas="NO"
font8x14="NO"
font8x16="swiss-8x16"
font8x8="swiss-8x8"
keymap="us.iso"
linux_enable="YES"
usbd_enable="YES"
moused_nondefault_enable="YES"
moused_enable="YES"
moused_type="auto"
gdm_enable="YES"

/etc/X11/xorg.conf

Section "ServerLayout"
 Identifier     "Acer TM230"
 Screen      0  "LaptopScreen" 0 0
 InputDevice    "LaptopKeyboard" "CoreKeyboard"
 InputDevice    "LaptopMouse" "CorePointer"
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/"
EndSection

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

Section "InputDevice"
 Identifier  "LaptopKeyboard"
 Driver      "kbd"
 Option      "XkbModel" "pc104"
 Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier  "LaptopMouse"
 Driver      "mouse"
 Option     "Protocol" "auto"
 Option     "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
 Identifier   "LaptopMonitor"
 HorizSync    31.5 - 48.5
 VertRefresh  50.0 - 70.0
 #VendorName   "Monitor Vendor"
 #ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"             # [<bool>]
        #Option     "SWcursor"            # [<bool>]
        #Option     "ColorKey"            # <i>
        #Option     "CacheLines"          # <i>
        #Option     "Dac6Bit"             # [<bool>]
        #Option     "DRI"                 # [<bool>]
        #Option     "NoDDC"               # [<bool>]
        #Option     "ShowCache"           # [<bool>]
        #Option     "XvMCSurfaces"        # <i>
        #Option     "PageFlip"            # [<bool>]
 Identifier  "LaptopCard"
 Driver      "i810"
 VendorName  "Intel Corporation"
 BoardName   "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
 #BusID       "PCI:0:2:0"
 Option      "DRI"  "True"
EndSection

Section "Screen"
 Identifier "LaptopScreen"
 Device     "LaptopCard"
 Monitor    "LaptopMonitor"
 DefaultDepth     24
 SubSection "Display"
  Viewport   0 0
  Depth     16
  Modes    "1024x768"
 EndSubSection
 SubSection "Display"
  Viewport   0 0
  Depth     24
  Modes    "1024x768"
 EndSubSection
EndSection

Section "DRI"
 Mode  0666
EndSection

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值