Outils pour utilisateurs

Outils du site


issue112:dispositifs_ubuntu

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
issue112:dispositifs_ubuntu [2016/08/29 14:10] – créée auntieeissue112:dispositifs_ubuntu [2016/09/09 15:18] (Version actuelle) andre_domenech
Ligne 1: Ligne 1:
-This month, in a departure from the norm, I present a quick HowTo on getting X apps installed on an Ubuntu device.+**This month, in a departure from the norm, I present a quick HowTo on getting X apps installed on an Ubuntu device.**
  
-DISCLAIMER: Not all X Apps will work on all devicesand some that do work may not behave well. Most do work finebut I just want people to know that this is not 100% every time.+Contrairement à mes habitudesce mois-cije vais vous faire un rapide tutoriel sur comment installer des applications X sur votre dispositif Ubuntu.
  
-In a desktop terminal, install phablet-tools:+**DISCLAIMER: Not all X Apps will work on all devices, and some that do work may not behave well. Most do work fine, but I just want people to know that this is not 100% every time.** 
 + 
 +ATTENTION : Notez que toutes les applications X ne fonctionneront pas sur tous les appareils, et parmi celles qui marcheront, certaines présenteront quelques dysfonctionnements. La majorité marche bien, mais je veux juste que vous sachiez que ce n'est pas sûr à 100 %. 
 + 
 +**In a desktop terminal, install phablet-tools:** 
 + 
 +Dans le terminal de votre ordinateur, installez phablet-tools : 
 + 
 +**sudo apt install phablet-tools**
  
 sudo apt install phablet-tools sudo apt install phablet-tools
  
-Connect your device to your PC with a USB cable. Turn on the screen and unlock your device.+**Connect your device to your PC with a USB cable. Turn on the screen and unlock your device.** 
 + 
 +Connectez votre appareil à votre ordinateur à l'aide d'un câble USB. Allumez l'écran, puis déverrouillez votre appareil. 
 + 
 +**On your device you need to enable ‘Developer Mode’ – this is in: System Settings > About > Developer Mode.** 
 + 
 +Sur votre dispositif, vous devez activer le Mode Développeur ; il se trouve dans Paramètres > À propos > Mode Développeur 
 + 
 +**In a desktop terminal, try connecting to your device using:**
  
-On your device you need to enable ‘Developer Mode’ – this is inSystem Settings > About > Developer Mode.+Dans le terminal de votre PC, essayez de détecter votre appareil en utilisant :
  
-In a desktop terminal, try connecting to your device using:+**adb shell**
  
 adb shell adb shell
  
-If you get:+**If you get:**
  
-errordevice not found+Si vous obtenez :
  
-try using:+**error: device not found** 
 + 
 +Erreur : Périphérique non détecté 
 + 
 +**try using:** 
 + 
 +Essayez : 
 + 
 +**sudo adb shell**
  
 sudo adb shell sudo adb shell
  
-I had to use sudo with adb to get it connected to my M10 tablet.+**I had to use sudo with adb to get it connected to my M10 tablet.**
  
-Your command prompt should change from something like:+J'ai dû utiliser sudo adb pour qu'il se connecte à ma tablette M10. 
 + 
 +**Your command prompt should change from something like:** 
 + 
 +L'invite de commandes devrait changer de quelque chose comme ceci :
  
 ronnie@ronnie-desktop:~$ ronnie@ronnie-desktop:~$
  
-to showing:+**to showing:** 
 + 
 +en
  
 phablet@ubuntu-phablet:~$ phablet@ubuntu-phablet:~$
  
-It means that you are now connected to the device.+**It means that you are now connected to the device.**
  
-First run:+Cela signifie que vous êtes connecté à votre périphérique. 
 + 
 +**First run:** 
 + 
 +Lancez d'abord : 
 + 
 +**libertine-container-manager list**
  
 libertine-container-manager list libertine-container-manager list
  
-You should see only:+**You should see only:** 
 + 
 +Vous verrez uniquement : 
 + 
 +**puritine**
  
 puritine puritine
  
-That’s the default container for the pre-installed apps. Don’t mess with this container. Be safe and create a new one for playing around in. This is done using:+**That’s the default container for the pre-installed apps. Don’t mess with this container. Be safe and create a new one for playing around in. This is done using:** 
 + 
 +C'est le container par défaut pour les applications pré-installées. Ne bricolez pas avec ce conteneur. Par précaution, créez-en un nouveau pour jouer avec. Utilisez ceci : 
 + 
 +**libertine-container-manager create --id my-container --name "My Container" --distro vivid --type chroot 
 +**
  
 libertine-container-manager create --id my-container --name "My Container" --distro vivid --type chroot libertine-container-manager create --id my-container --name "My Container" --distro vivid --type chroot
  
-This (libertine-container-manager) will create a new container. In this example:+**This (libertine-container-manager) will create a new container. In this example:
 • The container’s ID is my-container (which, of course, you can change) • The container’s ID is my-container (which, of course, you can change)
 • The container’s Name is  ‘My Container’ (which, again, you can change) • The container’s Name is  ‘My Container’ (which, again, you can change)
-• The distro is vivid (as that’s what is on all current Ubuntu devices as I write this article in August 2016).+• The distro is vivid (as that’s what is on all current Ubuntu devices as I write this article in August 2016).**
  
