Is there a way to 'export' the current display configuration? We just need to export the configuration to an Xorg.conf file so that we can import it to another computer (deployment).

The active configuration seems to be saved elsewhere than /etc/X11/xorg.conf

The monitors are working on the PC and have been set up using the 'Display' configuration tool in the System Settings. We're using 12.04.

  • What graphics card and driver are you using? Unfortunately, some Nvidia (with nvidia driver) and AMD/ATI (with fglrx driver) have specific tools to do this. – gertvdijk Jan 21 '13 at 15:50
  • 1
    It's an Intel card, we just need to know where the current display settings get saved (resolution, ...) so we can "export" them (import into another computer). – Robbietjuh Jan 21 '13 at 15:57
  • In case you use KDE, it's in /home/gert/.kde/share/config/krandrrc (per user) and /etc/kde4/krandrrc (system-wide) – gertvdijk Jan 21 '13 at 16:11

I believe the latest versions of Ubuntu don't use an xorg.conf file anymore. gertvdijk makes a good point, if you want to use a file to automatically configure your display setup it might be important to know what kind of card you have.

There might be a rather universal solution to this. Nvidia and Intel support configuration of your displays through xrandr, meaning that if you could (i) save your settings to a file and (ii) automatically set that file as the defaults, you're good to go.

For (i), you can use arandr. Just sudo apt-get install arandr and set your configuration. Through File > Save as you can save the configuration as a shell file. For (ii) you could of course load the bash file at boot, but this is an ugly solution I think.

You sound like you know what you're doing, deploying computers and all, hopefully this can give you a push in the right direction. If it does helps, please append this post to briefly explain what you have done to get this to work.

If memory serves me right, Nvidia allows importing and exporting of the monitor configuration through nvidia-config. At least it did before they started supporting xrandr. This might also be of use...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.