I can't find my xorg.conf.

There is no xorg.conf file by default in Ubuntu 11.04.

If I run: "whereis xorg.conf" I am seeing: xorg: /usr/lib/xorg /usr/lib64/xorg /usr/include/xorg

may be I just can create it by myself? at /etc/X11/xorg.conf?


2 Answers 2



To create an initial /etc/xorg.conf file, you can have Xorg's autoconfiguration output a full blown static one for you:

sudo Xorg -configure

or create an /etc/xorg.conf containing only those sections and options that you need to override Xorg's autoconfigurated settings.

  • in order to do that XServer needs to be down. I can't afford this. Is there any way to get xorg.conf without shutting xorg off?
    – bakytn
    Aug 19, 2011 at 7:24
  • 3
    "sudo Xorg :2 -configure" did work.
    – bakytn
    Aug 19, 2011 at 10:54

The modern implementations of Xorg doesn't need a xorg.conf file, the configuration is automatic. And the correct place for the xorg.conf file is /etc/X11/xorg.conf.

  • Juan, corrected.
    – bakytn
    Aug 19, 2011 at 10:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .