Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Ansible script that runs through and sets up a new install of Ubuntu 13.04. I would like to change configuration related to my monitors and switch mirror monitors off and configure dual monitors. Where does configuration get stored for monitor preferences?

I know you can go to System Settings > Displays and uncheck Mirror displays. I want to have script or command to do this in automated way.

share|improve this question

closed as off-topic by Nathan C, Ward, Jenny D, cole, mdpc Oct 16 '13 at 16:47

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because belongs on Ask Ubuntu. – Nathan C Oct 16 '13 at 13:57
up vote 0 down vote accepted

This is not actually an Ansible question, but indeed an Ubuntu configuration question or even a Gnome question.

Check ~/.config/monitors.xml for this.

These URLs have some more specific information:

Quote from the first URL:

Edit this file

sudo nano ~/.config/monitors.xml

To fix the specific issue i had, edit the clone setting to yes



In your case it would contain a mirror tag or the like.

No Ubuntu desktops in my home at the moment, not tested :(

share|improve this answer

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