LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-05-2016, 10:22 AM   #1
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Rep: Reputation: 138Reputation: 138
Simply share your /etc/X11/xorg.conf


Hello,

I believe that this thread may help some beginners, who are still looking for their xorg.conf.

Simply post your xorg.conf with your video card model info.

note:
You can of course start X11 without xorg.conf! If you want xorg.conf to be generated, run:
Code:
Xorg -configure
Best regards / thanks

Last edited by patrick295767; 06-05-2016 at 12:38 PM.
 
Old 06-05-2016, 11:10 AM   #2
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,094

Rep: Reputation: 198Reputation: 198
Code:
mike@foo:~>/sbin/lspci -nnv | grep -A10 VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF106 [GeForce GTS 450] [10de:0dc4] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device [1043:8365]
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at dc000000 (32-bit, non-prefetchable) [size=32M]
	Memory at d0000000 (64-bit, prefetchable) [size=128M]
	Memory at d8000000 (64-bit, prefetchable) [size=64M]
	I/O ports at d000 [size=128]
	[virtual] Expansion ROM at de000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia
mike@foo:~>cat /etc/os-release 
NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
mike@foo:~>echo $DISPLAY
:0
mike@foo:~>pidof Xorg
4165 1024
mike@foo:~>
mike@foo:~>ls -l /etc/X11/xorg.conf
ls: cannot access /etc/X11/xorg.conf: No such file or directory
mike@foo:~>
Woah!
 
Old 06-05-2016, 12:36 PM   #3
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Original Poster
Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by arizonagroovejet View Post
Code:
mike@foo:~>/sbin/lspci -nnv | grep -A10 VGA
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF106 [GeForce GTS 450] [10de:0dc4] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device [1043:8365]
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at dc000000 (32-bit, non-prefetchable) [size=32M]
	Memory at d0000000 (64-bit, prefetchable) [size=128M]
	Memory at d8000000 (64-bit, prefetchable) [size=64M]
	I/O ports at d000 [size=128]
	[virtual] Expansion ROM at de000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia
mike@foo:~>cat /etc/os-release 
NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
mike@foo:~>echo $DISPLAY
:0
mike@foo:~>pidof Xorg
4165 1024
mike@foo:~>
mike@foo:~>ls -l /etc/X11/xorg.conf
ls: cannot access /etc/X11/xorg.conf: No such file or directory
mike@foo:~>
Woah!
You can run Linux without xorg.conf !! I forgot to mention it.
You can also use xorg.conf, if you want. It is sometimes useful to edit the xorg.conf depending on needs.
 
Old 06-06-2016, 08:36 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://www.linuxquestions.org/questi...3/#post5550952
 
Old 06-06-2016, 11:58 AM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Mine is probably longer than it now needs to be but works a treat.

/etc/X11/xorg.conf

Code:
  # nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 352.63  (buildmeister@swio-display-x64-rhel04-18)  Sat Nov  7 22:00:34 PST 2015

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"    
    FontPath        "/usr/lib/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib/X11/fonts/100dpi/"
    FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib/X11/fonts/misc/"
    FontPath        "/usr/lib/X11/fonts/Type1/"
    FontPath        "/usr/lib/X11/fonts/Speedo/"
    FontPath        "/usr/lib/X11/fonts/75dpi/"
    FontPath        "/usr/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/lib/X11/fonts/TTF/"
EndSection

Section "Module"
    Load           "dri2"
    Load           "extmod"
    Load           "glx"
    Load           "record"
    Load           "dbe"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Vizio"
    ModelName      "VIZ M322i-B1"
    HorizSync       31.0 - 80.0
    VertRefresh     56.0 - 76.0
    Option     "UseEDIDDpi"   "False"
    Option         "DPMS"
   Option          "DPI" "100 x 100"

EndSection 
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 760"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "1920x1080_60 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
 
Old 06-06-2016, 12:08 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Xorg does not need xorg.conf, it is obsolete, needed only in some corner cases for fine tuning or sometimes a four-liner is needed to load proprietary drivers. Thus, I do not have xorg.conf.
 
Old 06-06-2016, 12:11 PM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I too was a bit baffled by this. I haven't had an xorg.conf file for years!
 
Old 06-06-2016, 12:38 PM   #8
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Xorg.conf is only obsolete if you're happy with a default generic config. If you want complete control you still need it and more for optimum performance. On some distros this is even true for default fonts, let alone max refresh rate, mouse characteristics, etc.
 
Old 06-06-2016, 12:43 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
OK, let me amend. The full xorg.conf as it is generated by some utility is obsolete. For tuning one should create separate conf files in xorg.conf.d.
 
Old 06-06-2016, 08:44 PM   #10
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Code:
# ls /etc/X11/xorg.conf
ls: cannot access '/etc/X11/xorg.conf': No such file or directory
# ls /etc/X11/xorg.conf.d
20-intel.conf  51-synaptics-aptosid.conf
Code:
# cat /etc/X11/xorg.conf.d/20-intel.conf
Section "Device"

Identifier "Intel Graphics"
Driver     "intel"
#Option     "AccelMethod"    "sna"
Option     "TearFree"       "true"

EndSection
Code:
# cat /etc/X11/xorg.conf.d/51-synaptics-aptosid.conf
Section "InputClass"
        Identifier "Elantech class"
        MatchProduct "ETPS/2"
        MatchDevicePath "/dev/input/event*"
        MatchIsTouchpad "on"
        Driver "synaptics"
        Option "TapButton1" "1"
        Option "VertEdgeScroll" "true"
        Option "Emulate3Buttons" "off"
        Option "CoastingSpeed" "0.13"
        Option "LBCornerButton" "2"
        Option "TapButton2" "2"
        Option "CircularScrolling" "1"
        Option "CircScrollTrigger" "8"
        Option "HorizTwoFingerScroll" "1"
        Option "VertTwoFingerScroll" "1"
EndSection
 
Old 06-07-2016, 12:31 AM   #11
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Original Poster
Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by DavidMcCann View Post
I too was a bit baffled by this. I haven't had an xorg.conf file for years!
I too havent xorg for years. Only on a single computer since I had to make it custom.

Sometimes people use it. more rarely now of course.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard not work after create /etc/X11/xorg.conf.d/50-synaptics.conf file mshlinux Gentoo 2 07-27-2015 03:13 AM
Missing xorg.conf file in /etc/X11/xorg.conf Altiris Linux - Newbie 2 08-23-2013 11:46 PM
Where are the Screen sections for X? /usr/share/X11/xorg.conf.d? X so says !!!! stf92 Slackware 6 10-27-2012 10:39 AM
/etc/X11/xorg.conf problem? th1bill Ubuntu 4 11-07-2011 12:37 PM
modelines for /etc/X11/xorg.conf TranceDude Linux - Hardware 3 09-30-2005 09:59 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration