technicalsuwako.moe/www/blog/plasma-mobile-japanese-keyb.../index.html

162 行
10 KiB
HTML
Raw Blame 履歴

このファイルには曖昧(ambiguous)なUnicode文字が含まれています

このファイルには、他の文字と見間違える可能性があるUnicode文字が含まれています。 それが意図的なものと考えられる場合は、この警告を無視して構いません。 それらの文字を表示するにはエスケープボタンを使用します。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<meta name="author" content="テクニカル諏訪子" />
<meta name="description" content="デジタル自主のロリ神様" />
<link rel="alternate" type="application/atom+xml" title="テクニカル諏訪子 feed" href="../../blog.atom" />
<title>テクニカル諏訪子: 【Plasma Mobile】日本語キーボードを有効にする方法</title>
<link rel="stylesheet" type="text/css" href="../../static/style.css" />
</head>
<body>
<div class="jswarning" id="jswarning">注意JavsScriptはONです。安全・安心の為、JavaScriptをOFFにしてお願い致します。</div>
<script type="text/javascript">
document.getElementById('jswarning').style.display = 'block';
</script>
<div class="container">
<img src="/static/Eqjk_WgVQAE2psn-new.jpeg" class="header-img" alt="ヘッダー" />
<p>
<a href="/">トップ</a> |
<a href="/about/">自己紹介</a> |
<a href="/contact/">連絡先</a> |
<a href="/freelancer/">フリーランス</a> |
<a href="/service/">サービス</a> |
<a href="/webring/">リング</a> |
<a href="/i2pabout/">I2Pについて</a>
</p>
<p>
<a href="/blog.atom"><img src="/static/rssa.png" alt="RSS" />で登録</a> |
<a href="https://social.076.ne.jp/TechnicalSuwako"><img src="/static/mastodon.png" alt="Mastodon" />/<img src="/static/pleroma.png" alt="Pleroma" />でフォロー</a> |
<a href="https://video.076.ne.jp/c/technicalsuwako"><img src="/static/peertube.png" alt="PeerTube" />で登録</a> |
<a href="https://www.technicalsuwako.jp"><img src="/static/clearnet.png" alt="一般ネット" /></a> |
<a href="http://6qiatzlijtqo6giwvuhex5zgg3czzwrq5g6yick3stnn4xekw26zf7qd.onion/"><img src="/static/tor.png" alt="Tor" /></a> |
<a href="http://technicalsuwako.i2p/"><img src="/static/i2p.png" alt="I2P" /></a>
</p>
<p>
支援♡:
<a href="/support/monero/"><img src="/static/monero.png" alt="Monero" /></a> |
<a href="/support/wownero"><img src="/static/wownero.png" alt="Wownero" /></a> |
<a href="/support/bitcoin"><img src="/static/bitcoin.png" alt="Bitcoin" /></a>
</p>
<hr />
<div class="header">
<h1>【Plasma Mobile】日本語キーボードを有効にする方法</h1>
<a href="/">トップページに戻る</a>
<div class="info">
凜、
2021年05月29日
&mdash;
<a href="/tags/jp/">jp</a>,
<a href="/tags/blog/">blog</a>,
<a href="/tags/plasma mobile/">plasma mobile</a>,
<a href="/tags/linux/">linux</a>,
<a href="/tags/pinephone/">pinephone</a>,
<a href="/tags/スマホ/">スマホ</a>
</div>
</div>
<hr />
<div>
<p>やっとManjaro ARMのPlasma MobileというDEで日本語キーボードを追加されました<br />
でも、有効にすると、キーボードの言語を日本語に変えたら、キーボードが死ぬみたいです。<br />
修正方法はとても簡単ですよ!</p>
<p>まずは、そのまま有効にして。<br />
日本語キーボードを有効にするには、「<code>Settings</code>」→「<code>Virtual Keyboard</code>」→「<code>Configure Languages</code>」に行きましょう。<br />
<img src="Screenshot_20210529_120440.png" alt="" /></p>
<p>有効にすると、キーボードは永遠に消えますね。<br />
再起動の後直ぐ、「<code>journalctl -fe</code>」を実行しました。<br />
下記の赤文字で書いたエラーが出ました。</p>
<pre style="background-color:#f8f8f8;overflow-x: auto"><code>May 29 11:04:53 plasma-mobile systemd-coredump[4555]: [?] Process 4530 (maliit-keyboard) of user 1002 dumped core.
Stack trace of thread 4530:
#0 0x0000ffff9b7bbb90 _ZN8QQmlData17isSignalConnectedEP24QAbstractDeclarativeDataPK7QObjecti (libQt5Qml.so.5 + 0x285b90)
#1 0x0000ffff9a66e7b8 n/a (libQt5Core.so.5 + 0x32e7b8)
#2 0x0000ffff929385ac _ZN22WesternLanguagesPlugin23setSpellPredictLanguageE7QStringS0_ (libenplugin.so + 0x95ac)
#3 0x0000ffff9293e9b0 _ZN22WesternLanguagesPlugin11setLanguageERK7QStringS2_ (libenplugin.so + 0xf9b0)
#4 0x0000aaaadbd886d8 _ZN14MaliitKeyboard5Logic10WordEngine17onLanguageChangedERK7QStringS4_ (maliit-keyboard + 0x486d8)
#5 0x0000ffff9a66ec84 n/a (libQt5Core.so.5 + 0x32ec84)
#6 0x0000aaaadbd66b9c _ZN11InputMethod21languagePluginChangedE7QStringS0_ (maliit-keyboard + 0x26b9c)
#7 0x0000aaaadbd718a8 _ZN11InputMethod17onLanguageChangedERK7QString (maliit-keyboard + 0x318a8)
#8 0x0000ffff9a66ec84 n/a (libQt5Core.so.5 + 0x32ec84)
#9 0x0000aaaadbd66964 _ZN11InputMethod21activeLanguageChangedE7QString (maliit-keyboard + 0x26964)
#10 0x0000aaaadbd71024 _ZN11InputMethodC1EP24MAbstractInputMethodHost (maliit-keyboard + 0x31024)
#11 0x0000aaaadbd650d4 _ZThn16_N20MaliitKeyboardPlugin17createInputMethodEP24MAbstractInputMethodHost (maliit-keyboard + 0x250d4)
#12 0x0000ffff9bff6d84 _ZN6Maliit21StandaloneInputMethodC2EPNS_7Plugins17InputMethodPluginE (libmaliit-plugins.so.2 + 0x4dd84)
#13 0x0000aaaadbd648f8 main (maliit-keyboard + 0x248f8)
#14 0x0000ffff99fc7538 __libc_start_main (libc.so.6 + 0x24538)
#15 0x0000aaaadbd64b84 _start (maliit-keyboard + 0x24b84)
#16 0x0000aaaadbd64b84 _start (maliit-keyboard + 0x24b84)
May 29 11:04:53 plasma-mobile systemd[1]: systemd-coredump@3-4554-0.service: Deactivated successfully.
May 29 11:04:53 plasma-mobile systemd[1]: systemd-coredump@3-4554-0.service: Consumed 5.974s CPU time.
May 29 11:04:54 plasma-mobile systemd[1]: Started Process Core Dump (PID 4603/UID 0).
May 29 11:05:02 plasma-mobile systemd-coredump[4604]: [?] Process 4589 (maliit-keyboard) of user 1002 dumped core.
Stack trace of thread 4589:
#0 0x0000ffff8b3e4b90 _ZN8QQmlData17isSignalConnectedEP24QAbstractDeclarativeDataPK7QObjecti (libQt5Qml.so.5 + 0x285b90)
#1 0x0000ffff8a2977b8 n/a (libQt5Core.so.5 + 0x32e7b8)
#2 0x0000ffff825615ac _ZN22WesternLanguagesPlugin23setSpellPredictLanguageE7QStringS0_ (libenplugin.so + 0x95ac)
#3 0x0000ffff825679b0 _ZN22WesternLanguagesPlugin11setLanguageERK7QStringS2_ (libenplugin.so + 0xf9b0)
#4 0x0000aaaabf5e86d8 _ZN14MaliitKeyboard5Logic10WordEngine17onLanguageChangedERK7QStringS4_ (maliit-keyboard + 0x486d8)
#5 0x0000ffff8a297c84 n/a (libQt5Core.so.5 + 0x32ec84)
#6 0x0000aaaabf5c6b9c _ZN11InputMethod21languagePluginChangedE7QStringS0_ (maliit-keyboard + 0x26b9c)
#7 0x0000aaaabf5d18a8 _ZN11InputMethod17onLanguageChangedERK7QString (maliit-keyboard + 0x318a8)
#8 0x0000ffff8a297c84 n/a (libQt5Core.so.5 + 0x32ec84)
#9 0x0000aaaabf5c6964 _ZN11InputMethod21activeLanguageChangedE7QString (maliit-keyboard + 0x26964)
#10 0x0000aaaabf5d1024 _ZN11InputMethodC1EP24MAbstractInputMethodHost (maliit-keyboard + 0x31024)
#11 0x0000aaaabf5c50d4 _ZThn16_N20MaliitKeyboardPlugin17createInputMethodEP24MAbstractInputMethodHost (maliit-keyboard + 0x250d4)
#12 0x0000ffff8bc1fd84 _ZN6Maliit21StandaloneInputMethodC2EPNS_7Plugins17InputMethodPluginE (libmaliit-plugins.so.2 + 0x4dd84)
#13 0x0000aaaabf5c48f8 main (maliit-keyboard + 0x248f8)
#14 0x0000ffff89bf0538 __libc_start_main (libc.so.6 + 0x24538)
#15 0x0000aaaabf5c4b84 _start (maliit-keyboard + 0x24b84)
#16 0x0000aaaabf5c4b84 _start (maliit-keyboard + 0x24b84)
</code></pre><p>西洋の機能性を日本語キーボードで使えないみたいですので、「Text correction」の下あるチェックボックスの全部を無効にしてみました。<br />
<img src="Screenshot_20210529_120426.png" alt="" /></p>
<p>でも、まだ修正できませんでした。<br />
この同じエラーを読んで、キーボードソフトの内部名は「<code>maliit-keyboard</code>」らしいです。</p>
<pre style="background-color:#f8f8f8;overflow-x: auto"><code>maliit-keyboard
</code></pre><pre style="background-color:#f8f8f8;overflow-x: auto"><code>wordengine.cpp plugin &#34;/usr/lib/maliit/keyboard2/languages/en/libenplugin.so&#34; loaded
inputmethod_p.h registerActiveLanguage(): activeLanguage is: &#34;ja&#34;
in inputMethod.cpp setActiveLanguage() activeLanguage is: &#34;ja&#34;
void MaliitKeyboard::Logic::WordEnginePrivate::loadPlugin(QString) Loading plugin failed:
&#34;Cannot load library /usr/lib/maliit/keyboard2/languages/ja/libjaplugin.so:
(libanthy.so.0: cannot open shared object file: No such file or directory)&#34;
Segmentation fault (core dumped)
</code></pre><p>ねぇねぇ!!「<code>libanthy.so</code>」というライブラリーを開けないみたいです!<br />
じゃ、インストールしてみよっか!</p>
<pre style="background-color:#f8f8f8;overflow-x: auto"><code>sudo pacman -S anthy fcitx5-anthy <span style="color:#666">&amp;&amp;</span> sudo reboot
</code></pre><p>再起動する後、確認して下さい。<br />
<img src="Screenshot_20210529_115239.png" alt="" /> <img src="Screenshot_20210529_115532.png" alt="" /></p>
<p>出た!!<br />
でも、まだカタカナと漢字を入力できません、現在ひらがなのみです。<br />
そうして、「戻す」を押すと「戻す」と入力します。<br />
「記号」を押すと「記号」と入力します。<br />
「←」と「→」ボタンは反応していません。</p>
<p><video src="detadeta.mp4" controls="controls" style="max-height: 400px;"></video></p>
<p>以上</p>
</div>
<hr />
<a href="https://github.com/piranha/gostatic">gostatic</a>で創作しました。<a href="https://git.076.ne.jp/TechnicalSuwako/StaticSuwako"><img src="/static/git.png" alt="Git" /></a>
<a href="http://validator.w3.org/check?uri=https%3A%2F%2Fwww.technicalsuwako.jp%2F">
<img src="http://www.w3.org/Icons/valid-xhtml11" alt="Valid XHTML 1.1" height="31" width="88" />
</a>
<a href="https://jigsaw.w3.org/css-validator/validator?lang=ja&amp;profile=none&amp;uri=https%3A%2F%2Fwww.technicalsuwako.jp%2F&amp;usermedium=all&amp;vextwarning=&amp;warning=1">
<img style="border:0;width:88px;height:31px" src="https://jigsaw.w3.org/css-validator/images/vcss" alt="正当なCSSです!" />
</a>
<a href="https://anybrowser.org/campaign/images/button_enhanced.gif">
<img style="border:0;width:88px;height:31px" src="https://anybrowser.org/campaign/bvgraphics/any1.gif" alt="どっちでもブラウザで表示出来ます!" />
</a>
</div>
</body>
</html>