-After a short time, you will now have a new container to play inFor my first testI wanted to install MyPaint which is a desktop app I use quite a lot.+Ce (libertine-container-manager) créera un nouveau conteneurDans cet exemple : 
 +• L'ID de ce conteneur est my-container (bien sûr,vous pouvez le changer). 
 +• Le nom du conteneur est « My Container » (bien sûr, vous pouvez le changer aussi). 
 +• La distribution est vivid (puisque c'est ce qui est installé sur tous les dispositifs Ubuntu actuels à l'heure où j'écris cet articleen août 2016).
  
-The command I used (with my puritine2 container) to install MyPaint was:+**After a short time, you will now have a new container to play in. For my first test, I wanted to install MyPaint which is a desktop app I use quite a lot.** 
 + 
 +Après un instant, vous obtiendrez un nouveau conteneur avec lequel vous pouvez vous amuser. Pour mon premier test, je voulais installer MyPaint qui est un logiciel de bureau que j'utilise énormément. 
 + 
 +**The command I used (with my puritine2 container) to install MyPaint was:** 
 + 
 +La commande que j'ai utilisée (avec mon conteneur puritine2) pour installer MyPaint était : 
 + 
 +**libertine-container-manager install-package --id puritine2 --package mypaint**
  
 libertine-container-manager install-package --id puritine2 --package mypaint libertine-container-manager install-package --id puritine2 --package mypaint
  
-That installed MyPaint into my puritine2 container.+**That installed MyPaint into my puritine2 container.**
  
-NOTE: In some cases it may be necessary to add the PPA with this command:+Cela installa MyPaint dans mon conteneur puritine2. 
 + 
 +**NOTE: In some cases it may be necessary to add the PPA with this command:** 
 + 
 +NB : Dans certains cas, ce sera nécessaire d'ajouter le PPA avec cette commande : 
 + 
 +**libertine-container-manager configure --id puritine2 --archive ppa:achadwick/mypaint-testing**
  
 libertine-container-manager configure --id puritine2 --archive ppa:achadwick/mypaint-testing libertine-container-manager configure --id puritine2 --archive ppa:achadwick/mypaint-testing
  
-Obviously, change puritine2 to the name of your container.+**Obviously, change puritine2 to the name of your container.**
  
-On checking the X Apps scope I see it listed!+Il faut évidemment remplacer le nom puritine2 par celui de votre conteneur.
  
-Upon giving it a poke, and to my surprise, it loads!+**On checking the X Apps scope I see it listed!**
  
-To uninstall an app, you would use:+En vérifiant la liste des applications X installées, je la vois dans la liste ! 
 + 
 +**Upon giving it a poke, and to my surprise, it loads!** 
 + 
 +Après avoir tapé dessus, à ma grande surprise, ça charge ! 
 + 
 +**To uninstall an app, you would use:** 
 + 
 +Pour désinstaller une application, vous devrez utiliser : 
 + 
 +**libertine-container-manager remove-package --id my-container --package PACKAGE_NAME**
  
 libertine-container-manager remove-package --id my-container --package PACKAGE_NAME libertine-container-manager remove-package --id my-container --package PACKAGE_NAME
  
-Again, substituting PACKAGE_NAME for the package name (eg: mypaint)+**Again, substituting PACKAGE_NAME for the package name (eg: mypaint)**
  
-If you’ve hidden apps in the X Apps scope, and need a list of what’s in a container:+Ensuite, remplacez PACKAGE_NAME par le nom du paquet (Ex: mypaint). 
 + 
 +**If you’ve hidden apps in the X Apps scope, and need a list of what’s in a container:** 
 + 
 +S'il y a des applications cachées dans le scope des Applications X et que vous voulez voir ce qu'il y a dans le conteneur : 
 + 
 +**libertine-container-manager list-apps --id my-container**
  
 libertine-container-manager list-apps --id my-container libertine-container-manager list-apps --id my-container
  
-So there you have it. Desktop apps on a mobile device. Incredible!+**So there you have it. Desktop apps on a mobile device. Incredible!** 
 + 
 +Et voilà ! Des applications de bureau sur dispositif mobile. Incroyable ! 
 + 
 +**I’ll say it again just to be safe: not every app will work flawlessly, and not all will behave as they should.** 
 + 
 +Je dois vous rappeler encore une fois d'être prudent. Toutes les applications ne marcheront pas sans problème, et toutes les applications ne fonctionneront pas comme elles le devraient. 
 + 
 +Ressources :
  
-I’ll say it again just to be safenot every app will work flawlessly, and not all will behave as they should.+Popescu Sorin et Sturm Flut merci d'avoir attiré mon attention sur tout ceciC'est vraiment génial !
  
 +http://kylenubuntu.blogspot.co.uk/2016/07/running-x-apps-on-ubuntu-devices.html - pour les commandes nécessaires et des informations détaillées. 
  
-Sources: 
  
-Popescu Sorin and Sturm Flut - For bringing this awesomeness to my attention. 
  
-http://kylenubuntu.blogspot.co.uk/2016/07/running-x-apps-on-ubuntu-devices.html - for the necessary commands, and detailed info. 
issue112/dispositifs_ubuntu.1472472601.txt.gz · Dernière modification : 2016/08/29 14:10 de auntiee