› Foros › PC › Software libre
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "es"
Option "XkbOptions" "ctrl:nocaps"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "i810"
Screen 0
Option "MonitorLayout" "CRT,LFP"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "i810"
Screen 1
Option "MonitorLayout" "CRT,LFP"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection
Section "Monitor"
Identifier "External Monitor"
Option "DPMS"
HorizSync 30.0-83.0
VertRefresh 56.0-76.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Secondary Screen"
Device "Device1"
Monitor "External Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "800x600"
EndSubSection
EndSection
#Section "ServerLayout"
# Identifier "Default Layout"
# Screen "Default Screen"
# InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
# InputDevice "Synaptics Touchpad"
#EndSection
Section "ServerLayout"
Identifier "Dual-monitor Layout"
Screen 0 "Default Screen"
Screen 1 "Secondary Screen" LeftOf "Default Screen"
Option "Clone" "On"
Option "Xinerama" "On"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
A falta de probarlo... lo del F7 no creo que sea nada más que un atajo para MacOSX. Es decir... que sin tener Xorg en Linux bien configurado para que lo saque a la pantalla externa, no hay botón que valga. Dudo que hayan implementado nada a nivel hardware.Seimour escribió:¿Los iBook no tienen un botón en el teclado que te permite configurar por dónde quieres que salga la imagen? Vamos, porque en el primer portátil que tuve hace 6 años sí lo tenía y o te dejaba la pantalla del portátil en negro y se encendía la otra, o viceversa o ambas encendidas.
¿No es la Tecla F7? Porque en el mío ya no recuerdo si era F7 o F8.
Pd: era un dell
:? :? :?
Cobo escribió:A falta de probarlo... lo del F7 no creo que sea nada más que un atajo para MacOSX. Es decir... que sin tener Xorg en Linux bien configurado para que lo saque a la pantalla externa, no hay botón que valga. Dudo que hayan implementado nada a nivel hardware.
Orion, sigo buscando desesperadamente... ¿quizá con mini-dvi->VGA?
¡Saludos!
Section "Monitor"
Identifier "External Monitor"
Option "DPMS"
HorizSync 30-93
VertRefresh 56-76
# VertRefresh 60
# DisplaySize 433 271
# modeline "1680x1050@60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +$
Modeline "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +v$
EndSection
(II) I810(0): Monitor name: Philips 200WS
(II) I810(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 93 kHz, PixClock max 170 MHz
(II) I810(0): Using hsync ranges from config file
(II) I810(0): Using vrefresh ranges from config file
(II) I810(0): Printing DDC gathered Modelines:
(II) I810(0): Modeline "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
(II) I810(0): Modeline "800x600" 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync
(II) I810(0): Modeline "640x480" 31.50 640 656 720 840 480 481 484 500 -hsync -vsync
(II) I810(0): Modeline "640x480" 31.50 640 664 704 832 480 489 491 520 -hsync -vsync
(II) I810(0): Modeline "640x480" 30.24 640 704 768 864 480 483 486 525 -hsync -vsync
(II) I810(0): Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync
(II) I810(0): Modeline "720x400" 28.32 720 738 846 900 400 412 414 449 -hsync +vsync
(II) I810(0): Modeline "1280x1024" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
(II) I810(0): Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
(II) I810(0): Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
(II) I810(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
(II) I810(0): Modeline "832x624" 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync
(II) I810(0): Modeline "800x600" 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync
(II) I810(0): Modeline "800x600" 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync
(II) I810(0): Modeline "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
(II) I810(0): Modeline "1600x1200" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
(II) I810(0): Modeline "1440x900" 136.75 1440 1536 1688 1936 900 903 909 942 -hsync +vsync
(II) I810(0): Modeline "1440x900" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
(II) I810(0): Modeline "1280x720" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
(II) I810(0): Modeline "1280x960" 101.25 1280 1360 1488 1696 960 963 967 996 -hsync +vsync
(II) I810(0): Modeline "1152x864" 104.00 1152 1224 1344 1536 864 867 871 905 -hsync +vsync
(II) I810(0): Modeline "1280x1024" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
(II) I810(0): Modeline "1680x1050" 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync
(--) I810(0): A non-CRT device is attached to pipe B.
No refresh rate overrides will be attempted.
(--) I810(0): Maximum space available for video modes: 16064 kByte
(II) I810(0): Using detected DDC timings
(II) I810(0): HorizSync 30-93
(II) I810(0): VertRefresh 56-76
Section "Device"
Identifier "Device1"
VideoRam 65536
Driver "i810"
Screen 0
Option "MonitorLayout" "LFP,DFP"
# Option "MonitorLayout" "DFP,LFP"
BusID "PCI:0:2:0"
EndSection
Xorg -version
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux Ubuntu
Current Operating System: Linux MacBook 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
#######
915resolution -l
Intel 800/900 Series VBIOS Hack : version 0.5.2
Chipset: 945GM
BIOS: TYPE 1
Mode Table Offset: $C0000 + $269
Mode Table Entries: 36
Section "Device"
Identifier "Device1"
VideoRam 65536
Driver "i810"
Option "MonitorLayout" "NONE,DFP"
Option "NoDDC" "True"
BusID "PCI:0:2:0"
EndSection
CRT:Monitor CRT
LFP:(Local Flat Panel) monitor del portátil
DFP:(Digital Flat Panel):Monitor LCD
TV: Salida de vídeo
NONE: Nada
Section "Monitor"
Identifier "External Monitor"
Option "DPMS"
HorizSync 30-93
VertRefresh 56-76
DisplaySize 433 271
Modeline "1680x1050" 154.20 1680 1712 2296 2328 1050 1071 1081 1103
Modeline "1280x800" 83.91 1280 1312 1624 1656 800 816 824 841
gamma 1.0
EndSection
MODE=5a (pon la que estés utilizando ahora)
XRESO=1680
YRESO=1050
BIT=32
i810switch crt/lcd on/off <- activa/desactiva salida
ru08080 escribió:"AUTO" no es una opción válida para "MonitorLayout", o por lo menos a mi no me funciona.
zootropo escribió:http://www.google.es/search?hl=es&q...%BAsqueda&meta=
Resultados 1 - 10 de aproximadamente 18.000 de monitorlayout auto
man i810 escribió: Option "MonitorLayout" "anystr"
Allow different monitor configurations. e.g. "CRT,LFP" will con‐
figure a CRT on Pipe A and an LFP on Pipe B. Regardless of the
primary heads’ pipe it is always configured as
", ". Additionally you can add different configu‐
rations such as "CRT+DFP,LFP" which would put a digital flat
panel and a CRT on pipe A, and a local flat panel on pipe B.
For single pipe configurations you can just specify the monitors
types on Pipe A, such as "CRT+DFP" which will enable the CRT and
DFP on Pipe A. Valid monitors are CRT, LFP, DFP, TV, CRT2,
LFP2, DFP2, TV2 and NONE. NOTE: Some configurations of monitor
types may fail, this depends on the Video BIOS and system con‐
figuration. Default: Not configured, and will use the current
head’s pipe and monitor.
Cobo escribió:Sobre tu script... ni idea de cómo detectar si el monitor está conectado o no, pero sabiendo eso lo demás es tan sencillo como crear distintos layouts en xorg.conf y que arranque el que toca.
Si no sabes a qué me refiero mañana veo cómo pueda quedar todo y te comento.
if [ -e /dev/ttyUSB0 ]; then
sed -e 's/\Option "DefaultServerLayout" "DefaultLayout"#AUTODETECTAR/Option "DefaultServerLayout" "ExternalLayout"#AUTODETECTAR/g' -i /etc/X11/xorg.conf
915resolution 5a 1680 1050 >/dev/null 2>&1
else
sed -e 's/\Option "DefaultServerLayout" "ExternalLayout"#AUTODETECTAR/Option "DefaultServerLayout" "DefaultLayout"#AUTODETECTAR/g' -i /etc/X11/xorg.conf
915resolution 5a 1280 800 >/dev/null 2>&1
fi
Partes del xorg.conf implicadas escribió:Section "Device"
Identifier "Intel 950"
Driver "i810"
BusID "PCI:0:2:0"
VideoRam 65536
Option "XAANoOffscreenPixmaps"
EndSection
Section "Device"
Identifier "Device1"
VideoRam 65536
Driver "i810"
Option "NoDDC" "true
Option "MonitorLayout" "NONE,DFP"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "Color LCD"
Option "DPMS"
HorizSync 30-93
VertRefresh 56-76
EndSection
Section "Monitor"
Identifier "External Monitor"
Option "DPMS"
HorizSync 30-93
VertRefresh 56-76
DisplaySize 433 271
Modeline "1680x1050" 154.20 1680 1712 2296 2328 1050 1071 1081 1103
Modeline "1280x800" 83.91 1280 1312 1624 1656 800 816 824 841
# gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel 950"
Monitor "Color LCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "Screen"
Identifier "Secondary Screen"
Device "Device1"
Monitor "External Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1680x1050" "1280x800" "1024x768" "800x600"
EndSubSection
EndSection
###################################################################
Section "ServerFlags"
# Option "DefaultServerLayout" "DefaultLayout"
Option "DefaultServerLayout" "ExternalLayout"#AUTODETECTAR
# Option "DefaultServerLayout" "CloneLayout"
# Option "DefaultServerLayout" "XineramaLayout"
EndSection
#####################################################################
Section "ServerLayout"
Identifier "DefaultLayout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Mouse5"
InputDevice "Touchpad"
Option "AIGLX" "true"
EndSection
Section "ServerLayout"
Identifier "ExternalLayout"
Screen "Secondary Screen"
Option "AIGLX" "true"
InputDevice "Generic Keyboard"
InputDevice "Mouse5"
InputDevice "Touchpad"
EndSection
log xorg escribió:(II) intel(0): Display plane A is now enabled and connected to pipe A.
(II) intel(0): Pipe B is on
(II) intel(0): Display plane B is now enabled and connected to pipe B.
(II) intel(0): Output VGA is connected to pipe none
(II) intel(0): Output LVDS is connected to pipe B
(II) intel(0): Output TMDS-1 is connected to pipe A
(II) intel(0): Output TV is connected to pipe none
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(WW) intel(0): Option "MonitorLayout" is not used
y reinicia el servicio "/etc/init.d/915resolution restart".MODE=AUTO
XRESO=
YRESO=
BIT=
Reinicia el servicio. Asegúrate que que ya NO tienes la resolución 1280x800.MODE="lo que sea"
XRESO=1280
YRESO=1050
BIT=24/32(lo que tengas)