<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Vakr (and greetings to those who are also interested in this
issue,)<br>
</p>
<p>This evening I found the time to follow <a
moz-do-not-send="true"
href="https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration">the
Arch Wiki guide on changing keymaps</a> and see whether<br>
this enables Korean input for the Pinephone. Unfortunately this
did not work, and in this email I report<br>
two observations I made that might explain the failure:</p>
<p>the first observation is that there exists no Korean keymap in
`/usr/share/kbd/keymaps` but I believe this could be<br>
fixed rather quickly (perhaps it already exists in the Arch
repository?).</p>
<p>The second one is more interesting. I wanted to see whether I can
change my keymap to German<br>
just to see whether `sudo loadkeys de` would let me type the
German umlauts and enable the proper<br>
<a moz-do-not-send="true"
href="https://en.wikipedia.org/wiki/German_keyboard_layout">QWERTZ
keymap</a>. However the command[0] did not alter the keymap as
expected; pressing "Y" on<br>
my keyboard still gave me "Y" instead of "Z". Trying out various
variants of `de` (for example, `de-latin1`)<br>
did not produce different outcomes.</p>
<p>Then I discovered that the output of the command `localectl
status` does not change after entering the<br>
loadkeys command. Both before and after `sudo loadkeys de` the
keyboard configurations are set as<br>
</p>
<p>
<blockquote type="cite">System Locale: LANG=en_us.UTF-8<br>
VC Keymap: n/a<br>
X11 Layout: n/a</blockquote>
</p>
<p>Perhaps this unexpected persistence to `n/a` keymap (if one could
call it a keymap) has something to do<br>
with the fact that Plasma Mobile uses Wayland instead of X11, but
this is just my wild guess.</p>
<p>At this point I am stuck and don't know how to proceed with the
`loadkeys` command. It would be very<br>
much appreciated if you could share any insights on what could be
done. (Of course, I would perfectly<br>
understand if you do not have enough time/energy for doing so.)</p>
<p>Thank you for reading this long email, and I hope you have a nice
day :)</p>
<p>Byeongmin<br>
</p>
<p>---</p>
<p>[0] The command was executed when the Pinephone was connected to
a hardware keyboard and<br>
an external monitor via the USB-C dock.<br>
</p>
<div class="moz-cite-prefix">On 13/05/2022 23:28, Vakr wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFGO5qUMyaFh7H-qRZRZsGwrh+Ssmdjo0EEeeXqUtBnG7RErrA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi Byeongmin,</div>
<div><br>
</div>
Unfortunately keyboard kcm (component for system settings)
resides in plasma-desktop and hasn't been ported to
plasma-mobile yet.<br>
<div>It would be awesome if you open an iss<span
id="goog_1569654533"></span><span id="goog_1569654534"></span>ue
<a
href="https://invent.kde.org/plasma/plasma-mobile/-/issues?sort=created_date&state=opened"
moz-do-not-send="true">here</a>: I'll start working on it as
soon as possible, meanwhile, you can try to solve your problem
by following <a
href="https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration"
moz-do-not-send="true">this guide</a> and, perhaps, by
making a bash script that automate the thing.</div>
<div>I'm here for any other question.<br>
</div>
<div><br>
</div>
<div>Thank you this report,</div>
<div><br>
</div>
<div>Yari<br>
</div>
</div>
<br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Il giorno ven 13 mag 2022 alle
ore 14:24 KO BYEONGMIN <<a
href="mailto:kobyeongmin@korea.ac.kr" moz-do-not-send="true"
class="moz-txt-link-freetext">kobyeongmin@korea.ac.kr</a>>
ha scritto:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear
Plasma Mobile enthusiasts,<br>
<br>
is there anyway, be it through GUI or a terminal, that I can
change input<br>
language from English to Korean and vice versa when my phone
is connected<br>
to an external monitor?<br>
<br>
To be more precise, I am running Plasma Mobile 5.24.5 on my
Pinephone (Arch<br>
Linux ARM), from which the input language can be easily
changed via its<br>
on-screen keyboard when the languages of choice are added to
the list <br>
available<br>
on SYSTEM SETTINGS > ON-SCREEN KEYBOARD > CONFIGURE
LANGUAGES.<br>
<br>
However, when I connect the phone to an external monitor via
the <br>
'Convergence'<br>
USB-C dock, the on-screen keyboards are automatically disabled
and leaves me<br>
no way of typing languages other than English.<br>
<br>
My search for finding appropriate keyboard shortcuts or
solutions from the<br>
software repository was to no avail. Is it really impossible
to change <br>
the input<br>
language when the phone's connected to an external monitor?<br>
<br>
Thank you for reading.<br>
<br>
Stay healthy!<br>
<br>
Byeongmin<br>
<br>
---<br>
<br>
written from my Pinephone<br>
<br>
_______________________________________________<br>
Plasma-mobile mailing list<br>
<a href="mailto:Plasma-mobile@kde.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">Plasma-mobile@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-mobile"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://mail.kde.org/mailman/listinfo/plasma-mobile</a><br>
</blockquote>
</div>
</blockquote>
</body>
</html>