I use WM 0.92 on mi IBM T23 (Debian Etch release), my dockstation has a second 
PCI video adapter card.

In order to use both cards I configured manually my xorg.conf file, as I do not 
use Xinerama at all I get two separate desktops running WM when docked. If my 
T23 is not docked then I get only one desktop/screen of WM.

The only strange thing I see is that you have in your xorg.conf file the 
current line:
 Virtual 3046 1050


This tells xorg.conf (not WM) to use a virtual screen of 3046x1050, when used 
whith only one screen the Virtual value must match the real resolution value or 
should be omitted letting xorg.conf to guess the values on the fly.

Regards.


----Mensaje original----

De: [email protected]

Fecha: 12/04/2010 3:56

Para: "wmaker-dev"<[email protected]>

Asunto: Problems with multiple screens



Hi all,

Got a new laptop, and instead of using ximerama, I'm trying a different 
technique of using multiple screens.

The problem with ximerama is that I didn't know how to change the number of 
screens on the fly, so now i've switched...



Now I use my laptop with ATI graphics card, with xrandr.  my xorg.conf looks 
something like this:


Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"


        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1366x768"
EndSection



Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"


        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"


                Virtual 3046 1050
                Depth     24
        EndSubSection
EndSection


it was partially generated by aticonfig
If you allow it to define two devices, then you end up with an independent 
wmaker on each monitor (dual-head), and only the mouse can cross between the 
screens.


But if you define just one device and screen (as above), then xrandr can 
combine the screens.

I set the virtual to be as large as the two monitors side-by-side.
When X first starts, its basically a crippled clone (the CRT's resolution isn't 
ideal).



I open a terminal and run:
xrandr --output CRT1 --auto --right-of LVDS

That fixes up the CRT's resolution and puts it to the right of the laptop.

What is great about this is I can then use xrandr to turn off the CRT, or move 
it around, etc.




However, the problem is that wmaker is confused by this, and believes the 
workspace is still the original size.
If I use the menu to restart wmaker, then it figures things out correctly.

shouldn't wmaker be watching for randr changes?



cheers
Paul






<<attachment: vCard principal.vcf>>

Reply via email to