Resolució de pantalla 1024x768

De wikimanuals
Jump to navigation Jump to search

Hi ha vegades que LliureX no reconeix les resolucions admeses pels dispositius d'eixida d'imatges (monitor o projector). El problema és molt greu si només podem utilitzar el Sistema a 800x600 quan projectem sobre una pissarra digital, ja que no es pot treballar de manera correcta.

Alguna opció per a obligar a LliureX a que treballe a resolució 1024x768 independenment del dispositiu que connectes?

Ací la tenim, gràcies al tècnic del SAI d'Elx.

1. Hem de preparar un fitxer de configuració amb el nom xorg.conf i el següent contingut:




  1. 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 xorg.conf manual page.
    # (Type "man 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 command:
    # sudo dpkg-reconfigure -phigh xserver-xorg

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 ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

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-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Tarjeta de vídeo genérica"
Monitor "Q770"
DefaultDepth 24
SubSection "Display"
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"

  1. Uncomment if you have a wacom tablet
    # InputDevice "stylus" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    # InputDevice "eraser" "SendCoreEvents"
    EndSection





2. Copiem el fitxer xorg.conf en la carpeta de l'usuari (en l'exemple la carpeta anomenada lliurex)

3. Polsem Control+Alt+F1 per a iniciar sessió en terminal.

4. Iniciem com a usuari Administrador

5. Entrem com a root.

$ sudo su

6. Executem

$ /etc/init.d/gdm stop

7. Copiem el fitxer xorg.conf en /etc/X11

$ cp /home/lliurex/xorg.conf /etc/X11 

8. Executem

$ /etc/init.d/gdm start 

Seguint aquest passos hauriem de disposar de resolució 1024x768 en qualsevol monitor o projector que ho suporte.