Advertisement
Guest User

xorg config

a guest
Sep 21st, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. Hi guys,
  2.  
  3. I run an archlinux installed with antergos 3 months ago. At this time, I installed with the mesa drivers because of a problem
  4. with the installation assistant when trying to install nvidia drivers.
  5.  
  6. Now I want to install nvidia drivers for many reasons.
  7.  
  8. Followed the archwiki so I have done :
  9.  
  10. ```
  11. yaourt -S nvidia
  12. yaourt -S nvidia-settings
  13. sudo nvidia-xconfig
  14. ```
  15.  
  16. As I had no xorf.conf `nvidia-xconfig` created one. I moved it to `/etc/X11/xorg.conf.d/20-nvidia.conf` instead of
  17. `/etc/X11/xorg.conf`.
  18.  
  19. Here is the file:
  20. ```
  21. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  22. # nvidia-xconfig: version 370.28 (buildmeister@swio-display-x64-rhel04-17) Thu Sep 1 20:22:52 PDT 2016
  23.  
  24. Section "ServerLayout"
  25. Identifier "Layout0"
  26. Screen 0 "Screen0"
  27. InputDevice "Keyboard0" "CoreKeyboard"
  28. InputDevice "Mouse0" "CorePointer"
  29. EndSection
  30.  
  31. Section "Files"
  32. EndSection
  33.  
  34. Section "InputDevice"
  35. # generated from default
  36. Identifier "Mouse0"
  37. Driver "mouse"
  38. Option "Protocol" "auto"
  39. Option "Device" "/dev/psaux"
  40. Option "Emulate3Buttons" "no"
  41. Option "ZAxisMapping" "4 5"
  42. EndSection
  43.  
  44. Section "InputDevice"
  45. # generated from default
  46. Identifier "Keyboard0"
  47. Driver "kbd"
  48. EndSection
  49.  
  50. Section "Monitor"
  51. Identifier "Monitor0"
  52. VendorName "Unknown"
  53. ModelName "Unknown"
  54. HorizSync 28.0 - 33.0
  55. VertRefresh 43.0 - 72.0
  56. Option "DPMS"
  57. EndSection
  58.  
  59. Section "Device"
  60. Identifier "Device0"
  61. Driver "nvidia"
  62. VendorName "NVIDIA Corporation"
  63. EndSection
  64.  
  65. Section "Screen"
  66. Identifier "Screen0"
  67. Device "Device0"
  68. Monitor "Monitor0"
  69. DefaultDepth 24
  70. SubSection "Display"
  71. Depth 24
  72. EndSubSection
  73. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement