Quote:
Originally Posted by timread
The only problem is that I don't know how to specify more than one server layout in the xorg.conf file.
|
you just add another... if your default xorg.conf has device and screen sections for your laptop monitor and your two 19" monitors, then you just add a new
Section "ServerLayout", with a different identifier, that uses just one screen, and leaving your multi-monitor layout alone.
Code:
Section "ServerLayout"
Identifier "roving"
Screen 0 "laptop_screen" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
obviously you would point the layout to the correct screen and input devices for your laptop.
and then put in a ServerFlags section(or just the option if this section is already present) to specify which layout to use when nothing is specified with startx -- -layout
Code:
Section "ServerFlags"
Option "DefaultServerLayout" "default"
Endsection
so if your layout with the dual 19's (and the laptop screen?) had the identifier "default", just running
startx would use that layout. and running
startx -- -layout roving would startup the layout that only uses the screen "laptop_screen".
I believe you set the default runlevel in /etc/initab, but I have not yet done any fiddling with that so I can't comment any further. I also suppose it's possible that some distros do it differently... I bet there's something in the LQwiki