Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XF86Config file
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
shortblack
n00b
n00b


Joined: 10 Oct 2003
Posts: 20

PostPosted: Thu Oct 30, 2003 9:52 am    Post subject: XF86Config file Reply with quote

Question.
Have read somewhere in these forums that cpying the redhat XF86Config file replacing the gentoo configured one :?:
I am asking this because I wish to do so because I have not been able to get a proper looking GUI with gentoo as I would with redhat 8 on my Laptop (Highlander) :opps:

I am a novice linux user but and am not will to give up on gentoo just yet. As the cocept is great.
And the support so far in this forum is second to none :D :D :D

Below I will post the conf fileand any advise links on what i should do or need would be great
:D :D :D :D :D :D


# File generated by anaconda.

Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

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

Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" #Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5 - 90.0
VertRefresh 60.0 - 60.0
Option "dpms"
EndSection

Section "Device"
# no known options
#BusID
Identifier "VESA driver (generic)"
Driver "vesa"
VendorName "VESA driver (generic)"
BoardName "VESA driver (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "VESA driver (generic)"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "2048x1536" "1920x1440" "1600x1200" "1400x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Any help will be great :D :D :D :D :D
Back to top
View user's profile Send private message
jrz
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Sacramento, CA USA

PostPosted: Thu Oct 30, 2003 10:49 am    Post subject: Reply with quote

this is for a computer with:
an nvidia card and nvidia-kernel and nvidia-glx merged and setup
a logitech MX300 usb mouse, setup so cat /dev/input/mouse0 spews garbage until ctrl-c
a microsoft natural keyboard pro
a samsung 955df monitor

Code:

# Joe's ownij XF86Config

#############################################################################
Section "Files"
   RgbPath   "/usr/X11R6/lib/X11/rgb"
   FontPath  "unix/:-1"
EndSection

#############################################################################
Section "ServerFlags"
EndSection

#############################################################################
Section "Module"
#   SubSection "extmod"
#         Option "omit xfree86-dga"
#   EndSubsection
   Load "extmod"
   Load "ddc"
   Load "dbe"   
   Load "type1"
   Load "speedo"
   Load "freetype"
   Load "glx"
EndSection

#############################################################################
Section "InputDevice"
   Identifier "keyboard0"
   Driver     "keyboard"

   Option "AutoRepeat" "500 30"
   Option "XkbRules"   "xfree86"
   Option "XkbModel"   "microsoft"
   Option "XkbLayout"  "us"
EndSection

#############################################################################
Section "InputDevice"
   Identifier "mouse0"
   Driver     "mouse"

   Option "Protocol"      "IMPS/2"
#   Option "Device"        "/dev/input/mouse0"
   Option "Device"        "/dev/input/mice"
   Option "ZAxisMapping"  "4 5"
   Option "Resolution"    "800"
   Option "SampleRate"    "125"
EndSection

#############################################################################
Section "Device"
   Identifier "video0"
   Driver     "nvidia"
#   Driver     "nv"

   Option     "RenderAccel"   "On"
   Option     "UseEdidFreqs"  "Off"
EndSection

#############################################################################
Section "Monitor"
   Identifier   "monitor0"
   VendorName   "Samsung"
   ModelName    "Syncmaster 955DF"
   DisplaySize  352 264
   HorizSync    30-85
   VertRefresh  50-160
   Option       "DPMS"  "On"
   Option       "SyncOnGreen"  "On"
EndSection

#############################################################################
Section "Screen"
   Identifier    "screen0"
   Device        "video0"
   Monitor       "monitor0"
   DefaultDepth  24

   SubSection "Display"
         Depth  8
         Modes  "1280x960" "1024x768" "800x600" "640x480" "320x200"
         ViewPort 0 0
   EndSubSection

   SubSection "Display"
         Depth  16
         Modes "1280x960" "1024x768" "800x600" "640x480" "320x200"
         ViewPort 0 0
   EndSubSection

   SubSection "Display"
         Depth 24
         Modes "1440x1050" "1280x1024" "1280x960" "1024x768" "800x600" "640x480" "320x200"
         ViewPort 0 0
   EndSubSection
EndSection

#############################################################################
Section "ServerLayout"
   Identifier  "layout0"
   Screen      "screen0"
   InputDevice "mouse0"     "CorePointer"
   InputDevice "keyboard0"  "CoreKeyboard"
EndSection

#EOF


see what i've done if you have similar hardware
_________________
Press F1 for Help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum