1 |
At Mon, 10 Sep 2007 00:33:35 +0200 Daniel Pielmeier <daniel.pielmeier@××××××××××.com> wrote: |
2 |
|
3 |
> the update to xorg-server-1.3 broke my dual-screen setup. It creates a |
4 |
> virtual screen size with the same size of the primary monitor for the |
5 |
> second monitor which is my TV. So i can only reach a zone with 800x600 |
6 |
> on the second device, even scrolling within the virtual screen is |
7 |
> impossible. I want 1280x1024 for the primary and 800x600 for the |
8 |
> secondary Monitor which displays the complete desktop on any screen. |
9 |
|
10 |
I also had breakage. I have an 1680x1050 laptop and a 1600x1200 |
11 |
external monitor. When I have the monitor connected, it is all I use. |
12 |
|
13 |
When I don't have the monitor connected, I naturally use the laptop |
14 |
screen. |
15 |
|
16 |
I will give my fix below, but to understand it, I think it is helpful |
17 |
to know what I did previously. |
18 |
|
19 |
Previously, when I went into X (gnome) I have a shell script |
20 |
(~/bin/Xinitialize) run by gnome-session that included |
21 |
|
22 |
xrandr -s 2 (the 2 is from memory and might be wrong) |
23 |
|
24 |
this worked because when I had the ext monitor in I made sure to do fn-f8 |
25 |
before the system went into X. This insured that X came up on the |
26 |
monitor and size #2 was it turns out 1600x1200 (thank you |
27 |
915resolution, for enabling 1600x120 all together). |
28 |
|
29 |
When the ext monitor was not in, by dumb luck, size number 2 was |
30 |
1680x1050 so it all worked. |
31 |
|
32 |
With the new server, the dumb luck disappeared, but a better xrandr |
33 |
appeared to take its place (the real improvement is that the server |
34 |
supports 1.2 RandR). |
35 |
|
36 |
Now my ~/bin/Xinitialize begins |
37 |
|
38 |
#!/bin/sh |
39 |
sleep 2 |
40 |
|
41 |
if xrandr | grep "VGA connected" ; then |
42 |
xrandr --verbose --output VGA --mode 1600x1200 --output LVDS --off |
43 |
else |
44 |
xrandr --verbose --output VGA --off --output LVDS --mode 1680x1050 |
45 |
fi |
46 |
xset s reset # above seems to blank the screen |
47 |
sleep 3 |
48 |
|
49 |
This sets 1600x1200 and turns off the laptop screen when the ext |
50 |
monitor is in. It sets 1680x1050 and turns off driving the external |
51 |
monitor connector (which may well be a useless step) when there is no |
52 |
ext monitor connected. |
53 |
|
54 |
Perhaps something similar will help you. |
55 |
|
56 |
Good luck, |
57 |
allan |
58 |
-- |
59 |
gentoo-user@g.o mailing list |