2.670
modificacions
Canvis
Jump to navigation
Jump to search
# xorg.conf (xorg X Window System server configuration file)Section "InputDevice"<br>#Identifier "Generic Keyboard"<br># This file was generated by dexconf, the Debian X Configuration tool, usingDriver "kbd"<br># values from the debconf database.Option "CoreKeyboard"<br>#<br># Edit this file with caution, and see the Option "XkbRules" "xorg.conf manual page."<br># (Type Option "XkbModel"man xorg.conf" at the shell prompt.)pc105"<br>#<br># This file is automatically updated on xserver-xorg package upgrades *only*<br># if it has not been modified since the last upgrade of the xserver-xorg<br># package.<br>#<br># If you have edited this file but would like it to be automatically updated<br># again, run the following command:<br># sudo dpkg-reconfigure -phigh xserver-xorg Section Option "XkbLayout" "Fileses"<br>EndSection
Section "ServerLayout"# Uncomment if you have a wacom tablet<br> Identifier # InputDevice "stylus"Default Layout"SendCoreEvents"<br> Screen # InputDevice "cursor"Default Screen"SendCoreEvents"<br> # InputDevice "Generic Keyboarderaser" "SendCoreEvents"<br> InputDevice "Configured Mouse" EndSection<br><br></blockquote><br>
# Uncomment if you have a wacom tablet<br># InputDevice "stylus" "SendCoreEvents"<br># InputDevice "cursor" "SendCoreEvents"<br># InputDevice "eraser" "SendCoreEvents"<br>EndSection<br><br>
cap resum d'edició
1. Hem de preparar un fitxer de configuració amb el nom '''xorg.conf''' i el següent contingut:<br>
<br>
----
<br>
<blockquote>
# xorg.conf (xorg X Window System server configuration file)<br>#<br># This file was generated by dexconf, the Debian X Configuration tool, using<br># values from the debconf database.<br>#<br># Edit this file with caution, and see the xorg.conf manual page.<br># (Type "man xorg.conf" at the shell prompt.)<br>#<br># This file is automatically updated on xserver-xorg package upgrades *only*<br># if it has not been modified since the last upgrade of the xserver-xorg<br># package.<br>#<br># If you have edited this file but would like it to be automatically updated<br># again, run the following command:<br># sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"<br>EndSection
Section "InputDevice"<br> Identifier "Generic KeyboardConfigured Mouse"<br> Driver "kbdmouse"<br> Option "CoreKeyboardCorePointer"<br> Option "XkbRulesDevice" "xorg/dev/input/mice"<br> Option "XkbModelProtocol" "pc105ImPS/2"<br> Option "XkbLayoutZAxisMapping" "es4 5"<br> Option "Emulate3Buttons" "true"<br>EndSection
Section "InputDevice"<br> Identifier "Configured Mouse"<br> Driver "mousewacom"<br> Option Identifier "CorePointerstylus"<br> Option "Device" "/dev/input/mice"<br> Option "Protocol" "ImPS/2wacom"<br> Option "ZAxisMappingType" "4 5stylus"<br> Option "Emulate3ButtonsForceDevice" "trueISDV4"# Tablet PC ONLY<br>EndSection
Section "InputDevice"<br> Driver "wacom"<br> Identifier "styluseraser"<br> Option "Device" "/dev/input/wacom"<br> Option "Type" "styluseraser"<br> Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br>EndSection
Section "InputDevice"<br> Driver "wacom"<br> Identifier "erasercursor"<br> Option "Device" "/dev/input/wacom"<br> Option "Type" "erasercursor"<br> Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br>EndSection
Section "InputDevice"<br> Driver "wacomDevice"<br> Identifier "cursorTarjeta de vÃdeo genérica"<br> Option Driver "Device" "/dev/input/wacomvesa"<br> Option "Type" "cursor"<br> Option "ForceDeviceUseFBDev" "ISDV4true" # Tablet PC ONLY<br>EndSection
Section "DeviceMonitor"<br> Identifier "Tarjeta de vÃdeo genéricaQ770"<br> Driver Option "vesaDPMS"<br> HorizSync 30-70<br> Option "UseFBDev" "true"VertRefresh 50-160<br>EndSection
Section "MonitorScreen"<br> Identifier "Default Screen"<br> Device "Tarjeta de vÃdeo genérica"<br> Monitor "Q770"<br> Option DefaultDepth 24<br> SubSection "DPMSDisplay"<br> HorizSync 30-70Modes "1024x768"<br> VertRefresh 50-160EndSubSection<br>EndSection
Section "ScreenServerLayout"<br> Identifier "Default ScreenLayout"<br> Device Screen "Tarjeta de vÃdeo genéricaDefault Screen"<br> Monitor InputDevice "Q770Generic Keyboard"<br> DefaultDepth 24<br> SubSection InputDevice "DisplayConfigured Mouse"<br> Modes "1024x768"<br> EndSubSection<br>EndSection
----
<br>
2. Copiem el fitxer '''xorg.conf''' en la carpeta de l'usuari (en l'exemple la carpeta anomenada '''lliurex''')<br>
5. Entrem com a root.<br>
$ sudo su<br>
6. Executem<br>
$ /etc/init.d/gdm stop<br>
7. Copiem el fitxer xorg.conf en /etc/X11
$ /etc/init.d/gdm start
Seguint aquest passos hauriem de disposar de resolució 1024x768 en qualsevol monitor o projector que ho suporte. <br>