Fcitx5

提供: ArchWiki
2020年8月9日 (日) 10:10時点におけるKusanaginoturugi (トーク | 投稿記録)による版 (→‎インストール: 英語版より転載)
ナビゲーションに移動 検索に移動

関連記事

Fcitx5 は Fcitx の後継プログラムとして開発されているインプットメソッドです。

インストール

fcitx5 パッケージをインストールしてください。

fcitx5-im group provides fcitx5 ontology, #Configuration tool, and all #Input method module except fcitx5-qt4-gitAUR.

ノート: fcitx5 just give a basic framework, it just give a English support, if you want input other language, such Chinese or Japanese, you need a Input method engine.

インプットメソッドモジュールの環境変数の設定

Fcitx5を常用する場合は、環境変数を変更する必要があります。

~/.pam_environment
GTK_IM_MODULE DEFAULT=fcitx
QT_IM_MODULE  DEFAULT=fcitx
XMODIFIERS    DEFAULT=@im=fcitx

デスクトップ環境での自動起動

デスクトップの起動時に fcitx5 の自動起動が必要な場合は、Fcitx#デスクトップ環境での自動起動 を参照してください。

インプットメソッドエンジン

中国語

  • fcitx5-chinese-addons には中国語に関連するアドオンが含まれています。fcitx4 にバンドルされている IME も含まれます。
  • fcitx5-rimeRime IME プロジェクトのスキーマを基にしています。
  • fcitx5-chewinglibchewing に基づく繁体字の注音入力エンジンです。

日本語

  • fcitx5-anthy は人気の日本語入力エンジンです。ただし、開発は滞っています。
  • fcitx5-skklibskk がベースの日本語仮名漢字入力エンジンです。
  • fcitx5-mozcAUR Google 日本語入力のオープンソース版である Mozc がベース。

他の言語

インプットメソッドモジュール

より良いエクスペリエンスを得るために、以下のモジュールもインストールすると良いでしょう。モジュールをインストールしなくても大抵のアプリケーションでインプットメソッドは動作しますが、インプットメソッドがフリーズしたり、プレビューウィンドウの位置がずれたり、プレビューが表示されなかったりする可能性があります。

  • Qt5 プログラムのモジュールは fcitx5-qt をインストールしてください。
  • GTK プログラムのモジュールは fcitx5-gtk をインストールしてください。
  • Qt4 プログラムのモジュールは fcitx5-qt4-gitAUR をインストールしてください。
ヒント: 通常、fcitx5-qtfcitx5-gtk をインストールすると、あらゆる状況に対応できます。

設定ツール

fcitx5 の設定ファイルは、~/.local/share/fcitx5 にあります。テキストエディタを使用して設定ファイルを編集できますが、GUIを使った方が明らかに便利です:

ノート: fcitx5 の開発者は gtk の設定ツールを開発する予定はないと明言しています。KDE 以外のインターフェイスでは、fcitx5-config-qt-gitAUR を使うことができます。このパッケージは、kcm-fcitx5 と競合するので、手動でアンインストールする必要があります

テーマ

収録されているテーマは非常に少なく、GitHub でより多くのテーマを見つけることができます。

  • fcitx5-material-color: このテーマはマイクロソフトの PinYin のような感じです。公式版は GitHub: Fcitx5-Material-Color にあります。README.md ファイルに1行モードの美しい感じを設定するためのガイダンスがあります。
ヒント: KCM を使用している場合は、Setting -> Location -> input method -> Configure addons -> Classic user interface -> Theme でテーマを切り替えます。

トラブルシューティング

The newest wps cannot use fcitx5

See WPS Office#Fcitx5 cannot input Chinese.

Fcitx5 has a error position in intellij IDEs

Some java applications cannot get position exactlly, Fcitx5 cannot fix this problem [1].

Emoji show abnormal at candidate box

1. Confirm you have install a font with Emoji. ( Such as noto-fonts-emoji )

2. Set system font as Noto Sans CJK SC( For Simplified Chinese )

3. Use this command to reboot Fcitx5 :

# kill `ps -A | grep fcitx5 | awk '{print $1}'` && fcitx5&

ヒントとテクニック

How to view the Unicode encoding of selected characters

  • If you need to view the Unicode encoding of the selected text in the text editor, then directly select the text, and then use the shortcut keys ctrl + alt + shift + u to view the encoding of the selected text.
  • If you need to view the Unicode encoding of the text in the non-editing area (such as this wiki), you need to first copy the text to the clipboard, then click on any editable area (such as the search box), and then use the shortcut keys ctrl + alt + shift + u can view the encoding of the text in the clipboard.

Input special character

In general, for some simple symbols, such as , ā, á, ©, etc., you can enter through コンポーズキーの設定, but for more special symbols, such as , , , etc., you Either customize ~/.XCompose, or use Fcitx5's Unicode function to achieve.

Take as an example:

Position the cursor in any input box, and then press Ctrl + Alt + Shift + U, and then enter circle one, you will see a variety of , other special characters are similar here.