fontにまつわる XF86Config の編集


freefont やその他のフォント、 あとから入れたものはいちいち
% xset fp+ /usr/X11R6/lib/X11/fonts/freefont
% xset fp rehash
とする必要があるわけなので、フォントを入れたら /etc/X11/XF86Config を編集
#
# XF86Config generated by xconfig
# Please do not edit this file by hand!
# Run xconfig to make changes to the X configuration.
# For advanced users, details about the format of this file
# can be found in the XF86Config man page.

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          0 "Screen0" 0 0
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "Keyboard0"     "CoreKeyboard"
EndSection

Section "Files"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/extra/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/local/"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/75dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/100dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/latin2/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath        "/usr/X11R6/lib/X11/fonts/PEX/"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic/"
        FontPath        "/usr/X11R6/lib/X11/fonts/TrueType/"
        FontPath        "/usr/X11R6/lib/X11/fonts/tt/"
        FontPath        "/usr/X11R6/lib/X11/fonts/ttf-zh/"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath        "/usr/X11R6/lib/X11/fonts/extra/"
        FontPath        "/usr/X11R6/lib/X11/fonts/unicode/"
        FontPath        "/usr/local/fonts/aqua/"
        FontPath        "/usr/local/fonts/freefont/"
        FontPath        "/usr/local/fonts/kochi/"
        FontPath        "/usr/local/fonts/yoz/"
EndSection

Section "Module"
        Load            "dbe"
        Load            "extmod"
        SubSection      "extmod"
          #Option       "omit xfree86-dga"
        EndSubSection
        Load            "type1"
        #Load           "freetype"
        Load            "xtt"
        Load            "bitmap"
        Load            "speedo"
        Load            "pex5"
        Load            "GLcore"
        Load            "glx"
        #Load           "dri"
        Load            "record"
        Load            "xie"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"
        Option          "AutoRepeat"    "500 30"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc101"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol"      "IMPS/2"
        Option          "Device"        "/dev/input/mice"
        #MouseName      "Generic - 3 Button Mouse (USB)"
        Option          "Buttons"       "5"
        Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        HorizSync       31.5-67
        VertRefresh     50-90
        #VendorName     "Generic"
        #ModelName      "Laptop Display Panel 1400x1050"
EndSection

Section "Device"
        Identifier      "Card0"
        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option         "NoAccel" # []
        #Option         "HWCursor" # []
        #Option         "SWCursor" # []
        #Option         "ShadowFB" # []
        #Option         "Rotate" # []
        #Option         "UseBIOS" # []
        #Option         "LCDClock" # 
        #Option         "ShadowStatus" # []
        #Option         "VideoRAM" # 
        Driver          "savage"
        VendorName      "S3"
        BoardName       "ProSavage KN133"
        BusID           "PCI:1:0:0"
        Option          "SWCursor"
        VideoRam        15296
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection      "Display"
                Depth   8
        EndSubSection
        SubSection      "Display"
                Depth   15
        EndSubSection
        SubSection      "Display"
                Depth   16
        EndSubSection
        SubSection      "Display"
                Depth   24
                Modes   "1400x1050"
        EndSubSection
EndSection

Section "DRI"
EndSection

# End of XF86Config.
# Configured by xconfig
# Configured date:
   ←今回 aqua フォント以下ちょろちょろって入れたので、
   こんな感じに pathを通せばOK































































   


Generated with mkdiary.rb