Linux – Cannot configure second monitor to rotate 90′ in KDE with Karmic Koala

kubuntulinuxnvidia-graphics-cardxorg.conf

Sorry, I could not keep this question from turning into a wall of text so I broke it up into these 4 sections.

Hardware

I have 2 monitors (DELL E228WFP and a DELL 2007FP) hooked up to a EVGA E-GEFORCE 8800GT 600MHZ 512MB 1.8GHZ DDR3 PCI-E Dual DVI-I video card.

Goal

I would like to have the DELL 2007FP set up to the left of the DELL E228WFP and rotated into "portrait" mode^ with both screens sharing a common bottom edge.

^ This is ideal for reading PDF documentation or papers on one screen and then working on the second one.

Steps Undertaken

  1. I installed the NVidia drivers (via sudo apt-get install nvidia-current)
  2. rebooted
  3. ran nvidia-xconfig
  4. then ran nvidia-settings. However, like many people, I could not get nvidia-settings to write to my config file despite having run it with kdesudo. Instead, I opened the file with Kate (using KDESudo) and then used the preview from nvidia-settings and just copy pasted it into the file and saved it like that.

Problem

Now, if I use TwinView I have both monitors working, but when I try to use krandrtray to rotate one of them, it is shown as one large monitor so I cannot rotate just the one I want rotated. However, if I set them up as separate X windows the second one is black and krandrtray only shows the main monitor. I am at a loss of what to try next.

Best Answer

I have a similar set up, with a Dell 3008WFP and next to that a Dell 2001FP in portrait mode.

The answer is that you can only do this with Xinerama, as the nVidia driver cannot rotate screens independently when in TwinView mode. You must set up your monitors in 'separate screen' mode (this is detailed in the nVidia README) and then use Xinerama to combine the separate screens into one X11 display.

I have done this successfully to run four monitors from two video cards, with one rotated into portrait mode and all being the one X11 display (so I can drag windows between all four screens.)

However I did all this in xorg.conf, so I don't know if it's possible to do it through a GUI.

Related Question