「インストール - Fcitx」の版間の差分

ナビゲーションに移動 検索に移動
58行目: 58行目:
<br><br>
<br><br>


== ソースコードからインストール ==
== Mozcのインストール ==
==== Mozcのインストール ====
==== ソースコードのダウンロード ====
SLE 15において、現在、パッケージ管理システムにFcitx-mozcが存在しない。<br>
SLE 15において、現在、パッケージ管理システムにFcitx-mozcが存在しない。<br>
そのため、Fcitxでmozcを使用する場合はソースコードからビルドおよびインストールする必要がある。<br>
そのため、Fcitxでmozcを使用する場合はソースコードからビルドおよびインストールする必要がある。<br>
126行目: 126行目:
<u>必要であれば、src/scripts/install_fcitx_bazelファイルおよびsrc/scripts/install_server_bazelファイルの内容を参照する。</u><br>
<u>必要であれば、src/scripts/install_fcitx_bazelファイルおよびsrc/scripts/install_server_bazelファイルの内容を参照する。</u><br>
<br>
<br>
次に、Fcitx-mozcの設定ファイルを作成する。<br>
==== Mozcの設定ファイルの作成 ====
Mozcのアドオン設定ファイル、および、インプットメソッド設定ファイルを作成する。<br>
vi /<Mozcのインストールディレクトリ>/share/fcitx/addon/fcitx-mozc.conf
# または
  sudo vi /usr/share/fcitx/addon/fcitx-mozc.conf
  sudo vi /usr/share/fcitx/addon/fcitx-mozc.conf
<br>
<br>
<syntaxhighlight lang="ini">
# /<Mozcのインストールディレクトリ>/share/fcitx5/addon/mozc.conf
# または
  # /usr/share/fcitx/addon/fcitx-mozc.confファイル
  # /usr/share/fcitx/addon/fcitx-mozc.confファイル
   
   
142行目: 148行目:
  Enabled=True
  Enabled=True
  SubConfig=
  SubConfig=
</syntaxhighlight>
<br>
<br>
次に、Fcitx-mozcのインプットメソッド設定ファイルを作成する。<br>
次に、Fcitx-mozcのインプットメソッド設定ファイルを作成する。<br>
vi /<Mozcのインストールディレクトリ>/share/fcitx/inputmethod/mozc.conf
# または
  sudo vi /usr/share/fcitx/inputmethod/mozc.conf
  sudo vi /usr/share/fcitx/inputmethod/mozc.conf
<br>
<br>
<syntaxhighlight lang="ini">
# /<Mozcのインストールディレクトリ>/share/fcitx/inputmethod/mozc.conf
# または
  # /usr/share/fcitx/inputmethod/mozc.confファイル
  # /usr/share/fcitx/inputmethod/mozc.confファイル
   
   
155行目: 167行目:
  LangCode=ja
  LangCode=ja
  Parent=fcitx-mozc
  Parent=fcitx-mozc
</syntaxhighlight>
<br>
<br>
[https://download.fcitx-im.org/fcitx-mozc/ Fcitxの公式Webサイト]にアクセスして、Fcitx-mozcアイコンをダウンロードする。<br>
[https://download.fcitx-im.org/fcitx-mozc/ Fcitxの公式Webサイト]にアクセスして、Fcitx-mozcアイコンをダウンロードする。<br>
164行目: 177行目:
<br>
<br>
Fcitx-mozcアイコンを、/usr/share/fcitx/mozc/iconディレクトリに配置する。<br>
Fcitx-mozcアイコンを、/usr/share/fcitx/mozc/iconディレクトリに配置する。<br>
  mkdir -p /usr/share/fcitx/mozc/icon
  cp fcitx-mozc-icons/*  /<Mozcのインストールディレクトリ>/share/fcitx/mozc/icon
# または
sudo mkdir -p /usr/share/fcitx/mozc/icon
  sudo cp fcitx-mozc-icons/*  /usr/share/fcitx/mozc/icon
  sudo cp fcitx-mozc-icons/*  /usr/share/fcitx/mozc/icon
<br><br>
<br><br>

案内メニュー