<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Remote Desktop on Ivon&#39;s Blog</title>
    <link>https://ivonblog.com/ja-jp/tags/remote-desktop/</link>
    <description>Recent content in Remote Desktop on Ivon&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja-jp</language>
    <managingEditor>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</managingEditor>
    <webMaster>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</webMaster>
    <copyright>Ivon&#39;s Blog（ivonblog.com）の記事はご自由に共有いただけます。引用の際は、記事のURLを明記してください。特に明記されていない限り、すべての記事CC BY-SA 4.0 表示-継承 4.0 国際 ライセンスの下で提供されています。商用利用をご希望の場合は、お問い合わせください。</copyright>
    <lastBuildDate>Sun, 31 Dec 2023 14:00:00 +0800</lastBuildDate><atom:link href="https://ivonblog.com/ja-jp/tags/remote-desktop/index.xml" rel="self" type="application/rss+xml" />
    <follow_challenge>
      <feedId>56005902658351104</feedId>
      <userId>1132431067563556864</userId>
    </follow_challenge>
    
    
    <item>
      <title>Linuxパソコンのリモートデスクトップをスマホ操作向けのUIにする</title>
      <link>https://ivonblog.com/ja-jp/posts/remote-desktop-linux-mobile-friendly-ui/</link>
      <pubDate>Sun, 31 Dec 2023 14:00:00 +0800</pubDate>
      <author>infoivonblog.nkfjt@aleeas.com (Ivon Huang)</author>
      <guid>https://ivonblog.com/ja-jp/posts/remote-desktop-linux-mobile-friendly-ui/</guid>
      
      <description>&lt;!-- Co-translated by ChatGPT --&gt;&#xA;&lt;p&gt;Remotely control your Linux from Android with a mobile-friendly UI.&lt;/p&gt;&#xA;&lt;p&gt;パソコンの画面は横長、スマホの画面は縦長なので、リモート操作はやりにくいです。スマホを触りながら、ついでにパソコンも触りたい。&lt;/p&gt;&#xA;&lt;p&gt;Redditでは似たような発想を試した人がいます：&lt;a href=&#34;https://www.reddit.com/r/Windows10/comments/83io67/win10_remote_desktop_tablet_mode_poor_mans/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Win10 Remote Desktop + tablet mode = poor man&amp;rsquo;s Windows Phone&amp;hellip; great over LAN&lt;/a&gt;。Windows 10のタブレットモードを使って、リモートデスクトップ上のパソコンをWindows Phone風UIにするというものです。&lt;/p&gt;</description>
      <content:encoded>&lt;!-- Co-translated by ChatGPT --&gt;&#xA;&lt;p&gt;Remotely control your Linux from Android with a mobile-friendly UI.&lt;/p&gt;&#xA;&lt;p&gt;パソコンの画面は横長、スマホの画面は縦長なので、リモート操作はやりにくいです。スマホを触りながら、ついでにパソコンも触りたい。&lt;/p&gt;&#xA;&lt;p&gt;Redditでは似たような発想を試した人がいます：&lt;a href=&#34;https://www.reddit.com/r/Windows10/comments/83io67/win10_remote_desktop_tablet_mode_poor_mans/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Win10 Remote Desktop + tablet mode = poor man&amp;rsquo;s Windows Phone&amp;hellip; great over LAN&lt;/a&gt;。Windows 10のタブレットモードを使って、リモートデスクトップ上のパソコンをWindows Phone風UIにするというものです。&lt;/p&gt;&#xA;&lt;p&gt;この概念は少しややこしいです。まあ、「パソコンをクラウドスマホにする方法」と言ったほうが早いでしょう。&lt;/p&gt;&#xA;&lt;p&gt;目的は、スマホでのリモートデスクトップ体験を少しマシにすることです。&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;概要&#xA;    &lt;div id=&#34;概要&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a6%82%e8%a6%81&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;近年、postmarketOSやMobianといったLinuxモバイルOSが相次いで登場し、さらにPinePhoneの発売もあって、LinuxコミュニティはPhosh、Plasma Mobile、SXMOなど対応するスマホ向けUIを開発しました。Linuxにもタッチスクリーン向けに最適化されたアプリがかなり出てきています。&lt;/p&gt;&#xA;&lt;p&gt;Linuxでパソコンとスマホの両方に一番向いているUIは、おそらくGNOMEです。残念ながら、解像度を動的に切り替える場面ではまだうまく動かないので、ここは専用UIを使うことにします。&lt;/p&gt;&#xA;&lt;p&gt;現時点の候補は「Phosh」と「Plasma Mobile」です。私はPlasmaをメインのデスクトップにしているので、後者を選びました。&lt;/p&gt;&#xA;&lt;p&gt;Linuxでは複数のデスクトップ環境をインストールできます。PlasmaとPlasma Mobileを両方入れておけば、スマホ向けとパソコン向けのLinux UIを切り替えられます。&lt;/p&gt;&#xA;&lt;p&gt;リモートデスクトップについては、Waylandとタッチジェスチャーに対応している&lt;a href=&#34;https://ivonblog.com/posts/weylus-use-tablet-as-graphic-tablet/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Weylus&lt;/a&gt;を選びました。&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;方法一：Plasma Mobile&#xA;    &lt;div id=&#34;方法一plasma-mobile&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%96%b9%e6%b3%95%e4%b8%80plasma-mobile&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Arch LinuxではPlasma MobileをAURからインストールします&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;yay -S plasma-mobile&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;ol start=&#34;2&#34;&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;再起動し、SDDMでPlasma Mobile (Wayland)を選んでログインします&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;リモートデスクトップソフトのWelyusを起動し、Waylandサポートを有効にします&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;スマホのブラウザから接続すると、モバイルUIでLinuxパソコンを操作できます。&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;ただし、パソコンの画面はたいてい横長なので、ここで問題にぶつかります。Waylandでは「縦」の解像度を強制指定できないため、画面回転機能を使いました。投影結果は以下の通りです：&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;&#34;&#xA;    src=&#34;https://static.ivonblog.com/posts/remote-desktop-linux-mobile-friendly-ui/images/B37692CA4478.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    &gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;Android端で見たリモートPlasma Mobile画面&#xA;&lt;img src=&#34;https://static.ivonblog.com/posts/remote-desktop-linux-mobile-friendly-ui/images/Screenshot_20231231-021855.webp&#34; width=300&gt;&lt;/p&gt;&#xA;&lt;p&gt;これでかろうじて見られるだけです。画面を回転すると、マウスとタッチジェスチャーの向きが逆になるからです。ああ。&#xA;&lt;figure&gt;&#xA;  &lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;&#34;&#xA;    src=&#34;https://static.ivonblog.com/posts/remote-desktop-linux-mobile-friendly-ui/images/FD41534C862.webp&#34;&#xA;    onerror=&#34;this.onerror=null;this.src=&#39;https://ivonblog.com/images/unable-to-load-the-image-pepe.webp&#39;&#34;&#xA;    &gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;方法二：Plasma X11 + XRandr&#xA;    &lt;div id=&#34;方法二plasma-x11--xrandr&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%96%b9%e6%b3%95%e4%ba%8cplasma-x11--xrandr&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;デスクトップ版PlasmaはUIを自由に配置でき、タブレットモードもあります。なのでPlasma Mobileがなくても、タッチデバイス向けに使えないことはありません。&lt;/p&gt;&#xA;&lt;p&gt;X11セッション限定です。&lt;a href=&#34;https://itslinuxfoss.com/set-custom-resolution-using-xrandr/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;It&amp;rsquo;s Linux FOSSのチュートリアル&lt;/a&gt;を参考に、以下のXRandrコマンドでカスタム解像度を追加し、画面を回転せずに縦長解像度を強制します。&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cvt &lt;span class=&#34;m&#34;&gt;1080&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1920&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xrandr --newmode &lt;span class=&#34;s2&#34;&gt;&amp;#34;1080x1920_60.00&amp;#34;&lt;/span&gt;  176.50  &lt;span class=&#34;m&#34;&gt;1080&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1168&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1280&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1480&lt;/span&gt;  &lt;span class=&#34;m&#34;&gt;1920&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1923&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1933&lt;/span&gt; &lt;span class=&#34;m&#34;&gt;1989&lt;/span&gt; -hsync +vsync&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xrandr --addmode eDP-1 &lt;span class=&#34;s2&#34;&gt;&amp;#34;1080x1920_60.00&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;さらにスケーリングを調整します&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;xrandr --output eDP-1 --mode &lt;span class=&#34;s2&#34;&gt;&amp;#34;1080x1920_60.00&amp;#34;&lt;/span&gt; --scale 0.5x0.5&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;X11のタッチジェスチャーは&lt;a href=&#34;https://ivonblog.com/posts/linux-touchegg-custom-gesture/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Touche&lt;/a&gt;で補強できます。&lt;/p&gt;&#xA;&lt;p&gt;いろいろ調整しても、Plasmaデスクトップはやはりスマホ利用には向いていません。&#xA;&lt;img src=&#34;https://static.ivonblog.com/posts/remote-desktop-linux-mobile-friendly-ui/images/Screenshot_20231231-033509.webp&#34; width=300&gt;&lt;/p&gt;&#xA;</content:encoded>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://ivonblog.com/ja-jp/posts/remote-desktop-linux-mobile-friendly-ui/featured.webp" />
    </item>
    
  </channel>
</rss>
