LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Auto Selecting/Switching monitors via xorg.conf (https://www.linuxquestions.org/questions/linux-hardware-18/auto-selecting-switching-monitors-via-xorg-conf-380671/)

suguru 11-07-2005 01:19 AM

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.


All times are GMT -5. The time now is 08:30 PM.