layouts en xorg.conf
Antonio Hernández
listas en antonienko.com
Mie Dic 7 13:12:53 GMT 2005
Buenas, os cuento un problemilla que tengo.
Tengo dos layouts en xorg.conf, uno con dualhead (doble monitor), y otro
con tan solo la pantalla del portátil, de manera que mientras estoy en
casa, el principal es el de doble monitor, pero cuando me voy fuera,
quiero que el layout sea el otro.
En Hoary, lo que hacía era arrancar el sistema normalmente, ir a una
consola, parar gnome, y hacer un startx con el nuevo layout:
sudo /etc/init.d/gdm stop
startx -- -layout uno
Pero por algún motivo que se me escapa, desde que actualicé a breezy,
esto no es posible. Lo único que obtengo es el siguiente error:
AUDIT: Web Dec 7 13:53:40 2005:15353 X: client 1 rejected from localhost
Xlib: connection to ":0.0" refused by server
Xlib: no protocol specified
Adjunto mi xorg.conf para que tengáis más información.
¿Alguien sabe donde puede estar el problema?
¿Alguna idea para no tener que iniciar, parar gnome, y volver a
iniciarlo, sino que desde el grub pueda seleccionar el layout que quiero?
Un saludo, y gracias por la ayuda.
--
Antonio
------------ próxima parte ------------
# /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 commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "false"
Option "ZAxisMapping" "4 5"
EndSection
#Section "InputDevice"
# Identifier "Synaptics Touchpad"
# Driver "synaptics"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/psaux"
# Option "Protocol" "auto-dev"
# Option "HorizScrollDelta" "0"
# Option "EmulateWheel"
# Option "EmulateWheelButton" "2"
#EndSection
Section "Device"
Identifier "video0"
Driver "radeon"
BusID "PCI:1:0:0"
Screen 0
Option "MonitorLayout" "LVDS,TMDS"
Option "MergedFB" "off"
Option "CRT2Position" "RightOf"
Option "MetaModes" "1024x768-1280x1024"
Option "AGPMode" "2"
Option "AGPFastWrite" "on"
#Option "EnablePageFlip" "on"
#Option "DynamicClocks" "on"
EndSection
Section "Device"
Identifier "video1"
Driver "radeon"
BusID "PCI:1:0:0"
Option "MonitorLayout" "LVDS,TMDS"
Option "AGPMode" "2"
Option "AGPFastWrite" "on"
Screen 1
EndSection
Section "Monitor"
Identifier "monitor0"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "LG"
ModelName "FLATRONL1715S"
HorizSync 30.0-83.0
VertRefresh 56.0-76.0
Option "dpms"
EndSection
Section "Screen"
Identifier "screen0"
Device "video0"
Monitor "monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "screen1"
Device "video1"
Monitor "monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "dos"
Screen 0 "screen0" 0 0
Screen 1 "screen1" RightOf "screen0"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "Synaptics Touchpad"
Option "Xinerama" "on"
EndSection
Section "ServerLayout"
Identifier "uno"
Screen 0 "Screen0" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Más información sobre la lista de distribución ubuntu-es