Modifications

Sauter à la navigation Sauter à la recherche
454 octets ajoutés ,  19 juin 2016 à 20:42
Ligne 79 : Ligne 79 :     
== Démarrer X Windows sur PiTFT ==
 
== Démarrer X Windows sur PiTFT ==
To enable booting straight to X windows on the PiTFT follow the steps below. First make sure a display configuration which would conflict is not present by executing in a terminal on the Pi:
+
Suivez les étapes suivante pour démarrer directement X Windows sur le PiTFT. Pour commencer, évitons d'avoir une configuration x Window qui pourrait rentrer en conflit avec le PiTFT. Saisissez la commande suivante dans une terminal:
    
  sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
 
  sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~
   −
Don't worry if the command fails with an error that the file doesn't exist. This failure is normal and should happen on a good PiTFT install. You can ignore it and move on.
+
Ne vous inquiétez pas si la commande échoue avec une erreur (si le fichier n'existait pas). Cette erreur est normale et attendue sur une toute nouvelle installation PiTFT. Vous pouvez l'ignorer et passer au point suivant.
   −
Next run the command below to open the nano text editor as root and create the file {{fname|/usr/share/X11/xorg.conf.d/99-pitft.conf}}:
+
Ensuite, exécuter la commande nano suivante (pour ouvrir un editeur de texte) comme super utilisateur et créer le fichier {{fname|/usr/share/X11/xorg.conf.d/99-pitft.conf}}:
    
  sudo nano /usr/share/X11/xorg.conf.d/99-pitft.conf
 
  sudo nano /usr/share/X11/xorg.conf.d/99-pitft.conf
   −
When the editor loads to a blank file, copy in the text below:
+
Lorsque l'éditeur est ouvert (le fichier devrait être vide), copiez le texte ci-dessous dans l'éditeur:
    
  <nowiki>Section "Device"
 
  <nowiki>Section "Device"
Ligne 97 : Ligne 97 :  
EndSection</nowiki>
 
EndSection</nowiki>
   −
Then save the file by pressing '''Ctrl-O''' and then enter, and finally exit by pressing '''Ctrl-X'''.
+
Sauvez ensuite le fichier en pressant simultanément les touches '''Ctrl-O''' et retour clavier (pour confirmer le fichier). Vous pouvez quitter l'éditeur en pressant '''Ctrl-X'''.
   −
The step above will create a configuration file which tells X windows that it should use the PiTFT framebuffer (located at /dev/fb1) by default when it runs.
+
L'étape ci-dessus crée un fichier de configuration qui informe X Windows qu'il doit utiliser le FrameBuffer du PiTFT par défaut lorsqu'il démarre (FrameBuffer du PiTFT localisé sur /dev/fb1).
   −
At this point you can use the raspi-config tool to enable booting to desktop just like normal on the Pi. Run the following command:
+
Vous pouvez maintenant utiliser l'outil {{fname|raspi-config}} pour activer le démarrage du bureau X Windows lors du démarrage de votre Pi. Exécutez la commande suivante:
    
  sudo raspi-config
 
  sudo raspi-config
   −
Then pick the '''Enable Boot to Desktop/Scratch''' option and choose if you want to boot to the console, desktop, or scratch environment.  After exiting the tool and rebooting you should see the Pi load X windows on the PiTFT after (be patient it can take around 30 seconds to load).
+
Puis sélectionner l'option '''Enable Boot to Desktop/Scratch''' (Démarrer le bureau/Scratch) et faite votre choix entre démarrer l'environnement console, le bureau (''desktop'') ou scratch.
   −
If you want to disable booting to X, just use the raspi-config command again to choose the console boot option
+
Après avoir quitté l'outil et redémarré votre Pi, le Raspberry Pi chagera X Windows sur le PiTFT (soyez patient, le temps de chargement pourrait atteindre 30 secondes).
 +
 
 +
Si vous désirez désactiver X Windows au démarrage alors utilisez {{fname|raspi-config}} pour choisir de booter dans l'environnement "console".
    
== Clique droit ==
 
== Clique droit ==
29 917

modifications

Menu de navigation