Obre el menú principal

Canvis

Resolució de pantalla 1024x768

55 octets eliminats, 08:25, 26 nov 2012
cap resum d'edició
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.<br>
Alguna opció per a obligar a LliureX a que treballe a resolució 1024x768 independenment del dispositiu que connectes?<br>
Ací la tenim, gràcies al tècnic del SAI d'Elx.<br>
1. Hem de preparar un fitxer de configuració amb el nom '''xorg.conf''' i el següent contingut:<br>
------------------------------<br>
# 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 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"# xorg.conf (xorg X Window System server configuration file)<br>#<br># This file was generated by dexconf, the Debian X Configuration tool, using<br> Driver "wacom"# values from the debconf database.<br> Identifier "stylus"#<br> Option "Device" "/dev/input/wacom"# Edit this file with caution, and see the xorg.conf manual page.<br> Option "# (Type" man xorg.conf"stylus"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> Option "ForceDevice" "ISDV4" # Tablet PC ONLYagain, run the following command:<br>EndSection# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDeviceFiles"<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> Identifier "Generic Keyboard"<br> Driver "wacomkbd"<br> Identifier Option "cursorCoreKeyboard"<br> Option "DeviceXkbRules" "/dev/input/wacomxorg"<br> Option "TypeXkbModel" "cursorpc105"<br> Option "ForceDeviceXkbLayout" "ISDV4es" # Tablet PC ONLY<br>EndSection
Section "DeviceInputDevice"<br> Identifier "Tarjeta de vídeo genéricaConfigured Mouse"<br> Driver "vesamouse"<br> Option "CorePointer"<br> Option "Device" "/dev/input/mice"<br> Option "Protocol" "ImPS/2"<br> Option "ZAxisMapping" "4 5"<br> Option "UseFBDevEmulate3Buttons" "true"<br>EndSection
Section "MonitorInputDevice"<br> Driver "wacom"<br> Identifier "Q770stylus"<br> Option "DPMSDevice" "/dev/input/wacom"<br> HorizSync 30-70Option "Type" "stylus"<br> VertRefresh 50-160Option "ForceDevice" "ISDV4" # Tablet PC ONLY<br>EndSection
Section "ScreenInputDevice"<br> Identifier Driver "Default Screenwacom"<br> Device Identifier "Tarjeta de vídeo genéricaeraser"<br> Monitor Option "Device" "Q770/dev/input/wacom"<br> DefaultDepth 24Option "Type" "eraser"<br> SubSection Option "DisplayForceDevice"<br> Modes "1024x768ISDV4"<br> EndSubSection# Tablet PC ONLY<br>EndSection
Section "ServerLayoutInputDevice"<br> Driver "wacom"<br> Identifier "Default Layoutcursor"<br> Screen Option "Device" "Default Screen/dev/input/wacom"<br> InputDevice Option "Type" "Generic Keyboardcursor"<br> InputDevice Option "ForceDevice" "Configured MouseISDV4"# Tablet PC ONLY<br>EndSection
# Uncomment if you have a wacom tabletSection "Device"<br># InputDevice Identifier "stylusTarjeta de vídeo genérica" <br> Driver "SendCoreEventsvesa"<br># InputDevice "cursor" "SendCoreEvents"<br># InputDevice Option "eraserUseFBDev" "SendCoreEventstrue"<br>EndSection<br><br>
Section "Monitor"<br> Identifier "Q770"<br> Option "DPMS"<br> HorizSync 30-70<br> VertRefresh 50-------------------------------------160<br>EndSection
2. Copiem el fitxer '''xorg.conf''' en la carpeta Section "Screen"<br> Identifier "Default Screen"<br> Device "Tarjeta de l'usuari (en l'exemple la carpeta anomenada '''lliurex''')vídeo genérica"<br> Monitor "Q770"<br> DefaultDepth 24<br> SubSection "Display"<br> Modes "1024x768"<br> EndSubSection<br>EndSection
3. Polsem Control+Alt+F1 per a iniciar sessió en terminal.Section "ServerLayout"<br>Identifier "Default Layout"<br> Screen "Default Screen"<br> InputDevice "Generic Keyboard"<br> InputDevice "Configured Mouse"
4. Iniciem com # Uncomment if you have a usuari Administradorwacom tablet<br># InputDevice "stylus" "SendCoreEvents"<br># InputDevice "cursor" "SendCoreEvents"<br># InputDevice "eraser" "SendCoreEvents"<br>EndSection<br><br>
5. Entrem com a root.<br>----
&nbsp;$ sudo su<br>
6. Executem<br>
&nbsp;$ /etc/init2.d/gdm stopCopiem el fitxer '''xorg.conf''' en la carpeta de l'usuari (en l'exemple la carpeta anomenada '''lliurex''')<br>
73. Copiem el fitxer xorgPolsem Control+Alt+F1 per a iniciar sessió en terminal.conf en /etc/X11<br>
&nbsp;$ cp /home/lliurex/xorg4.conf /etc/X11Iniciem com a usuari Administrador<br>
85. ExecutemEntrem com a root.<br>
&nbsp; $ sudo su<br>  6. Executem<br>   $ /etc/init.d/gdm stop<br>  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.
2.670
modificacions