Difference between revisions of "Xorg.conf"

From ThinkWiki
Jump to: navigation, search
(←Created page with 'Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "Quadro 2000M" Option "Ren...')
 
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
     Option        "CursorShadow"      "yes"
 
     Option        "CursorShadow"      "yes"
 
     Option        "RegistryDwords"    "EnableBrightnessControl=1"
 
     Option        "RegistryDwords"    "EnableBrightnessControl=1"
    Option        "UseDisplayDevice"  "DFP-1, DFP-0, CRT-0"
 
 
EndSection
 
EndSection
  
  
The ''Option        "RegistryDwords"    "EnableBrightnessControl=1"'' line allows you to change the brightness of the notebook's LCD via the Fn-HOME and Fn-END key combinations. DFP-0 is detected as the notebook's LCD and since I'm usually connecting this computer to my external LCD, I use ''Option        "UseDisplayDevice"  "DFP-1, DFP-0, CRT-0"'' to set DFP-1 as the primary display.
+
The '''Option        "RegistryDwords"    "EnableBrightnessControl=1"''' line allows you to change the brightness of the notebook's LCD via the Fn-HOME and Fn-END key combinations.
 
 
 
 
Not recommended but to allow plugging in a monitor without restarting X, you can add
 
    Option        "ConnectedMonitor"  "DFP-0, DFP-1, CRT-0"
 
  
  
Line 26: Line 21:
 
     DefaultDepth    24
 
     DefaultDepth    24
 
     Option        "TwinView"                  "1"
 
     Option        "TwinView"                  "1"
     Option        "TwinViewOrientation"       "Clone"
+
     Option        "DynamicTwinView"           "True"
 
     Option        "TwinViewXineramaInfoOrder" "DFP-1"
 
     Option        "TwinViewXineramaInfoOrder" "DFP-1"
     Option        "MetaModes" "DFP-0: NULL, DFP-1: nvidia-auto-select +0+0, CRT-0: NULL; DFP-0: 1920x1080 +0+0, DFP-1: NULL, CRT-0: NULL; DFP-0: nvidia-auto-select +0+120, DFP-1: nvidia-auto-select +0+0, CRT-0: NULL;"
+
     Option        "MetaModes" "DFP-1: 1920x1200_60 +0+0, DFP-0: NULL, CRT: NULL; DFP-0: 1920x1080_60 +0+0, DFP-1: NULL, CRT: NULL;"
 
     SubSection    "Display"
 
     SubSection    "Display"
 
         Depth      24
 
         Depth      24
Line 35: Line 30:
  
  
Here I set up the 3 MetaModes:
+
Here I set up the 2 MetaModes:
- notebook LCD off, external LCD on, VGA off
+
* notebook LCD off, external LCD on, VGA off
- notebook LCD on, external LCD off, VGA off
+
* notebook LCD on, external LCD off, VGA off
- notebook LCD on, external LCD on, VGA off
+
 
  
By setting CRT-0: NULL, you can save some battery by turning off the VGA port.
+
{{NOTE|By setting CRT-0: NULL, you can save some battery by turning off the VGA port.}}

Latest revision as of 02:09, 22 July 2011

Section "Device"

   Identifier     "Device0"
   Driver         "nvidia"
   VendorName     "NVIDIA Corporation"
   BoardName      "Quadro 2000M"
   Option         "RenderAccel"       "true"
   Option         "AddARGBGLXVisuals" "true"
   Option         "HWCursor"          "yes"
   Option         "CursorShadow"      "yes"
   Option         "RegistryDwords"    "EnableBrightnessControl=1"

EndSection


The Option "RegistryDwords" "EnableBrightnessControl=1" line allows you to change the brightness of the notebook's LCD via the Fn-HOME and Fn-END key combinations.


Section "Screen"

   Identifier     "Screen0"
   Device         "Device0"
   Monitor        "Monitor0"
   DefaultDepth    24
   Option         "TwinView"                  "1"
   Option         "DynamicTwinView"           "True"
   Option         "TwinViewXineramaInfoOrder" "DFP-1"
   Option         "MetaModes" "DFP-1: 1920x1200_60 +0+0, DFP-0: NULL, CRT: NULL; DFP-0: 1920x1080_60 +0+0, DFP-1: NULL, CRT: NULL;"
   SubSection     "Display"
       Depth       24
   EndSubSection

EndSection


Here I set up the 2 MetaModes:

  • notebook LCD off, external LCD on, VGA off
  • notebook LCD on, external LCD off, VGA off


NOTE!
By setting CRT-0: NULL, you can save some battery by turning off the VGA port.