Всех приветствую, возник вопрос:
У меня к компьютеру подключен телевизор через HDMI и чтобы его включать надо лезть в nvidia x server settings определять его, размещать справа и применять. Для отключения тоже самое. Хотелось бы вывести на панель гнома 2 "кнопки запуска" одна включает изображение на телевизоре, настроенным мной образом, а вторая выключает. В nvidia x server settings нажал Save to x conf. file - show preview и увидел что хочу применять. Цель такова: по кнопке запуска применять вот эти различные конфигурационные файлы
Включен только монитор:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 260.19.06 (buildd@palmer) Mon Oct 4 16:01:38 UTC 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BenQ E900"
HorizSync 31.0 - 83.0
VertRefresh 55.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600 GT"
EndSection
Section "Screen"
# Removed Option "metamodes" "CRT: 1280x1024 +0+0, DFP: NULL"
# Removed Option "metamodes" "CRT: 1280x1024 +0+0, DFP: 1360x768 +1280+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-1"
Option "metamodes" "CRT: 1280x1024 +0+0, DFP: NULL"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Включен монитор и телевизор, с положение справа от монитора:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 260.19.06 (buildd@palmer) Mon Oct 4 16:01:38 UTC 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BenQ E900"
HorizSync 31.0 - 83.0
VertRefresh 55.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600 GT"
EndSection
Section "Screen"
# Removed Option "metamodes" "CRT: 1280x1024 +0+0, DFP: NULL"
# Removed Option "metamodes" "CRT: 1280x1024 +0+0, DFP: 1360x768 +1280+0"
# Removed Option "metamodes" "CRT: 1280x1024 +0+0, DFP: NULL"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-1"
Option "metamodes" "CRT: 1280x1024 +0+0, DFP: 1360x768 +1280+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Пользователь решил продолжить мысль 17 Января 2011, 16:40:03:
я применил 2 разных режима и посмотрел превью Xorg'а, ведь так нужно было?)