LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 12-04-2005, 01:39 PM   #1
knobdy
Member
 
Registered: Oct 2005
Location: St. Joseph, MO
Distribution: SuSE 10 on T42 Laptop
Posts: 38

Rep: Reputation: 15
Dual Monitor Selection at boot


THIS MAY BE COVERED SOMEWHERE, BUT SEARCH DOESN'T APPEAR TO BE WORKING


I have SuSE 10 running on my thinkpad. At home I would like to use dual monitor, at work just the laptop's LCD. Dual monitors ARE working, but switching between the two configurations requires a restart of X (login where ever I am, turn on/off dual monitors, restart X, proceed to work). Is there a way to configure this BEFORE X is loaded, or at least before I login (at the login prompt perhaps)?

If so, how? If not, why not?

To compete with Windows, Linux would need to detect the monitor (it doesn't appear to) and turn on the option, or detect that it isn't there and turn it off.
 
Old 12-05-2005, 10:46 PM   #2
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
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....

Last edited by tw001_tw; 12-05-2005 at 11:31 PM.
 
Old 12-06-2005, 08:37 AM   #3
knobdy
Member
 
Registered: Oct 2005
Location: St. Joseph, MO
Distribution: SuSE 10 on T42 Laptop
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tw001_tw
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.
I appreciate it and will certainly look into doing this. If I figure out how to edit the menus in KDM/GDM I would think I could include an X restart in the conf change...?

Quote:
Originally Posted by tw001_tw
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....

Microsoft hasn't spent billions of dollars, over the years, studying users of their products for nothing. Why try re-inventing the wheel? Benefit from those who came before ya, I always say.

That said, I was referring to competing for market share (and only out of frustration <g>). If Linux is to attract greater numbers of users it has to become more user friendly, and if not that then at least a little more automated. Many of the new distributions have come a LONG way since I first tried Linux out (just 5 or 6 years ago), but they still have a LONG way to go. This issue, switching between monitor configurations, was working in Windows over 5 or 6 years ago. There's plug-and-play support in Linux now but it doesn't appear to be fully implemented...some day.

Oh, and we won't get the driver support we want until we have the market share to demand it - and drivers HAVE to be Linux's Achilles heal right now.

At any rate, again, thanks. Eventually I'll have it configured just how I like it and will need to upgrade again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distro selection help for tri-monitor computer DeadPenguin Linux - Newbie 6 06-28-2005 03:43 PM
Help With Selection of Monitor neoAThome Linux - Hardware 0 01-17-2005 03:26 AM
Monitor trouble in RH9/W2K dual-boot situation BixGomez Red Hat 3 03-01-2004 04:43 AM
deleting os selection on dual boot In2Fords Linux - Newbie 4 12-22-2003 06:38 AM
Correct monitor selection Teiresias Linux - Newbie 3 02-14-2001 03:28 AM


All times are GMT -5. The time now is 11:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration