Advertisement
Kamiel

xorg.conf

Oct 4th, 2015
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Section "Files"
  2.  
  3.   FontPath "/nix/store/xpzsaxf4zmxa8vnw5zlch6k7vq7g0d66-font-bh-ttf-1.0.3/lib/X11/fonts/TTF"
  4.   FontPath "/nix/store/pk537qvymmsk9kbj6kxaz7gbgsiwfj89-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi"
  5.   FontPath "/nix/store/05a1sxgm0bvww9bim1wdp7hm87rjhipf-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi"
  6.   FontPath "/nix/store/z64x6nbhnfnv2pv5hzn4x937y2ksmf3a-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi"
  7.   FontPath "/nix/store/g5i75369jmiaa3zvnb9r1qf86wq1w5db-font-misc-misc-1.1.2/lib/X11/fonts/misc"
  8.   FontPath "/nix/store/6ljylbnj948197k8z9xdxvbn85m1r7mw-font-cursor-misc-1.0.3/lib/X11/fonts/misc"
  9.   FontPath "/nix/store/cz5pn5s3c97bbb5fydsf0l5px0fhmanp-unifont-8.0.01/share/fonts"
  10.   FontPath "/nix/store/m80cdccc4npnchix39n1xq8zvj9bfrmb-terminus-font-4.39/share/fonts/terminus"
  11.   FontPath "/nix/store/cz5pn5s3c97bbb5fydsf0l5px0fhmanp-unifont-8.0.01/share/fonts"
  12.   FontPath "/nix/store/8r9p8rsbqhl0cdfwfk4w0akfh832jxi4-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi"
  13.   FontPath "/nix/store/3s5dq52vx7z024agdazfpg6rqk98gxp4-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi"
  14.   ModulePath "/nix/store/c54zsrmy55zchgbw12q5xn71ssd2nmp1-xf86-video-intel-2015-07-22/lib"
  15.   ModulePath "/nix/store/c54zsrmy55zchgbw12q5xn71ssd2nmp1-xf86-video-intel-2015-07-22/lib/xorg/modules/drivers"
  16.   ModulePath "/nix/store/q2p2k6brd8rfxkr5z7y67qdbzn9fdnpf-nvidia-x11-352.41-4.2.1/lib"
  17.   ModulePath "/nix/store/q2p2k6brd8rfxkr5z7y67qdbzn9fdnpf-nvidia-x11-352.41-4.2.1/lib/tls"
  18.   ModulePath "/nix/store/q2p2k6brd8rfxkr5z7y67qdbzn9fdnpf-nvidia-x11-352.41-4.2.1/lib/xorg/modules"
  19.   ModulePath "/nix/store/q2p2k6brd8rfxkr5z7y67qdbzn9fdnpf-nvidia-x11-352.41-4.2.1/lib/xorg/modules/extensions"
  20.   ModulePath "/nix/store/q2p2k6brd8rfxkr5z7y67qdbzn9fdnpf-nvidia-x11-352.41-4.2.1/lib/xorg/modules/drivers"
  21.   ModulePath "/nix/store/w4nh4907ihcbm0szg6q5n56g5ija5bqh-xorg-server-1.17.2/lib/xorg/modules"
  22.   ModulePath "/nix/store/w4nh4907ihcbm0szg6q5n56g5ija5bqh-xorg-server-1.17.2/lib/xorg/modules/extensions"
  23.   ModulePath "/nix/store/w4nh4907ihcbm0szg6q5n56g5ija5bqh-xorg-server-1.17.2/lib/xorg/modules/drivers"
  24.   ModulePath "/nix/store/wrncrf0krh3j33vffvvgv8f1dq0xbxv3-xf86-input-evdev-2.9.2/lib/xorg/modules/input"
  25.   ModulePath "/nix/store/2vfqy92aa0bx0isww3sds87zfxayzlaq-xf86-input-synaptics-1.8.2/lib/xorg/modules/input"
  26. EndSection
  27. Section "ServerFlags"
  28.   Option "AllowMouseOpenFail" "on"
  29.  
  30. EndSection
  31.  
  32. Section "Module"
  33.  
  34. EndSection
  35.  
  36. Section "Monitor"
  37.   Identifier "Monitor[0]"
  38.  
  39. EndSection
  40.  
  41. Section "InputClass"
  42.   Identifier "Keyboard catchall"
  43.   MatchIsKeyboard "on"
  44.   Option "XkbRules" "base"
  45.   Option "XkbModel" "pc104"
  46.   Option "XkbLayout" "us,ru"
  47.   Option "XkbOptions" "grp:shift_toggle,grp_led:caps,ctrl:nocaps,altwin:meta_alt,altwin:super_win,altwin:hyper_win"
  48.   Option "XkbVariant" "dvp,winkeys"
  49. EndSection
  50.  
  51. # Additional "InputClass" sections
  52.  
  53.  
  54.  
  55. Section "ServerLayout"
  56.   Identifier "Layout[all]"
  57.  
  58.   # Reference the Screen sections for each driver.  This will
  59.   # cause the X server to try each in turn.
  60.   Screen "Screen-intel[0]"
  61. Screen "Screen-nvidia[0]"
  62.  
  63. EndSection
  64.  
  65.  
  66.  
  67. # For each supported driver, add a "Device" and "Screen"
  68. # section.
  69.  
  70. Section "Device"
  71.   Identifier "Device-intel[0]"
  72.   Driver "intel"
  73.  
  74.  
  75.  
  76. EndSection
  77.  
  78. Section "Screen"
  79.   Identifier "Screen-intel[0]"
  80.   Device "Device-intel[0]"
  81.  
  82.  
  83.   Option "RandRRotation" "on"
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90. EndSection
  91.  
  92. Section "Device"
  93.   Identifier "Device-nvidia[0]"
  94.   Driver "nvidia"
  95.  
  96.  
  97.  
  98. EndSection
  99.  
  100. Section "Screen"
  101.   Identifier "Screen-nvidia[0]"
  102.   Device "Device-nvidia[0]"
  103.  
  104.  
  105.   Option "RandRRotation" "on"
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112. EndSection
  113.  
  114.  
  115.  
  116.  
  117. # Automatically enable the synaptics driver for all touchpads.
  118. Section "InputClass"
  119.   Identifier "synaptics touchpad catchall"
  120.   MatchIsTouchpad "on"
  121.  
  122.   Driver "synaptics"
  123.   Option "MinSpeed" "0.6"
  124.   Option "MaxSpeed" "1.0"
  125.   Option "AccelFactor" "0.001"
  126.  
  127.   Option "ClickFinger1" "1"
  128.   Option "ClickFinger2" "2"
  129.   Option "ClickFinger3" "3"
  130.   Option "VertTwoFingerScroll" "1"
  131.   Option "HorizTwoFingerScroll" "1"
  132.   Option "VertEdgeScroll" "0"
  133.   Option "HorizEdgeScroll" "0"
  134.  
  135.  
  136.  
  137. EndSection
  138.  
  139.  
  140.       # /etc/X11/xorg.conf.d/20-thinkpad_clickpad.conf
  141.  
  142.       # Section "InputClass"
  143.       #         Identifier "Clickpad"
  144.       #         MatchDriver "synaptics"
  145.  
  146.       #         Option "Clickpad" "true"
  147.       #         Option "EmulateMidButtonTime" "0"
  148.  
  149.       #         # Left Right Top Bottom
  150.       #         Option "SoftButtonAreas" "60% 0 0 20% 40% 60% 0 20%"
  151.       #         Option "AreaTopEdge" "20%"
  152.       #         Option "AreaBottomEdge" "0"
  153.  
  154.       #         Option "TapButton1" "1"
  155.       #         Option "TapButton3" "2"
  156.       #         Option "TapButton2" "3"
  157.  
  158.       #         # Calm the pad down while clicking
  159.       #         Option "VertHysteresis" "50"
  160.       #         Option "HorizHysteresis" "55"
  161.  
  162.       #         # Drag lock
  163.       #         # Option "LockedDrags" "1"
  164.  
  165.       #         # Tap to click
  166.       #         # Option "FingerLow" "50"
  167.       #         # Option "FingerHigh" "55"
  168.       #         # disable tap to click
  169.       #         Option "MaxTapTime" "0"
  170.  
  171.       #         # Prevent accidental clicks
  172.       #         Option "PalmDetect" "1"
  173.       #         Option "PalmMinWidth" "5"
  174.       #         Option "PalmMinZ" "40"
  175.  
  176.       #         # Natural scrolling
  177.       #         Option "VertTwoFingerScroll" "1"
  178.       #         # Option "VertScrollDelta" "-90"
  179.       #         Option "HorizTwoFingerScroll" "1"
  180.       #         # Option "HorizScrollDelta" "-90"
  181.  
  182.       #         Option "MinSpeed" "1"
  183.       #         Option "MaxSpeed" "1"
  184.  
  185.       #         Option "AccelerationProfile" "2"
  186.       #         Option "AccelerationNumerator"   "5"
  187.       #         Option "AccelerationDenominator" "3"
  188.       #         Option "AccelerationThreshold"   "4"
  189.       #         Option "AdaptiveDeceleration" "2"
  190.       #         # Option "ConstantDeceleration" "2"
  191.       # EndSection
  192.  
  193.       # /etc/X11/xorg.conf.d/50-thinkpad_trackpoint.conf
  194.  
  195.       Section "InputClass"
  196.               Identifier "Clickpad"
  197.               MatchIsTouchpad "on"
  198.               MatchDevicePath "/dev/input/event*"
  199.               Driver "evdev"
  200.               # Synaptics options come here.
  201.               Option "TapButton1" "1"
  202.               Option "TapButton3" "2"
  203.               Option "TapButton2" "3"
  204.               Option "SoftButtonAreas" "60% 0 0 40% 20% 60% 0 20%"
  205.               Option "AreaTopEdge"          "20%"
  206.               Option "AreaBottomEdge"       "0"
  207.       EndSection
  208.  
  209.       Section "InputClass"
  210.               Identifier      "TrackPoint"
  211.               MatchProduct    "TrackPoint"
  212.               MatchDriver  "evdev"
  213.               # MatchDevicePath "event"
  214.               Option          "EmulateWheel"            "true"
  215.               Option          "EmulateWheelButton"      "2"
  216.               Option          "EmulateWheelTimeOut"     "200"
  217.               Option          "XAxisMapping"            "6 7"
  218.               Option          "YAxisMapping"            "4 5"
  219.               Option          "ZAxisMapping"            "4 5"
  220.  
  221.               Option          "AccelerationProfile"     "2"
  222.               Option          "AccelerationNumerator"   "5"
  223.               Option          "AccelerationDenominator" "3"
  224.               Option          "AccelerationThreshold"   "4"
  225.               Option          "AdaptiveDeceleration"    "2"
  226.               # Option          "ConstantDeceleration"    "2"
  227.       EndSection
  228.  
  229.       # /etc/X11/xorg.conf.d/60-mouse-acceleration.conf
  230.  
  231.       Section "InputClass"
  232.               Identifier "My Mouse"
  233.               MatchIsPointer "yes"
  234.               # set the following to 1 1 0 respectively to disable acceleration.
  235.               Option "AccelerationNumerator" "2"
  236.               Option "AccelerationDenominator" "1"
  237.               Option "AccelerationThreshold" "4"
  238.       EndSection
  239.  
  240.       #  /etc/X11/xorg.conf.d/10-monitor.conf
  241.  
  242.       Section "Monitor"
  243.           Identifier "Monitor[0]"
  244.           Option "DPMS" "false"
  245.           Option "PreferredMode" "1920x1080"
  246.           DisplaySize 310 174
  247.       EndSection
  248.  
  249.       Section "Device"
  250.           Identifier "Device-intel[0]"
  251.           # Driver "intel"
  252.       Driver "intel"
  253.           BusID "PCI:0:2:0"
  254.           Option "DRI" "3"
  255.           Option "AllowGLXWithComposite" "true"
  256.       Option "TwinView" "true"
  257.       Option "XvMC" "true"
  258.       Option "XAANoOffscreenPixmaps" "true"
  259.       Option "UseEvents" "true"
  260.           # Option "AccelMethod" "glamor"
  261.           Option "AccelMethod" "sna"
  262.           # Option "AccelMethod" "uxa"
  263.           Option "AccelMethod" "none"
  264.           Option "TearFree" "true"
  265.       Option "Tiling" "true"
  266.       Option "SwapBuffersWait" "true"
  267.           Option "Backlight" "intel_backlight"
  268.       EndSection
  269.  
  270.       Section "Device"
  271.           Identifier "Device-nvidia[0]"
  272.           Driver "nvidia"
  273.           BusID "PCI:2:0:0"
  274.           Option "DRI" "3"
  275.           Option "AllowGLXWithComposite" "true"
  276.       Option "TwinView" "true"
  277.       Option "AddARGBGLXVisuals" "true"
  278.       Option "DisableGLXRootClipping" "true"
  279.       Option "DamageEvents" "true"
  280.           Option "RenderAccel" "true"
  281.  
  282.           # caution here
  283.       Option "UseEvents" "false"
  284.       Option "TripleBuffer" "true"
  285.       Option "BackingStore" "true"
  286.  
  287.           Option "AccelMethod" "EXA"
  288.           Option "MigrationHeuristic" "greedy"
  289.           Option "AccelDFS" "true"
  290.           Option "EnablePageFlip" "true"
  291.           Option "EnableDepthMoves" "true"
  292.       Option "NoLogo" "true"
  293.       Option "UseDisplayDevice" "none"
  294.       Option "RegistryDwords" "EnableBrightnessControl=1"
  295.       EndSection
  296.  
  297.       Section "Screen"
  298.           Identifier "Screen-intel[0]"
  299.           Device "Device-intel[0]"
  300.           Monitor "Monitor[0]"
  301.           DefaultDepth 24
  302.  
  303.           SubSection "Display"
  304.               Depth 24
  305.               Modes "1920x1080"
  306.           EndSubSection
  307.       EndSection
  308.  
  309.       Section "Screen"
  310.           Identifier "Screen-nvidia[0]"
  311.           Device "Device-nvidia[0]"
  312.           Monitor "Monitor[0]"
  313.       Option "AllowEmptyInitialConfiguration" "true"
  314.       Option "SLI" "AA"
  315.       Option "RegistryDwords" "PerfLevelSrc=0x2222"
  316.       Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
  317.           DefaultDepth 24
  318.  
  319.           SubSection "Display"
  320.               Depth 24
  321.               Modes "1920x1080"
  322.           EndSubSection
  323.       EndSection
  324.  
  325.       Section "Module"
  326.           Load "glx"
  327.       Load "dbe"
  328.       Load "extmod"
  329.       Load "dri"
  330.       Load "dri2"
  331.       EndSection
  332.  
  333.       Section "Extensions"
  334.           Option "Composite" "Enable"
  335.       EndSection
  336.  
  337.       Section "ServerLayout"
  338.           Identifier "Layout[all]"
  339.       # Inactive "Device-intel[0]"
  340.           Screen 0 "Screen-nvidia[0]"
  341.       Screen "Screen-intel[0]"
  342.       Option "Xinerama" "true"
  343.       Option "AIGLX" "true"
  344.       Option "DRI2" "true"
  345.       Option "GlxVisuals" "all"
  346.           Option "StandbyTime" "0"
  347.           Option "SuspendTime" "0"
  348.           Option "OffTime" "0"
  349.           Option "BlankTime" "0"
  350.       EndSection
  351.  
  352.       Section "ServerFlags"
  353.           Option "DefaultServerLayout" "Layout[all]"
  354.       EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement