Super User is a question and answer site for computer enthusiasts and power users. 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 currently have two monitors connected to my computer, the following:

1920x1200     1600x900

When I run wmctrol -d I get the following output:

0  * DG: 1152x864  VP: 0,0  WA: 0,25 3520x1175  1

I also get a similar output of 3520x1200 when running:

xdpyinfo | grep 'dimension' | awk -F: '{ print $2 }' | awk '{ print $1 }' 

Similarly xdpyinfo outputs that my number of screens is 1.

Both outputs suggest that my screen size is close to 3500x1200. However I have two screens, how can I get the dimensions of both monitors separately and then, how can I easily tell which monitor has the currently active window?

Or, how can I change my configuration so my system tells me I have two screens; because that may be the problem by itself.

share|improve this question
Are you using the nVidia binary driver? – Stephanie Jun 13 '12 at 15:59
No I am not. I currently am using the integrated graphics card on my Sandy-Bridge CPU. – bhutchins Jun 13 '12 at 16:11

You must log in to answer this question.

Browse other questions tagged .