On Mon, Feb 25, 2008 at 11:12 AM, Rich Healey <[EMAIL PROTECTED]> wrote: > LI Daobing wrote: > > Hello, > > > > On Mon, Feb 25, 2008 at 10:54 AM, Rich Healey <[EMAIL PROTECTED]> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> Hi list. > >> > >> I'm playing with X on my asus M6 notebook, debian Lenny with bits of > >> experimental and unstable to support KDE 4 (though i run E17 995 of the > >> time, just wanted to play with KDE). > >> > >> Anyway, i use dual screens at work, and just builtin at home, i was > >> wanting to know if there's somethingi can poll before X actually fires > >> up to see what displays are attached? > >> > >> My goal is to write an init script that wills start before entrance and > >> symlink an appropriate xorg.conf for the number of screens attached to > >> /etc/X11/xorg.conf ... > >> > > > > I use a single /etc/X11/xorg.conf with a modifed Screen Section[1](add > > a Virtual line). > > > > then use 'xrandr --output VGA --auto --output LVDS --auto --right-of > > VGA' to turn on dual head support. > > > > [1] > > Section "Screen" > > Identifier "Default Screen" > > Device "Intel Corporation Mobile GM965/GL960 > > Integrated Graphics Controller" > > Monitor "Generic Monitor" > > DefaultDepth 24 > > SubSection "Display" > > Virtual 2560 1024 > > Modes "1280x800" > > EndSubSection > > EndSection > > > > > > Thanks right now i use Xrandr, but there are bugs (maximising windows > puts them half on each screen.) > > On my debian desktop with an ATI card this works perfectly, so i'm > working towards that solution. > > Is that screen section for the primary or secondary? do you only have > one screen line?
yes, only one screen line. > > Don't get me wrong, xrandr works well, but i feel there's potential to > have it working better. I don't know about this, :) -- Best Regards, LI Daobing -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

