Multi-Terminal

De McWiki

Tabla de contenidos

Preparacion del sistema

Los requisitos hardware:

  - Ordenador con dos tarjetas graficas ( o una con salida dual ).
  - 2 teclados y 2 ratones.
  - 2 Monitores.

Los requisitos software:

  - Xorg 6.9/7.0 o superior.
  - Soporte para event en el kernel.

Ficheros de Configuracion


Fichero para dos tarjetas


Explicación: Nota.

Este fichero de configuración es meramente informativo.


Archivo: /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "Serverlay0"
        Screen       0 "Screen0" 0 0
#       Screen         "Screen1" RightOf "Screen0"
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
        Identifier      "Serverlay1"
        Screen        0 "Screen1" 0 0
        InputDevice     "Mouse0" "CorePointer"
        InputDevice     "KeyBoard0" "CoreKeyboard"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "evdev"
        Load  "extmod"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
        Option      "Device" "/dev/input/event0"
        Option      "XkbRules"  "evdev"
        Option      "XkbModel"  "pc105"
        Option      "XkbLayout" "es"
EndSection

Section "InputDevice"
        Identifier  "Keyboard1"
        Driver      "evdev"
        Option      "Device" "/dev/input/event1"
        Option      "XkbRules"  "evdev"
        Option      "XkbModel"  "pc105"
        Option      "XkbLayout" "es"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        #Option     "Protocol" "PS/2"
        Option      "Device" "/dev/input/mouse0"
EndSection

Section "InputDevice"
        Identifier   "Mouse1"
        Driver       "mouse"
        Option       "Device" "/dev/input/mouse1"
EndSection

Section "Monitor"

        #DisplaySize      270   200     # mm
        Identifier   "Monitor0"
        VendorName   "NOK"
        ModelName    "Nokia 449Xi+"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 120.0
        Option      "DPMS"
EndSection

Section "Monitor"

        #DisplaySize      340   270     # mm
        Identifier   "Monitor1"
        VendorName   "ACR"
        ModelName    "AL1715"
        HorizSync    30.0 - 83.0
        VertRefresh  50.0 - 75.0
        Option      "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "accel"                     # [<bool>]
        #Option     "crt_display"               # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "linear"                    # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "test_mmio_cache"           # [<bool>]
        #Option     "panel_display"             # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Card0"
        Driver      "ati"
        #VendorName  "ATI"
        #BoardName   "3D Rage II+ 215GTB [Mach64 GTB]"
        #ChipSet     "ati"
        #ChipId      0x4755
        #ChipRev     0x9a
        BusID       "PCI:2:2:0"
        #Option     "CloneDisplay"      "false"
        Option      "NoInt10"   "Yes"
#       Screen      0
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "accel"                     # [<bool>]
        #Option     "crt_display"               # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "linear"                    # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "test_mmio_cache"           # [<bool>]
        #Option     "panel_display"             # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Card1"
        Driver      "nvidia"
        #VendorName  "ATI"
        #BoardName   "3D Rage Pro AGP 1X/2X"
        #ChipSet     "ati"
        #ChipId      0x4742
        #ChipRev     0x5c
        BusID       "PCI:1:0:0"
        #Option      "CloneDisplay"      "false"
        Option      "NoInt10"   "Yes"
#       Screen      1
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        #SubSection "Display"
        #       Viewport   0 0
        #       Depth     16
        #EndSubSection
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Modes     "800x600"
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        #SubSection "Display"
        #       Viewport   0 0
        #       Depth     16
        #EndSubSection
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Modes     "800x600"
                Depth     24
        EndSubSection
EndSection
 

Fichero para una tarjeta Dual

Proximamente

Herramientas de detección de teclas

Para la consola estan: xev showkey -s

Herramientas personales