issue112:dispositifs_ubuntu
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
issue112:dispositifs_ubuntu [2016/09/08 18:52] – bosskhalif | issue112: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.** | ||
- | Ce mois, je vous fais un rapide | + | Contrairement à mes habitudes, ce mois-ci, je vais vous faire un rapide |
**DISCLAIMER: | **DISCLAIMER: | ||
- | ATTENTION : Notez que toutes les applications X ne marcheront | + | ATTENTION : Notez que toutes les applications X ne fonctionneront |
**In a desktop terminal, install phablet-tools: | **In a desktop terminal, install phablet-tools: | ||
- | Dans le Terminal | + | Dans le terminal |
**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. Puis devérouillez | + | Connectez votre appareil à votre ordinateur à l'aide d'un câble USB. Allumez l' |
**On your device you need to enable ‘Developer Mode’ – this is in: System Settings > About > Developer Mode.** | **On your device you need to enable ‘Developer Mode’ – this is in: System Settings > About > Developer Mode.** | ||
- | Sur votre appareil, vous devez activer le 'Mode Devéloppeur' | + | 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:** | **In a desktop terminal, try connecting to your device using:** | ||
Ligne 26: | Ligne 28: | ||
**adb shell** | **adb shell** | ||
+ | |||
+ | adb shell | ||
**If you get:** | **If you get:** | ||
Ligne 37: | Ligne 41: | ||
**try using:** | **try using:** | ||
- | Essayez | + | 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.** | ||
- | J' | + | J' |
**Your command prompt should change from something like:** | **Your command prompt should change from something like:** | ||
- | Votre terminal | + | L' |
ronnie@ronnie-desktop: | ronnie@ronnie-desktop: | ||
Ligne 53: | Ligne 59: | ||
**to showing:** | **to showing:** | ||
- | En | + | en |
phablet@ubuntu-phablet: | phablet@ubuntu-phablet: | ||
Ligne 59: | Ligne 65: | ||
**It means that you are now connected to the device.** | **It means that you are now connected to the device.** | ||
- | ça signifie que vous êtes connecté à votre périphérique | + | Cela signifie que vous êtes connecté à votre périphérique. |
**First run:** | **First run:** | ||
- | Première commande | + | Lancez d' |
**libertine-container-manager list** | **libertine-container-manager list** | ||
+ | |||
+ | libertine-container-manager list | ||
**You should see only:** | **You should see only:** | ||
Ligne 72: | Ligne 80: | ||
**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 | + | C'est le container par défaut pour les applications |
**libertine-container-manager create --id my-container --name "My Container" | **libertine-container-manager create --id my-container --name "My Container" | ||
** | ** | ||
+ | |||
+ | libertine-container-manager create --id my-container --name "My Container" | ||
+ | |||
**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) | ||
Ligne 84: | Ligne 97: | ||
• 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).** | ||
- | Ce (libertine-container-manager) créera un nouveau | + | Ce (libertine-container-manager) créera un nouveau |
- | • L'ID de ce container | + | • L'ID de ce conteneur |
- | • Le nom du container | + | • Le nom du conteneur |
- | • La distribution est vivd (C'est ce qui est installé sur tous les appareils | + | • La distribution est vivid (puisque c'est ce qui est installé sur tous les dispositifs |
**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.** | **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 | + | Après un instant, vous obtiendrez un nouveau |
**The command I used (with my puritine2 container) to install MyPaint was:** | **The command I used (with my puritine2 container) to install MyPaint was:** | ||
- | La commande que j'ai utilisée (avec mon container | + | La commande que j'ai utilisée (avec mon conteneur |
**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.** | ||
- | Ceci installa MyPaint dans mon container | + | Cela installa MyPaint dans mon conteneur |
**NOTE: In some cases it may be necessary to add the PPA with this command:** | **NOTE: In some cases it may be necessary to add the PPA with this command:** | ||
- | NB : Dans certains cas, ce sera nécessaire d' | + | NB : Dans certains cas, ce sera nécessaire d' |
**libertine-container-manager configure --id puritine2 --archive ppa: | **libertine-container-manager configure --id puritine2 --archive ppa: | ||
+ | |||
+ | libertine-container-manager configure --id puritine2 --archive ppa: | ||
**Obviously, | **Obviously, | ||
- | Évidemment, | + | Il faut évidemment remplacer |
**On checking the X Apps scope I see it listed!** | **On checking the X Apps scope I see it listed!** | ||
Ligne 119: | Ligne 136: | ||
**Upon giving it a poke, and to my surprise, it loads!** | **Upon giving it a poke, and to my surprise, it loads!** | ||
- | Après | + | Après |
**To uninstall an app, you would use:** | **To uninstall an app, you would use:** | ||
Ligne 126: | Ligne 143: | ||
**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)** | ||
- | Encore, remplacer | + | Ensuite, remplacez |
**If you’ve hidden apps in the X Apps scope, and need a list of what’s in a container: | **If you’ve hidden apps in the X Apps scope, and need a list of what’s in a container: | ||
- | Si vous avez caché la liste des Applications X, et vous voulez voir ce qu'il y a dans le 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 là, vous l' | + | Et voilà |
**I’ll say it again just to be safe: not every app will work flawlessly, and not all will behave as they should.** | **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 rappelez | + | Je dois vous rappeler encore |
+ | |||
+ | Ressources : | ||
+ | |||
+ | Popescu Sorin et Sturm Flut : merci d' | ||
+ | |||
+ | http:// | ||
- | Sources: | ||
- | Popescu Sorin and Sturm Flut - For bringing this awesomeness to my attention. | ||
- | http:// |
issue112/dispositifs_ubuntu.1473353569.txt.gz · Dernière modification : 2016/09/08 18:52 de bosskhalif