42

I have an Nvidia card and two monitors.

Every time I log in to Unity on Ubuntu 11.10, I get this error:

x monitor error

"Could not apply the stored configuration for monitors"

I have tried opening nvidia-settings, but none of my experimental alterations to any of the settings has made a difference.

I can still use my computer, but it seems to break the themes, icons, and styles so my computer looks like Unix circa 1992, which is a pretty annoying.

How do I kill this error?

Questioner
  • 6,839

1 Answers1

75

This should fix it:

rm $HOME/.config/monitors.xml
Nacho Coloma
  • 115
  • 5
choel
  • 1,125
  • For some reason, I don't even have the .config direcotory/and monitors.xml file. I still have this problem still. If I click OK, everything goes and works exactly as planned and all the normal visuals are back. i still want to get rid of that annoying popup though –  Dec 09 '11 at 23:46
  • you will need a directory .config regardless –  Apr 06 '12 at 23:25
  • Had this problem in Linux Mint and Ubuntu using a VM, now working after deleting this conf file :) – jiminikiz Jan 28 '16 at 18:29
  • @user37327: Folders and Files that start with a dot (".") are considered hidden and you have to set some option in your file browser to see them. – Matthias Weiler Mar 21 '16 at 08:06
  • Can I prevent this file from being created automatically? It's rather annoying to have to delete it every time. – Ivan Nov 03 '16 at 10:45