Modifications

Sauter à la navigation Sauter à la recherche
218 octets ajoutés ,  13 juillet 2015 à 12:54
Ligne 98 : Ligne 98 :  
  <nowiki>sudo rm /etc/X11/xorg.conf.d/99-calibration.conf</nowiki>
 
  <nowiki>sudo rm /etc/X11/xorg.conf.d/99-calibration.conf</nowiki>
   −
Before running {{fname|startx}} and the calibrator - otherwise it gets really confused!
+
C'est une tâche essentiel avant d'exécuter {{fname|startx}} et le calibrateur - sinon le programme de calibration devient vraiment confus!
Now you'll have to run the xcalibrator while also running X. You can do this by {{fname|startx}} and then opening up the terminal program and running the {{fname|xinput_calibrator}} command (which is challenging to do on such a small screen) OR you can do what we do which is run startx in a SSH/Terminal shell and then run the xinput_calibrator from the same shell, which requires the following command order:
+
Maintenant, nous allons exécuter xcalibrator pendant que X fonctionne. Vous pouvez réaliser cela en faisant un {{fname|startx}} puis ouvrir une session terminal et exécuter la commande {{fname|xinput_calibrator}} (''c'est un vrai challenge sur un écran aussi petit).
 +
 
 +
L'autre option est de démarrer X depuis une sessions SSH puis d'exécuter xinput_calibrator depuis le même terminal, cela est possible à l'aide des commandes suivantes:
    
  <nowiki>FRAMEBUFFER=/dev/fb1 startx &
 
  <nowiki>FRAMEBUFFER=/dev/fb1 startx &
 
DISPLAY=:0.0 xinput_calibrator</nowiki>
 
DISPLAY=:0.0 xinput_calibrator</nowiki>
   −
Follow the directions on screen:
+
Suivez les instructions à l'écran:
    
{{ADFImage|RASP-PiTFT-PLUS-Touch-40.png}}
 
{{ADFImage|RASP-PiTFT-PLUS-Touch-40.png}}
Ligne 113 : Ligne 115 :       −
Run {{fname|sudo nano /etc/X11/xorg.conf.d/99-calibration.conf}} and copy the
+
Executez {{fname|sudo nano /etc/X11/xorg.conf.d/99-calibration.conf}} et copiez le résultat
    
  <nowiki>Section "InputClass"
 
  <nowiki>Section "InputClass"
Ligne 122 : Ligne 124 :  
EndSection</nowiki>
 
EndSection</nowiki>
    +
(ou information obtenu) dans cette section. Vous pouvez quitter X en saisissant la commande {{fname|fg}} (ce qui ramène la commande d'arrière plan en premier plan) puis en pressant Control-C pour quitter.
   −
 
+
'''En fonction de la 'rotation' de l'écran pendant la calibration, vous pourriez avoir besoin de mettre la ligne 'SwapAxes' en commentaire avec un #''' et/ou '''intervertir les valeurs de calibration pour quelles passent de''':
or whatever you got, into there. You can quit X if you want by typing {{fname|fg}} to bring that command into the foreground, and then Control-C to quit.
  −
 
  −
'''Depending on the 'rotation' of the screen, when you do this calibration, you may need to comment out the SwapAxes part with a #''' and/or '''swap the numbers around so looks like''':
      
  <nowiki>Option "Calibration" "119 3736 3850 174"</nowiki>
 
  <nowiki>Option "Calibration" "119 3736 3850 174"</nowiki>
   −
to
+
à cela
    
  <nowiki>Option "Calibration" "3736 119 174 3850"</nowiki>
 
  <nowiki>Option "Calibration" "3736 119 174 3850"</nowiki>
   −
Your touchscreen is now super calibrated, hurrah!
+
Voila, vous avez maintenant un écran tactile super qualibré!
    
{{RASP-PiTFT-PLUS-TRAILER}}
 
{{RASP-PiTFT-PLUS-TRAILER}}
29 917

modifications

Menu de navigation