Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm running Ubuntu 9.04 (Jaunty), and I have a nVidia 8600GTS graphics card. I'm trying to get one monitor to work in portrait mode, and the other one in landscape mode. I know how to do this under Windows, but I can't find the setting for this under Linux. I've managed to get them both in portrait, or both in landscape, but not independant of each other.

I'd like to be able to switch modes for a single monitor without restarting the computer or X, but I realise that might be a bit too much too ask.

share|improve this question

closed as off-topic by masegaloeh, Ward, Cristian Ciupitu, Ryan Ries, Michael Hampton May 26 '15 at 19:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – masegaloeh, Ward, Cristian Ciupitu, Ryan Ries, Michael Hampton
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 5 down vote accepted

This will depend on whether your graphics card driver supports it (if you advise what card you have then we can confirm this) but.

xrandr --output <output> --rotate <direction>

should do it.

Check out

man xrandr

here is excerpt from the EXAMPLES section

Sets an output called LVDS to its preferred mode, and on its right put an output called VGA to preferred mode of a screen which has
   been physically rotated clockwise:
          xrandr --output LVDS --auto --rotate normal --pos 0x0 --output VGA --auto --rotate left --right-of LVDS

Note that this does not work when using the nvidia binary driver, see comment for alternative solution

share|improve this answer
I mentioned the card (nVidia 8600GTS) in my question. Do you know if it supports this? – Sietse May 6 '09 at 11:48
Apologies, not quite sure how I missed that.. Currently it's not possible to use twinview with xrandr (and have xrandr see it as 2 separate monitors). However check out the xorg.conf in the 2nd post on this page which might help you get what you want: You will have to restart to apply these settings though – Nathan May 6 '09 at 12:00

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