1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntuにibus-mozcをインストール(「片仮名→英語」変換対応、ついでにバグも修正)

Last updated at Posted at 2017-06-10

Ubuntuにibus-mozcをインストールして日本語入力の環境も整備しました。

まずはibus-mozcをインストールしてUbuntuの日本語入力の環境を整えよう

あとで後悔するibus-mozcのインストール方法

sudo apt-get install ibus-mozc
sudo apt-get install ibus-gtk ibus-gtk3 ibus-qt4

あとで幸せになれるibus-mozcのインストール方法

Mozc UTをダウンロード

 OSDNの作業部屋

Mozc UTのビルドとインストール

cd ~/Downloads

tar xavf mozc-*.tgz

cd mozc-*/

sed -i s/'const bool kActivatedOnLaunch = false;'/'const bool kActivatedOnLaunch = true;'/g mut/src/unix/ibus/property_handler.cc

sudo apt-get install -y clang libdbus-1-dev libglib2.0-dev libgtk2.0-dev subversion tegaki-zinnia-japanese debhelper libibus-1.0-dev build-essential libssl-dev libxcb-xfixes0-dev python-dev gyp protobuf-compiler libqt4-dev libuim-dev libzinnia-dev fcitx-libs-dev devscripts ninja-build

sudo ./build_mozc_plus_utdict

tail -n 5 /var/log/apt/history.log | grep Install: | sed -e s/"Install: "// | sed -e s/", automatic"//g | sed -e s/"), "/"\n"/g | sed -e s/" (.*$"/""/g | tr '\n' ' ' | xargs sudo apt-get remove -y

sudo apt install ./mozc-*.deb ./fcitx-mozc_*.deb ./ibus-mozc_*.deb

gsettings set org.gnome.settings-daemon.plugins.keyboard active true

システムの言語設定

環境設定で、日本語の設定を行う

  • 「片仮名→英語」変換に対応

  • 再起動時に半角入力に戻るバグに対応

これらに対応したインストール方法について書いています。

まずはibus-mozcをインストールしてUbuntuの日本語入力の環境を整えよう

1
3
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
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?