{"id":614,"date":"2024-03-10T18:25:16","date_gmt":"2024-03-10T17:25:16","guid":{"rendered":"https:\/\/artheodoc.fr\/?p=614"},"modified":"2024-03-13T16:57:09","modified_gmt":"2024-03-13T15:57:09","slug":"controler-un-smartphone-android-depuis-linux-mint-avec-scrcpy","status":"publish","type":"post","link":"https:\/\/artheodoc.fr\/index.php\/2024\/03\/10\/controler-un-smartphone-android-depuis-linux-mint-avec-scrcpy\/","title":{"rendered":"Contr\u00f4ler un smartphone Android depuis Linux Mint avec\u00a0Scrcpy"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/03\/Android-Linux.jpg\" alt=\"\" class=\"wp-image-631\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/03\/Android-Linux.jpg 300w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/03\/Android-Linux-150x150.jpg 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column has-background is-layout-flow wp-block-column-is-layout-flow\" style=\"background:linear-gradient(135deg,rgb(224,249,244) 0%,rgb(182,227,212) 50%,rgb(73,223,240) 100%);flex-basis:66.66%\">\n<p><em>J\u2019utilise un Samsung Galaxy Note 8 avec Android 9 (On peut \u00eatre oblig\u00e9 d&rsquo;adapter la proc\u00e9dure en fonction de la version d&rsquo;Android).<\/em><\/p>\n\n\n\n<p>L\u2019application gratuite open source Scrcpy permet d\u2019afficher et de contr\u00f4ler les appareils Android connect\u00e9 en USB depuis Linux ou Windows.<\/p>\n\n\n\n<p>Que l\u2019on soit sous Linux ou Windows, le d\u00e9bogage USB doit \u00eatre actif c\u00f4t\u00e9 t\u00e9l\u00e9phone.<\/p>\n<\/div>\n<\/div>\n\n\n\n<p class=\"has-ast-global-color-1-color has-text-color has-link-color has-medium-font-size wp-elements-3d42b48f7c727c151425189f9ab3bd1a\">Installer Scrcpy sous Linux Mint<\/p>\n\n\n\n<p>On peut installer Scrcpy depuis la logith\u00e8que.<\/p>\n\n\n\n<p><em>Pour Windows on peut t\u00e9l\u00e9charger l&rsquo;archive zip depuis Github :<\/em><\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/Genymobile\/scrcpy\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/Genymobile\/scrcpy<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Le d\u00e9bogage USB doit \u00eatre actif c\u00f4t\u00e9 t\u00e9l\u00e9phone<\/strong><\/p>\n\n\n\n<p class=\"has-ast-global-color-1-color has-text-color has-link-color has-medium-font-size wp-elements-25e7c7923d9da4a32375dfc4c5e3a50a\">1 &#8211; Pour activer le mode d\u00e9veloppeur sur Android<\/p>\n\n\n\n<p><strong>Param\u00e8tres<\/strong> ==&gt; <strong>\u00c0 propos du t\u00e9l\u00e9phone<\/strong> ==&gt; <strong>Informations sur le logiciel<\/strong><\/p>\n\n\n\n<p>Tapotez 7 fois sur \u00ab&nbsp;<strong>Num\u00e9ro de version<\/strong>&nbsp;\u00bb<\/p>\n\n\n\n<p class=\"has-ast-global-color-1-color has-text-color has-link-color has-medium-font-size wp-elements-ccf08b6130f0280fe1a6af565f8ca182\">2 &#8211; Pour activer les options pour les d\u00e9veloppeurs sur le smartphone<\/p>\n\n\n\n<p><strong>Param\u00e8tres<\/strong> ==&gt; <strong>Options de d\u00e9veloppement<\/strong><\/p>\n\n\n\n<p>Activez \u00ab&nbsp;<strong>Options de d\u00e9veloppement<\/strong>&nbsp;\u00bb<\/p>\n\n\n\n<p class=\"has-ast-global-color-1-color has-text-color has-link-color has-medium-font-size wp-elements-92d95972f60d2e08e93f460bd0ed1a12\">3 &#8211; Pour activer le d\u00e9bogage USB<\/p>\n\n\n\n<p>Activez \u00ab&nbsp;<strong>D\u00e9bogage USB<\/strong>&nbsp;\u00bb<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-ast-global-color-1-color has-text-color has-link-color has-medium-font-size wp-elements-44210dfa6c19a702eafb5f5277acc103\">Pour utiliser Scrcpy<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Votre smartphone doit \u00eatre connect\u00e9 en USB \u00e0 votre PC.<\/li>\n\n\n\n<li>Autorisez votre ordinateur.<\/li>\n\n\n\n<li>Une fois l\u2019installation termin\u00e9e, lorsqu\u2019on lance l\u2019application <strong>scrcpy<\/strong> depuis un terminal, une fen\u00eatre s&rsquo;ouvre reprenant l\u2019\u00e9cran du smartphone qui est connect\u00e9 en USB.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"563\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/03\/Capture_d_ecran_scrcpy.png\" alt=\"\" class=\"wp-image-621\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/03\/Capture_d_ecran_scrcpy.png 1000w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/03\/Capture_d_ecran_scrcpy-300x169.png 300w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/03\/Capture_d_ecran_scrcpy-768x432.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p><em>Capture d&rsquo;\u00e9cran sous Linux Mint<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-ast-global-color-1-color has-text-color has-link-color has-medium-font-size wp-elements-cf80a2efd69a53dd2c5aac03df1ca87f\">Raccourcis clavier<\/p>\n\n\n\n<p>Des actions peuvent \u00eatre effectu\u00e9es sur la fen\u00eatre scrcpy \u00e0 l&rsquo;aide de raccourcis clavier et souris.<\/p>\n\n\n\n<p><strong>[MOD]<\/strong> est le modificateur de raccourcis. Par d\u00e9faut, c&rsquo;est <strong>Alt<\/strong> (\u00e0 gauche) ou <strong>Super<\/strong> (\u00e0 gauche).<\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color wp-elements-e28391ada5277ea3d76d1b7798180815\"><strong>Dans mon cas sous linux Mint [MOD] est Alt (\u00e0 gauche)<\/strong>.<\/p>\n\n\n\n<p>Il peut \u00eatre modifi\u00e9 en utilisant : <strong>&#8211;shortcut-mod<\/strong>. Les cl\u00e9s possibles sont <strong>lctrl<\/strong>, <strong>rctrl<\/strong>, <strong>lalt<\/strong>, <strong>ralt<\/strong>, <strong>lsuper<\/strong> et <strong>rsuper<\/strong>. Par exemple:<\/p>\n\n\n\n<p># Utiliser RCtrl pour les raccourcis<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>scrcpy --shortcut-mod=rctrl<\/strong><\/pre>\n\n\n\n<p># Utilisez LCtrl+LAlt ou LSuper pour les raccourcis<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>scrcpy \u2013shortcut-mod=lctrl+lalt,lsuper<\/strong><\/pre>\n\n\n\n<p><strong>Super <\/strong>est g\u00e9n\u00e9ralement la touche <strong>Windows<\/strong> ou <strong>Cmd<\/strong>.<\/p>\n\n\n\n<p>Exemple&nbsp;:<\/p>\n\n\n\n<p>Injecter le texte du presse-papier de l&rsquo;ordinateur <strong>[MOD]<\/strong>+<strong>[Shift]<\/strong>+<strong>[v]<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Plus d\u2019informations sur les raccourcis clavier&nbsp;:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/Genymobile\/scrcpy\/blob\/master\/doc\/shortcuts.md\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/Genymobile\/scrcpy\/blob\/master\/doc\/shortcuts.md<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>J\u2019utilise un Samsung Galaxy Note 8 avec Android 9 (On peut \u00eatre oblig\u00e9 d&rsquo;adapter la proc\u00e9dure en fonction de la version d&rsquo;Android). L\u2019application gratuite open source Scrcpy permet d\u2019afficher et de contr\u00f4ler les appareils Android connect\u00e9 en USB depuis Linux ou Windows. Que l\u2019on soit sous Linux ou Windows, le d\u00e9bogage USB doit \u00eatre actif [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[37],"tags":[38,40,39],"class_list":["post-614","post","type-post","status-publish","format-standard","hentry","category-android","tag-android","tag-linux-mint","tag-scrcpy"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=614"}],"version-history":[{"count":16,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/614\/revisions"}],"predecessor-version":[{"id":643,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/posts\/614\/revisions\/643"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/categories?post=614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/tags?post=614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}