Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've tried to set up that configuration a lot of times, but I'm not able to make it work properly. I want to set up one of the screens as vertical and the other one as horizontal...

I'm able to use then both as vertical or both as horizontal...

PD: I have an NVidia card, I've talk with people that have ATI cards and appears to be easier...

PD2: I'm using Ubuntu 10.04

share|improve this question

3 Answers 3

You can probably use the xrandr tool for this (assuming that your driver supports the xrandr extension - I guess most do).

To check what monitors are connected and if xrandr works just type in a terminal

xrandr

On my system I get for example:

LVDS1 connected [..] DP2 connected 1920x1200 [..]

Now you can configure the placement etc. of the different outputs.

For example:

xrandr --output LVDS1 --mode 1280x800 --output HDMI2 --mode 1600x1200 --left-of LVDS1 --rotate left

This configures two screen side by side, the laptop-sceen is placed on the right of the external TFT and the TFT screen is rotated by 90 degrees (portrait mode).

To switch between different external monitors, often you need to switch one off, e.g. with

xrandr --output HDMI2 --off

because a lot of graphic cards just support 2 outputs enabled at the same time.

share|improve this answer

I believe the this blog post discusses the affect your trying to achieve. :)

You also might want to check out Xinerama

share|improve this answer
    
It's not working, it rotates BOTH screens, instead of just one :-( –  Khelben Aug 23 '10 at 11:42

I don't have enough rep to comment yet but I'd like to mention that although @garbagecollector's link is relevant, I believe that Ubuntu stopped using a default xorg.conf in 9.10. However I'm lead to believe it will respect an xorg.conf file if it exists.

Here's a link I stumbled upon to use an xorg.conf file again:

http://www.osguides.net/operation-systems/217-how-to-create-xorgconf-in-ubuntu-910.html

share|improve this answer
1  
On my system using the Nvidia proprietary driver the vendor settings program created an xorg.conf file for me when I used it to configure a dual monitor setup. –  moberley Aug 21 '10 at 3:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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