Skip to content

SKK input method plugin for fcitx5 that uses LibCSKK

License

Notifications You must be signed in to change notification settings

fcitx/fcitx5-cskk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Fcitx Transifex Bot
Feb 28, 2025
e9040c7 · Feb 28, 2025
May 21, 2024
Oct 30, 2022
Sep 17, 2022
Sep 23, 2022
May 21, 2024
Feb 28, 2025
Feb 7, 2025
May 21, 2024
May 8, 2021
Apr 30, 2021
Sep 15, 2022
May 8, 2021
Feb 7, 2025
Apr 30, 2021
Apr 30, 2021
Feb 4, 2023
Jan 23, 2023
Nov 4, 2024
Sep 2, 2022

Repository files navigation

cskk logo fcitx5-cskk

Fcitx5 でskk入力方式で入力するためのインプットメソッドプラグイン。

libcskk を用いる。

説明書はCSKK Docsに公開。

インストール方法

Required libraries

Same as other fcitx5 plugin project.

For example in Debian,

$ sudo apt install gettext cmake extra-cmake-modules fcitx5-modules-dev qtbase5-dev qtdeclarative5-dev libfcitx5-qt-dev

For full features.

Install

$ rm -rf ./build
$ mkdir build
$ cd build  
$ cmake ..
$ make && make install

システムによっては、アイコン類の読み込みのために再起動が必要です。

アンインストール方法

$ cd build
$ make uninstall

テスト実行方法

$ rm -rf ./build 
$ mkdir build
$ cd build
$ cmake -DGOOGLETEST=on ..
$ make runTest 
$ ./test/runTest

GOOGLETESTフラグはキャッシュされるのでライブラリ生成時には注意が必要

開発状況

実装予定(いつかは)

  • ひらがな・カタカナ・漢字入力

  • 変換候補リスト表示

  • 変換候補リスト ラベル選択

  • 設定項目

    • 入力モード初期値設定
    • 漢字変換候補ラベル((a,b,c...), (1,2,3...) etc.)
    • 句読点スタイル ((,.),(、。),(、.)... )
    • 変換候補リスト表示までの変換候補数
    • 変換候補リストのサイズ

実装内容・予定不明

  • 優先度、読み書き可不可の辞書リスト設定

辞書

辞書の形式は skk-dev で配布されているものを想定している。

デフォルトでは/usr/share/skk/SKK-JISYO.L が euc-jp の読み取り専用辞書として使われる。

辞書はfcitx5のconfigtoolから設定可能。

直接編集する場合は ~/.local/share/fcitx5/cskk/dictionary_list に保存されている。 ','区切りのkey=valueリストで、type,file,mode,encoding,completeを指定する。 例として、

type=file,file=/usr/share/skk/SKK-JISYO.L,mode=readonly,encoding=euc-jp,complete=false
type=file,file=$FCITX_CONFIG_DIR/cskk/user.dict,mode=readwrite,complete=true

typeはfileのみ。必須。

fileはファイルへのパスを指定する。必須。唯一文頭でのみ$FCITX_CONFIG_DIRのみ変数として使え、fcitx5の設定ディレクトリ(通常は~/.local/share/fcitx5)を指す。

modeはreadonlyまたはreadwrite。必須。

encodingに指定できる内容はlibcskkに準じる。必須。少なくとも"euc-jp"や"utf-8"が使える。

completeは補完機能に用いるかどうか。trueかfalse。デフォルトはfalse。

著作権表示

Copyright (C) 2021 Naoaki Iwakiri

ライセンス

GNU GPL v3 or later.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.