Quote:
Is there a way to configure this BEFORE X is loaded, or at least before I login (at the login prompt perhaps)?
|
If you have not edited the default, Suse boots into GUI mode (runlevel 5, if I'm not mistaken on Suse). When you log in (KDM), X is already started.
I know of no automated method. Here is an option for you - but you would have to boot to the CLI, not KDM.
Change the default runlevel to 3 (? I think 3 in suse... maybe 4, but it'll say in your /etc/inittab, or YAST - whichever method you choose to change it.)
Anyway, boot to the CLI & log in.
Configure /etc/X11/xorg.conf to have 2 different "layouts"
The defualt single monitor layout looks similar to this:
Section "ServerLayout"
Identifier "Simple"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Then add an additional layout... maybe something like this?:
Section "ServerLayout"
Identifier "Multihead"
Screen "Screen 1" LeftOf "Screen 2"
Screen "Screen 2"
Option "Xinerama" "true"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
So, now (if all is well) you can either type:
startx -- -layout Simple
OR
startx -- -layout Multihead
To make it really easy for yourself, add these lines to your .bash_profile (found in your /home/USER_NAME/ directory:
# for starting X with 1 monitor
alias s1='startx -- -layout Simple '
# for starting X with dual monitors
alias s2='startx -- -layout Multihead '
Then, all you have to do is type either
s1 or
s2... But of course you can name them whatever you want.
Yeah... I know this probably deviates from the Suse standard way of doing things, but..... it's how I'd do it. Take or leave the idea. I had some time to kill waiting for something, so I wrote it all out.
Good luck
-tw
<EDITED>
Quote:
To compete with Windows...
|
OK... I don't want to start a war of words... But the day linux becomes like windows, I'll have to find a new OS...
Compete for market share? OK
Compete for being similar? hummm....