xserver-xgl makes gnome-panels stretch on dual monitors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xgl (Ubuntu) |
Won't Fix
|
Low
|
Chris Halse Rogers |
Bug Description
Hello,
dual-monitor screens works just fine with xinerama and so on until you try to install the xserver-xgl package. It seems that the xinerama function tells both screens to be screen "0" or something considering that the gnome-panel is stretched to to fill the xinerama size and does not follow the actually first screen of choice.
I have 1680x1050 that is the screen "0"
Then using another screen with 1280x1024 as screen "1"
The screen "1" is on the right side of screen "0" and that works just fine until the use of xgl when it takes the 1680x1050 + 1280x1024 and uses it to fill out the panel with.
I can see the top panel being stretched to the other part of the screen no problem. But the lower panel is below screen "1" which makes it impossible to reach on the second screen.
This might be caused just because of the xinerama stuff.....but I am not 100% sure.
Kind regards,
Niklas
Yeah, this problem really annoyed me too. It turns out to be a symptom of the way Gutsy starts Xgl. A hack workaround is to replace /usr/share/ xserver- xgl/Xgl- session with the "old recommended way" of starting Xgl:
#!/bin/bash
Xgl -fullscreen :1 -ac -br -accel glx:pbuffer -accel xv:fbo +xinerama & sleep 2
DISPLAY=:1
cookie="$(xauth -i nextract - :0 | cut -d ' ' -f 9)"
xauth -i add :1 . "$cookie"
exec dbus-launch --exit-with-session gnome-session
Actually I just pasted the above at the beginning followed by "exit 0" so that when someone tells us the right way to do it, I can easily rip my hack out. The official version of Xgl-session seems to offer some nice protections in case of an X server crash.