Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

T420 with dual monitors on Ubuntu/XUbuntu 11.10

Linux on ThinkPads
Post Reply
Message
Author
mfeller
Posts: 7
Joined: Mon Nov 28, 2011 1:34 pm
Location: Carmel, IN

T420 with dual monitors on Ubuntu/XUbuntu 11.10

#1 Post by mfeller » Sat Dec 10, 2011 5:11 pm

The T420, of course, can support two simultaneous monitors (the laptop screen plus another connected to the DVI or VGA port).

How do I enable this with Ubuntu/XUbuntu? It will only let me choose one monitor or the other. There is a cloning option available if I use Fn+F5, but that doesn't seem to work (at least when testing with VGA).

Is this a driver limitation, or XUbuntu limitation, or is there something else I need to do to enable this?

Thanks!

gdi2k
Posts: 15
Joined: Tue Aug 04, 2009 10:49 pm
Location: Dubai, UAE

Re: T420 with dual monitors on Ubuntu/XUbuntu 11.10

#2 Post by gdi2k » Sun Jan 08, 2012 5:22 am

I know this is quite old, but in case you haven't figured this out yet...

Is this an optimus enabled machine, and if so, are you using the Nvidia drivers?

If so, you should change the monitor settings using the nvidia-settings utility - you can launch it from the command line if you can't find it in the GNOME / Xubuntu menus.

If not, you should be able to use the in-built GNOME Displays utility to change your settings in GNOME - I don't know what Xubuntu provides here. If that doesn't work, have a play with the xrandr command from the command line - it will give you feedback as to what's going wrong so you can hunt down the problem.

You can get more info on how xrandr works by running "man xrandr" from the command line, or google it.

(careful switching your primary screen off as you won't be able to see what you're doing! :wink: - I run these in scripts, so it works)
Switching to external monitors:

Code: Select all

xrandr --output LVDS1 --off  # this switches off inbuilt display first. 
xrandr --output HDMI2 --mode 1920x1080 --pos 0x0 --primary --output VGA1 --mode 1920x1080 --right-of HDMI2 #this activates the two external monitors
Switch back to inbuilt display:

Code: Select all

xrandr --output VGA1 --off --output HDMI2 --off # switches off the external monitors
xrandr --output LVDS1 --auto #this activates the inbuilt screen again
It's worth pointing out that LVDS1 is my inbuilt display and HDMI2 is my DisplayPort port (no idea why the labelling is off like that).

mfeller
Posts: 7
Joined: Mon Nov 28, 2011 1:34 pm
Location: Carmel, IN

Re: T420 with dual monitors on Ubuntu/XUbuntu 11.10

#3 Post by mfeller » Sun Jan 08, 2012 9:44 am

Thanks...I will play around with xrandr.

I don't have the Nvidia graphics, fyi.

The XUbuntu GUI tools seem like they should support a dual-monitor configuration, similar to how graphical multi-monitor tools work on other window managers & OS's. I don't know if it is a matter of the GUI tool not knowing that the underlying driver/hardware is capable, or the driver itself is not capable.

deckoff
Posts: 35
Joined: Wed Aug 18, 2010 10:02 am
Location: Sofia, Bulgaria

Re: T420 with dual monitors on Ubuntu/XUbuntu 11.10

#4 Post by deckoff » Sun Jan 29, 2012 10:44 am

I had a lot of troubles with both Ubuntu and Xubuntu and dual monitors.
I will recommend Kubuntu. It seems KDE excels both Xfce and Unity when talking bout dual monitors.
I will recommend trying with different cable( though it sounds strange), this helped me force Xubuntu properly recognize my TV resolutions...

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 19 guests