13,002
回編集
67行目: | 67行目: | ||
sudo cp bazel-bin/renderer/mozc_renderer /usr/lib64/mozc/ | sudo cp bazel-bin/renderer/mozc_renderer /usr/lib64/mozc/ | ||
<br> | <br> | ||
次に、Fcitx-mozcの設定ファイルを作成する。<br> | |||
sudo vi /usr/share/fcitx/addon/fcitx-mozc.conf | |||
<br> | |||
# /usr/share/fcitx/addon/fcitx-mozc.confファイル | |||
[Addon] | |||
Type=SharedLibrary | |||
Name=fcitx-mozc | |||
GeneralName=Mozc | |||
Comment=Mozc support for Fcitx | |||
Library=fcitx-mozc.so | |||
IMRegisterMethod=ConfigFile | |||
LoadLocal=True | |||
Category=InputMethod | |||
Enabled=True | |||
SubConfig= | |||
<br> | |||
次に、Fcitx-mozcのインプットメソッド設定ファイルを作成する。<br> | |||
sudo vi /usr/share/fcitx/inputmethod/mozc.conf | |||
<br> | |||
# /usr/share/fcitx/inputmethod/mozc.confファイル | |||
[InputMethod] | |||
UniqueName=mozc | |||
Name=Mozc | |||
IconName=/usr/share/fcitx/mozc/icon/mozc.png | |||
Priority=1 | |||
LangCode=ja | |||
Parent=fcitx-mozc | |||
<br> | |||
最後に、[https://download.fcitx-im.org/fcitx-mozc/ Fcitxの公式Webサイト]にアクセスして、Fcitx-mozcアイコンをダウンロードする。<br> | |||
または、<code>wget</code>コマンドを実行して、Fcitx-mozcアイコンをダウンロードする。<br> | または、<code>wget</code>コマンドを実行して、Fcitx-mozcアイコンをダウンロードする。<br> | ||
wget https://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-icon.tar.gz | wget https://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-icon.tar.gz |