Lihuen
RSSRSS AtomAtom

Diferencia entre revisiones de «Multiterminales con Xorg»

Línea 3: Línea 3:
 
  <nowiki>
 
  <nowiki>
 
Section "Files"
 
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
+
 
FontPath "/usr/X11R6/lib/X11/fonts/misc"
+
# RgbPath is the location of the RGB database.  Note, this is the name of the
FontPath "/usr/share/fonts/X11/cyrillic"
+
# file minus the extension (like ".txt" or ".db").  There is normally
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
+
# no need to change the default.
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
+
# Multiple FontPath entries are allowed (they are concatenated together)
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
+
# By default, Red Hat 6.0 and later now use a font server independent of
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
+
# the X server to render fonts.
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
+
#      FontPath     "unix/:7100"
FontPath "/usr/share/fonts/X11/Type1"
+
    RgbPath        "/usr/X11R6/lib/X11/rgb"
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
 
EndSection
  
Línea 87: Línea 80:
 
InputDevice "Configured Mouse"
 
InputDevice "Configured Mouse"
 
EndSection
 
EndSection
 +
 
# --- De aquí en más lo que sigue no hay que repetirlo ---
 
# --- De aquí en más lo que sigue no hay que repetirlo ---
  

Revisión de 21:32 20 nov 2007

Nota: No usar el driver VESA en ningún dispositivo

  • Ejemplo de xorg.conf:
Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
#       FontPath     "unix/:7100"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
#	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

# --- Desde aquí hay que repetir estas secciones tantas veces como terminales querramos ---
# --- cambiando los identificadores y las características del hardware según sea necesario ---
# Teclados
Section "InputDevice"
	Identifier	"Keyboard0"
	Driver		"evdev"
	Option		"Device"	"/dev/input/event0" # Cambiar event0 por lo que corresponda
	Option		"XkbModel"	"evdev"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbLayout"	"es"
EndSection

Section "InputDevice"
	Identifier	"Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mouse0" # Cambiar mouse0 por lo que corresponda
	Option		"Protocol"		"imPS/2"
	Option		"Buttons"		"5"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier  "Tarjeta0"
	Driver      "ati"
	BusID       "PCI:1:0:0"
  Option      "NoInt10"       "Yes" # Anulamos la inicialización de la placa por BIOS
	Option      "DDCMode" "True"
	Option      "MonitorLayout" "CRT, CRT"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	Option		"DPMS"
	HorizSync	30-70
	VertRefresh	50-160
EndSection

Section "Screen"
	Identifier  "Screen0"
	Device      "Tarjeta0"
	Monitor     "Monitor0"
	DefaultDepth	24
		Depth   24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Layout0"
	Screen	  	"Screen0"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

# --- De aquí en más lo que sigue no hay que repetirlo ---

# Este layout puede ser utilizado para probar las placas usando Xinerama
Section "ServerLayout"
      Identifier      "Layout2"
      Screen          "Screen0" 0 0
      Screen		      "Screen1" RightOf "Screen0"
      Screen		      "Screen2" RightOf "Screen1"
      [...]
      InputDevice     "Keyboard0" "SendCoreEvents"
      InputDevice     "Mouse0" "SendCoreEvents"
      Option          "Xinerama" "on"
EndSection

Section "DRI"
	Mode	0666
EndSection