2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Mozcのデフォルト入力をひらがなにする

Posted at

ソースからrebuildする

 sudo apt install build-essential devscripts -y
 sudo apt build-dep ibus-mozc -y
 apt source ibus-mozc

方法二つがあります

方法1.CompositionMode修正
./mozc*/src/protocol/commands.proto を編集して、

enum CompositionMode {
    DIRECT = 0;
    HIRAGANA = 1;

の部分を

enum CompositionMode {
    DIRECT = 1;
    HIRAGANA = 0;

のように変更します。

方法2.kActivatedOnLaunch
cd ~
./mozc*/src/unix/ibus/property_handler.ccを編集します。

     #if IBUS_CHECK_VERSION(1, 5, 0)
     const bool kActivatedOnLaunch = false;

の部分を

    #if IBUS_CHECK_VERSION(1, 5, 0)
    const bool kActivatedOnLaunch = true;

のように変更します。

次はbuild

cd mozc*
dpkg-buildpackage -us -uc -b

sudo apt install ./ibus-mozc*.deb (dfsg version)

そして再起動して完成。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?