|
|
Línia 7: |
Línia 7: |
| 1. Hem de preparar un fitxer de configuració amb el nom '''xorg.conf''' i el següent contingut:<br> | | 1. Hem de preparar un fitxer de configuració amb el nom '''xorg.conf''' i el següent contingut:<br> |
| | | |
− | <br>
| |
| | | |
− | ----
| + | {{Nota|CONTINGUT: # xorg.conf (xorg X Window System server configuration file) |
− | <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 | + | # This file was generated by dexconf, the Debian X Configuration tool, using |
− | </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>
| + | # values from the debconf database. |
− | # InputDevice "stylus" "SendCoreEvents"<br># InputDevice "cursor" "SendCoreEvents"<br># InputDevice "eraser" "SendCoreEvents"<br>EndSection<br><br>
| + | # |
− | </blockquote>
| + | # Edit this file with caution, and see the xorg.conf manual page. |
− | <br>
| + | # (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 |
| | | |
− | <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 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" |
| + | |
| + | # 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> | | 2. Copiem el fitxer '''xorg.conf''' en la carpeta de l'usuari (en l'exemple la carpeta anomenada '''lliurex''')<br> |
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:
|
CONTINGUT: # 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"
- 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.