Gentoo Archives: gentoo-desktop

From: "Norman Rieß" <norman@×××××××××.org>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] Xorg / Intel VGA and multiple display
Date: Thu, 19 Nov 2009 20:02:22
Message-Id: 4B059CDD.4020004@smash-net.org
In Reply to: [gentoo-desktop] Xorg / Intel VGA and multiple display by SpaceCake
1 SpaceCake schrieb:
2 > Hi,
3 >
4 > I have the following set-up
5 >
6 > HP 6530B laptop with
7 > 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series
8 > Chipset Integrated Graphics Controller (rev 07)
9 >
10 > 1440x900 Laptop LCD resolution
11 > 1600x1200 Ext LCD resolution connected to the DVI port of the docking
12 > station
13 >
14 > Currently my multi monitor support not working at all and single also
15 > looks very buggy. When I start X the LCD screen is fine at 1440x900
16 > and same at my external LCD. When I start monitor applet, my external
17 > LCD changes to 1600x1200 together with my internal (which become
18 > useless from this point)
19 >
20 > The ideal solution would be to use dual monitor with the native
21 > resolution of both device and different screen on the two monitors. As
22 > I heard with Intel VGA it is not an easy job
23 >
24 > For me it would be a big results if my internal display can keep the
25 > resolution after I connect to the external one, so when I remove my
26 > laptop from the docking station I can still use it without restarting
27 > xdm :)
28 >
29 > I was searching for a working xorg.conf but I cannot find any. Maybe
30 > some of you already faced with this problem and can send me a working
31 > config or can show me some resources where I can find out more info on
32 > this topic
33 >
34 > Thank you
35 > Laszlo
36 >
37 Hello,
38
39 you can achieve this with xrandr.
40 I have a similar setup and i run the following comand to set things up.
41
42 xrandr --output HDMI1 --auto --left-of LVDS1 --output LVDS1 --auto
43
44 You get an overview over your devices and their names by typing xrandr
45 as user.
46 I also do not have a xorg.conf but let xorg do the config by itself.
47
48 So when i am on laptop only, xorg finds the right settings for me. If i
49 am at home using the second screen, i wrote that command and some other
50 stuff in a small script and linked that in a bin directory. So i type
51 "dualscreen" and the script sets things up for me.
52
53 #!/bin/bash
54 xrandr --output HDMI1 --auto --left-of LVDS1 --output LVDS1 --auto
55 display -window root /home/smash/wallpaper/Feuersbrunst_dual.jpg
56
57 So the result looks like this:
58 http://www.smash-net.org/bilder/loki_20091010.png
59
60 Regards,
61 Norman

Replies

Subject Author
Re: [gentoo-desktop] Xorg / Intel VGA and multiple display Space Cakex <spacecakex@×××××.com>
[gentoo-desktop] Re: Xorg / Intel VGA and multiple display Duncan <1i5t5.duncan@×××.net>