LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-07-2005, 01:19 AM   #1
suguru
Member
 
Registered: Dec 2003
Location: Voluntarily move into diaster relief areas.
Distribution: Upgraded from Suse 10 to Ubuntu.
Posts: 104

Rep: Reputation: 15
Auto Selecting/Switching monitors via xorg.conf


ModeLine "1152x864" 99.00 1152 1208 1328 1552 864 864 866 902
was the choice of a freeBSD user for his Mag DX17F monitor.

I am using a Nec Multisync lcd 1550m and want to have xorg.conf
detect and switch to a Mag DX17F so other relief volunteers can use
my Nec Multisync lcd 1550m when in the diaster area.

I added a second section for monitor like below. Should I add a
second section for the mode of the Mag DX17F like below?

Section "Monitor"
DisplaySize 300 230
HorizSync 31.5-60
Identifier "Monitor[0]"
ModelName "Nec Multisync lcd 1550m"
Option "DPMS"
VendorName "Nec"
VertRefresh 56.2-75.1
UseModes "Modes[0]"
EndSection

Section "Monitor"
DisplaySize 300 230
HorizSync 30-64
Identifier "Monitor[1]"
ModelName "Mag DX17F"
Option "DPMS"
VendorName "Mag"
VertRefresh 50-100
UseModes "Modes[1]"
EndSection


Section "Modes"
Identifier "Modes[0]"
# Modeline "1280x1024" 125.14 1280 1368 1504 1728 1024 1025 1028 1065
# Modeline "1280x1024" 145.69 1280 1376 1512 1744 1024 1025 1028 1071
# Modeline "1280x1024" 147.70 1280 1376 1512 1744 1024 1025 1028 1072
Modeline "1024x768" 73.89 1024 1080 1192 1360 768 769 772 799
# Modeline "1024x768" 86.18 1024 1088 1200 1376 768 769 772 803
# Modeline "1024x768" 97.84 1024 1088 1200 1376 768 769 772 808
# Modeline "1024x768" 110.91 1024 1096 1208 1392 768 769 772 813
# Modeline "1024x768" 118.13 1024 1096 1208 1392 768 769 772 816
Modeline "800x600" 44.13 800 840 920 1040 600 601 604 624
Modeline "800x600" 51.73 800 840 928 1056 600 601 604 628
Modeline "800x600" 58.73 800 840 928 1056 600 601 604 632
Modeline "800x600" 66.71 800 848 936 1072 600 601 604 635
Modeline "800x600" 73.98 800 848 936 1072 600 601 604 639
# Modeline "800x600" 82.55 800 856 944 1088 600 601 604 643
# Modeline "800x600" 90.10 800 856 944 1088 600 601 604 647
Modeline "640x480" 27.74 640 664 728 816 480 481 484 500
Modeline "640x480" 32.64 640 672 736 832 480 481 484 503
Modeline "640x480" 36.97 640 672 736 832 480 481 484 505
Modeline "640x480" 42.22 640 680 744 848 480 481 484 508
Modeline "640x480" 46.80 640 680 744 848 480 481 484 511
Modeline "640x480" 51.43 640 680 744 848 480 481 484 514
Modeline "640x480" 57.18 640 680 752 864 480 481 484 517
EndSection

Section "Modes"
Identifier "Modes[1]"
ModeLine "1152x864" 99.00 1152 1208 1328 1552 864 864 866 902
Modeline "1024x768" 73.89 1024 1080 1192 1360 768 769 772 799
Modeline "1024x768" 86.18 1024 1088 1200 1376 768 769 772 803
Modeline "1024x768" 97.84 1024 1088 1200 1376 768 769 772 808
Modeline "800x600" 44.13 800 840 920 1040 600 601 604 624
Modeline "800x600" 51.73 800 840 928 1056 600 601 604 628
Modeline "800x600" 58.73 800 840 928 1056 600 601 604 632
Modeline "800x600" 66.71 800 848 936 1072 600 601 604 635
Modeline "800x600" 73.98 800 848 936 1072 600 601 604 639
Modeline "800x600" 82.55 800 856 944 1088 600 601 604 643
Modeline "800x600" 90.10 800 856 944 1088 600 601 604 647
Modeline "640x480" 27.74 640 664 728 816 480 481 484 500
Modeline "640x480" 32.64 640 672 736 832 480 481 484 503
Modeline "640x480" 36.97 640 672 736 832 480 481 484 505
Modeline "640x480" 42.22 640 680 744 848 480 481 484 508
Modeline "640x480" 46.80 640 680 744 848 480 481 484 511
Modeline "640x480" 51.43 640 680 744 848 480 481 484 514
Modeline "640x480" 57.18 640 680 752 864 480 481 484 517
EndSection

I also have a second and unrelated question.
After all of xorg.conf has been done correctly, what is the command
to determine which line in modes is currently active in Suse 10?


As always thanks for the high quality help on linuxquestions.
 
  


Reply



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
Regularly switching between monitors ianunderwood SUSE / openSUSE 2 08-04-2005 12:34 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM
Switching monitors? Do-Ping Linux - Hardware 1 03-08-2003 02:57 PM
switching monitors in Linux? ptolbert Linux - General 1 12-20-2001 12:16 PM
switching monitors jonfa Linux - General 1 10-16-2001 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration