1. Hem de preparar un fitxer de configuració amb el nom '''xorg.conf''' i el següent contingut:<br>
<br>
----<blockquote>{{Nota|CONTINGUT: # 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</blockquote> <blockquote>Section "Files"<br>EndSection Section "InputDevice"<br> Identifier "Generic Keyboard"<br> Driver "kbd"<br> Option "CoreKeyboard"<br> Option "XkbRules" "xorg"<br> Option "XkbModel" "pc105"<br> Option "XkbLayout" "es"<br>EndSection Section "InputDevice"<br> Identifier "Configured Mouse"<br> Driver "mouse"<br> Option "CorePointer"<br> Option "Device" "/dev/input/mice"<br> Option "Protocol" "ImPS/2"<br> Option "ZAxisMapping" "4 5"<br> Option "Emulate3Buttons" "true"<br>EndSection Section "InputDevice"<br> Driver "wacom"<br> Identifier "stylus"<br> Option "Device" "/dev/input/wacom"<br> Option "Type" "stylus"<br> Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br>EndSection Section "InputDevice"<br> Driver "wacom"<br> Identifier "eraser"<br> Option "Device" "/dev/input/wacom"<br> Option "Type" "eraser"<br> Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br>EndSection Section "InputDevice"<br> Driver "wacom"<br> Identifier "cursor"<br> Option "Device" "/dev/input/wacom"<br> Option "Type" "cursor"<br> Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br>EndSection Section "Device"<br> Identifier "Tarjeta de vÃdeo genérica"<br> Driver "vesa"<br> <br> Option "UseFBDev" "true"<br>EndSection Section "Monitor"<br> Identifier "Q770"<br> Option "DPMS"<br> HorizSync 30-70<br> VertRefresh 50-160<br>EndSection Section "Screen"<br> Identifier "Default Screen"<br> Device "Tarjeta de vÃdeo genérica"<br> Monitor "Q770"<br> DefaultDepth 24<br> SubSection "Display"<br> Modes "1024x768"<br> EndSubSection<br>EndSection Section "ServerLayout"<br> Identifier "Default Layout"<br> Screen "Default Screen"<br> InputDevice "Generic Keyboard"<br> InputDevice "Configured Mouse"</blockquote><blockquote> # Uncomment if you have a wacom tablet<br># InputDevice "stylus" "SendCoreEvents"<br># InputDevice "cursor" "SendCoreEvents"<br># InputDevice "eraser" "SendCoreEvents"<br>EndSection<br><br> </blockquote> <br>
<br> Section "Files"EndSection
Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" 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 "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true"EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/input/wacom" Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLYEndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/input/wacom" Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLYEndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/input/wacom" Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLYEndSection Section "Device" Identifier "Tarjeta de vÃdeo genérica" Driver "vesa" Option "UseFBDev" "true"EndSection Section "Monitor" Identifier "Q770" Option "DPMS" HorizSync 30-70 VertRefresh 50---160EndSection Section "Screen" Identifier "Default Screen" Device "Tarjeta de vÃdeo genérica" Monitor "Q770" DefaultDepth 24 SubSection "Display" Modes "1024x768" EndSubSectionEndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" # Uncomment if you have a wacom tablet# InputDevice "stylus" "SendCoreEvents"# InputDevice "cursor" "SendCoreEvents"# InputDevice "eraser" "SendCoreEvents"EndSection}}
<br>
2. Copiem el fitxer '''xorg.conf''' en la carpeta de l'usuari (en l'exemple la carpeta anomenada '''lliurex''')<br>