play-im
專案
Prototype
- play-ubuntu-18.04-plan/prototype/im-basic/gcin
- play-ubuntu-18.04-plan/prototype/im-basic/hime
- play-ubuntu-18.04-plan/prototype/im-basic/fcitx-chewing
- play-ubuntu-18.04-plan/prototype/im-basic/ibus-chewing
操作步驟
install git
執行下面指令,安裝「git」這個套件。
$ sudo apt-get install git
git clone
執行
$ git clone https://github.com/samwhelp/play-ubuntu-18.04-plan.git
cd root dir
執行下面指令,切換到專案資料夾
$ cd play-ubuntu-18.04-plan/plan/im-full/play-im
make prepare
執行下面指令,安裝產生deb檔,所需要的套件。
$ make prepare
make deb-build
執行下面指令,產生deb檔。
$ make deb-build
make deb-install
執行下面指令,安裝剛剛產生的deb檔。
$ make deb-install
mod-im help
執行下面指令,觀看使用說明
$ mod-im
或是執行
$ mod-im help
顯示
Usage:
$ mod-im [command]
Ex:
$ mod-im
$ mod-im help
$ mod-im install
$ mod-im remove
$ mod-im pkg-install
$ mod-im pkg-remove
$ mod-im conf-set
$ mod-im conf-reset
Manpage:
$ man mod-im
Debug:
$ export DEBUG_PLAY_IM=true
Sub:
$ mod-im sub:gcin/install
$ mod-im sub:gcin/remove
$ mod-im sub:gcin/pkg-install
$ mod-im sub:gcin/pkg-remove
$ mod-im sub:gcin/conf-set
$ mod-im sub:gcin/conf-reset
$ mod-im sub:hime/install
$ mod-im sub:hime/remove
$ mod-im sub:hime/pkg-install
$ mod-im sub:hime/pkg-remove
$ mod-im sub:hime/conf-set
$ mod-im sub:hime/conf-reset
$ mod-im sub:fcitx_chewing/install
$ mod-im sub:fcitx_chewing/remove
$ mod-im sub:fcitx_chewing/pkg-install
$ mod-im sub:fcitx_chewing/pkg-remove
$ mod-im sub:fcitx_chewing/conf-set
$ mod-im sub:fcitx_chewing/conf-reset
$ mod-im sub:ibus_chewing/install
$ mod-im sub:ibus_chewing/remove
$ mod-im sub:ibus_chewing/pkg-install
$ mod-im sub:ibus_chewing/pkg-remove
$ mod-im sub:ibus_chewing/conf-set
$ mod-im sub:ibus_chewing/conf-reset
mod-im install
執行下面指令,執行所有安裝
$ mod-im install
個別操作
sub:gcin/install
執行
$ mod-im sub:gcin/install
sub:hime/install
執行
$ mod-im sub:hime/install
sub:fcitx_chewing/install
執行
$ mod-im sub:fcitx_chewing/install
sub:ibus_chewing/install
執行
$ mod-im sub:ibus_chewing/install