
Ubuntu日本語フォーラム

ログインしていません。
日本語入力機能がONになるとパネルに「雲」のアイコンが表示されますが、いつの間にかアイコンが交通標識の進入禁止マークのアイコンに変化します。
進入禁止マークのアイコンに変化した時、キーボードを左クリックすると「Input method off」にチェックマークが付いている。
しかし、日本語入力は普通に出来漢字変換も問題なく機能してる状態です。
解消に至りませんが、「~/.cache/ibus/bus/registry.xml」のリネーム或は削除をしログアウト・ログイン又は再起動すると新たに
「registry.xml」生成され回復します。
単なるアイコンの表示の問題なのか正規の「雲」アイコンが表示されず「進入禁止」マークのアイコンが出現するのか不思議です。
この現象を解決された方おられましたらアドバイスお願いします。
動作環境はUbuntu10.10 Amd64で10.04ではこの現象は発生していません。
オフライン
最近Ubuntuも64版で使うようにしていますが、すべて標準状態で使っていますが、今のところ問題でませんね。
*特定のアプリで使ったあとに問題が出る
*パネル/デスクトップ等をカスタマイズした
みたいなことはないですか?
オフライン
*特定のアプリで使ったあとに問題が出る
格別にこれと特定できるタイミングは有りません。
*パネル/デスクトップ等をカスタマイズした
背景画を好みなものに変更しているだけです。
オフライン
日本語入力に支障がないということなら、消極的ですが、次のアップデートを待ってはいかがですか。
オフライン
念のため確認しておきますが、mozc はどこからインストールしてますか?
また、10.04からのアップグレードですか?
オフライン
Ubuntu10.10(Amd64)はSDD(30GB)へクリーンインストールです。
Mozcはパッケージマネージャからになります。
今でも表示は「進入禁止」マークです。入力にはなんの支障もないのでしばらく現状のままで使用するつもりです。
オフライン
> Ubuntu10.10(Amd64)はSDD(30GB)へクリーンインストールです。
> Mozcはパッケージマネージャからになります。
聴き方が悪かったですね。
mozcが、標準でインストールできるものか、それとも、ppa等、別のところからインストールされたものかしりたかったのです。
> 今でも表示は「進入禁止」マークです。入力にはなんの支障もないのでしばらく現状のままで使用するつもりです。
とりあえずは、私の現状 .cache/ibus/bus/registry.xml の関連部分だけアップし、おしまいにします。
<component>
<name>com.google.IBus.Mozc</name>
<description>Mozc Component</description>
<version>0.12.410.102-2</version>
<license>New BSD</license>
<author>Google Inc.</author>
<homepage>http://code.google.com/p/mozc/</homepage>
<exec>/usr/lib/ibus-mozc/ibus-engine-mozc --ibus</exec>
<textdomain>ibus-mozc</textdomain>
<observed-paths>
<path mtime="1281735341" >/usr/share/ibus/component/mozc.xml</path>
</observed-paths>
<engines>
<engine>
<name>mozc-jp</name>
<longname>Mozc</longname>
<description>Mozc (Japanese Input Method)</description>
<language>ja</language>
<license></license>
<author></author>
<icon>/usr/share/ibus-mozc/product_icon.png</icon> <ー アイコン
<layout>jp</layout>
<hotkeys></hotkeys>
<rank>0</rank>
</engine>
</engines>
</component>オフライン
siさんが示された
<icon>/usr/share/ibus-mozc/product_icon.png</icon> <ー アイコン
の画像があるか、あればアクセス権はどうなっているか確かめたほうが良いと思います。
私(32ビット版:日本語セットアップヘルパーから)では、アクセス権は「644」でした。
オフライン
siさん、アドバイス感謝です。比較してみましたが期待に反し全く同一でした。
funatogawaさん
の画像があるか、あればアクセス権はどうなっているか確かめたほうが良いと思います。
私(32ビット版:日本語セットアップヘルパーから)では、アクセス権は「644」でした。
日本語セットアップヘルパー当方には存在しないので「product_icon.png」のプロパティーからですが、
アクセス権は所有者・グループ共に「Root」になっています。
とにかく不思議です。
オフライン
siさん、funatogawaさん、色々アドバイス有難う御座いました。
朧気ですが原因らしきものが見えてきました、Ubuntu10.10Amd64をUSBメモリにインストールしMozcもインストールしてあるものを同一のマシン
で起動しMozcの動性を観察したら、安定動作をし一度も「進入禁止」のアイコンに変化しませんでした。
Mozcのインストールは両方共「Synaptic」からしましたので、パッケージを確認しましたが、下記の内容で全く同一
mozc-utils-gui 0.12.410.102-2
mozc-server 0.12.410.102-2
ibus-mozc 0.12.410.102-2
問題のファイル(/.cache/ibus/bus/registry.xml)を全体比較をしたら明らかに違いが有りました。バージョン情報から見ますと新しものが問題を起こしています。
ファイル間の差異を表示する方法を教えてください。参考として結果を提示します。
オフライン
https://forums.ubuntulinux.jp/viewtopic.php?id=10048
派生していましたか。
何となくmozcに限った話ではなさそうな感じがしてきましたので、情報は向こうに載せておきます。
オフライン
uotora による投稿:
問題のファイル(/.cache/ibus/bus/registry.xml)を全体比較をしたら明らかに違いが有りました。バージョン情報から見ますと新しものが問題を起こしています。
ファイル間の差異を表示する方法を教えてください。参考として結果を提示します。
テキストファイルの差異を表示するには、普通 diff を使います。
例(.cache/ibus/bus/registry.xml をコピー(registry.xml.chg)し46行目を変更)
$ diff .cache/ibus/bus/registry.xml registry.xml.chg 46c46 < <icon>/usr/share/ibus-mozc/product_icon.png</icon> --- > <icon>/usr/share/ibus-mozc/stop_icon.png</icon>
周りの行も含め、わかり易く見たい場合は vimdiff (または gvimdiff)を使います。
オフライン
Templerさん、情報有難うございます。
siさん、折角コマンドを教えていただきましたが、差異が余りにも多すぎて提示してもどうにもなりませんので、提示はしません。
代わりとは変ですが問題を起こしているファイルを全文提示します。太字部分一部書き換えてみましたがかなりの部分が修正
されています。前が問題有り、後ろが不具合無しになります。
<?xml version="1.0" encoding="utf-8"?>
<!--
This file was generated by ibus-daemon. Please don't modify it.
-->
<ibus-registry>
<observed-paths>
<path mtime="1291857545" >/usr/share/ibus/component</path>
<path mtime="0" >/home/uotora/.local/share/ibus/component</path>
</observed-paths>
<components>
<component>
<name>org.freedesktop.IBus.Panel</name>
<description>Gtk Panel Component</description>
<version>1.3.7</version>
<license>GPL</license>
<author>Peng Huang <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus/ibus-ui-gtk</exec>
<textdomain>ibus</textdomain>
<observed-paths>
<path mtime="1289931702" >/usr/share/ibus/component/gtkpanel.xml</path>
</observed-paths>
<engines>
</engines>
</component>
<component>
<name>org.freedesktop.IBus.Anthy</name>com.google.IBus.Mozc
<description>Anthy Component</description>Mozc
<version>1.2.1</version>0.12.410.102-2
<license>GPL</license>New BSD
<author>Peng Huang <[email protected]></author>Google Inc.
<homepage>http://code.google.com/p/ibus</homepage>mozc/
<exec>/usr/lib/ibus-anthy/ibus-engine-anthy --ibus</exec>mozc/ibus-engine-mozc
<textdomain>ibus-anthy</textdomain>mozc
<observed-paths>
<path mtime="1273457399" >/usr/share/ibus/component/anthy.xml</path>/usr/share/ibus/component/mozc
</observed-paths>
<engines>
<engine>
<name>anthy</name>mozc-jp
<longname>Anthy</longname>Mozc
<description>Anthy Input Method</description>Mozc (Japanese Input Method)
<language>ja</language>
<license>GPL</license> 削除
<author>Peng Huang <[email protected]></author>削除
<icon>/usr/share/ibus-anthy/icons/ibus-anthy.png</icon>mozc/product_icon
<layout>jp</layout>
<hotkeys></hotkeys>
<rank>99</rank>0
</engine>
</engines>
</component>
<component>
<name>org.freedesktop.IBus.Config</name>
<description>GConf Config Component</description>
<version>1.3.7</version>
<license>GPL</license>
<author>Peng Huang <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus/ibus-gconf</exec>
<textdomain>ibus</textdomain>
<observed-paths>
<path mtime="1289931704" >/usr/share/ibus/component/gconf.xml</path>
</observed-paths>
<engines>
</engines>
</component>
<component>
<name>org.freedesktop.IBus.Pinyin</name>
<description>Pinyin Component</description>
<version>1.3.10</version>
<license>GPL</license>
<author>Peng Huang <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus-pinyin/ibus-engine-pinyin --ibus</exec>
<textdomain>ibus-pinyin</textdomain>
<observed-paths>
<path mtime="1283775049" >/usr/share/ibus/component/pinyin.xml</path>
</observed-paths>
<engines>
<engine>
<name>pinyin</name>
<longname>Pinyin</longname>
<description>Pinyin input method</description>
<language>zh</language>
<license>GPL</license>
<author>Peng Huang <[email protected]>
BYVoid <[email protected]></author>
<icon>/usr/share/ibus-pinyin/icons/ibus-pinyin.svg</icon>
<layout>us</layout>
<hotkeys></hotkeys>
<rank>99</rank>
</engine>
<engine>
<name>bopomofo</name>
<longname>Bopomofo</longname>
<description>Bopomofo input method</description>
<language>zh</language>
<license>GPL</license>
<author>BYVoid <[email protected]>
Peng Huang <[email protected]></author>
<icon>/usr/share/ibus-pinyin/icons/ibus-bopomofo.svg</icon>
<layout>us</layout>
<hotkeys></hotkeys>
<rank>98</rank>
</engine>
</engines>
</component>
<component>
<name>org.freedesktop.IBus.Table</name>
<description>Table Component</description>
<version>1.3.0.20100621</version>
<license>LGPL</license>
<author>Yuwei Yu <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus-table/ibus-engine-table --ibus</exec>
<textdomain>ibus-table</textdomain>
<observed-paths>
<path mtime="1277194173" >/usr/share/ibus/component/table.xml</path>
<path mtime="1286467693" >/usr/share/ibus-table/tables/</path>
<path mtime="1277194174" >/usr/share/ibus-table/tables/compose.db</path>
<path mtime="1277194174" >/usr/share/ibus-table/tables/template.txt</path>
</observed-paths>
<engines>
<engine>
<name>compose</name>
<longname>compose</longname>
<description>Mimic Compose Key input</description>
<language></language>
<license>GPL</license>
<author>Yu Yuwei <[email protected]></author>
<icon>/usr/share/ibus-table/icons/compose.svg</icon>
<layout>us</layout>
<hotkeys></hotkeys>
<rank>0</rank>
</engine>
</engines>
</component>
<component>
<name>com.google.IBus.Mozc</name>
<description>Mozc Component</description>
<version>0.12.410.102-2</version>
<license>New BSD</license>
<author>Google Inc.</author>
<homepage>http://code.google.com/p/mozc/</homepage>
<exec>/usr/lib/ibus-mozc/ibus-engine-mozc --ibus</exec>
<textdomain>ibus-mozc</textdomain>
<observed-paths>
<path mtime="1281735341" >/usr/share/ibus/component/mozc.xml</path>
</observed-paths>
<engines>
<engine>
<name>mozc-jp</name>
<longname>Mozc</longname>
<description>Mozc (Japanese Input Method)</description>
<language>ja</language>
<license></license>
<author></author>
<icon>/usr/share/ibus-mozc/product_icon.png</icon>
<layout>jp</layout>
<hotkeys></hotkeys>
<rank>0</rank>
</engine>
</engines>
</component>
</components>
</ibus-registry>
オフライン
その後、問題のファイル「./cache/ibus/bus/registry.xml」安定動作しているバージョンが古いものに入換へ使用していますが、不具合も発生せず動作しています。
Templerさん、ご覧になられましたら下記の内容でファイル作り試しに使用してみてください。
<?xml version="1.0" encoding="utf-8"?>
<!--
This file was generated by ibus-daemon. Please don't modify it.
-->
<ibus-registry>
<observed-paths>
<path mtime="1290236911" >/usr/share/ibus/component</path>
<path mtime="0" >/home/******/.local/share/ibus/component</path>##青字部分のみ変更する
</observed-paths>
<components>
<component>
<name>org.freedesktop.IBus.Table</name>
<description>Table Component</description>
<version>1.3.0.20100621</version>
<license>LGPL</license>
<author>Yuwei Yu <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus-table/ibus-engine-table --ibus</exec>
<textdomain>ibus-table</textdomain>
<observed-paths>
<path mtime="1277194173" >/usr/share/ibus/component/table.xml</path>
<path mtime="1286467693" >/usr/share/ibus-table/tables/</path>
<path mtime="1277194174" >/usr/share/ibus-table/tables/template.txt</path>
<path mtime="1277194174" >/usr/share/ibus-table/tables/compose.db</path>
</observed-paths>
<engines>
<engine>
<name>compose</name>
<longname>compose</longname>
<description>Mimic Compose Key input</description>
<language></language>
<license>GPL</license>
<author>Yu Yuwei <[email protected]></author>
<icon>/usr/share/ibus-table/icons/compose.svg</icon>
<layout>us</layout>
<hotkeys></hotkeys>
<rank>0</rank>
</engine>
</engines>
</component>
<component>
<name>org.freedesktop.IBus.Panel</name>
<description>Gtk Panel Component</description>
<version>1.3.7</version>
<license>GPL</license>
<author>Peng Huang <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus/ibus-ui-gtk</exec>
<textdomain>ibus</textdomain>
<observed-paths>
<path mtime="1282316699" >/usr/share/ibus/component/gtkpanel.xml</path>
</observed-paths>
<engines>
</engines>
</component>
<component>
<name>com.google.IBus.Mozc</name>
<description>Mozc Component</description>
<version>0.12.410.102-2</version>
<license>New BSD</license>
<author>Google Inc.</author>
<homepage>http://code.google.com/p/mozc/</homepage>
<exec>/usr/lib/ibus-mozc/ibus-engine-mozc --ibus</exec>
<textdomain>ibus-mozc</textdomain>
<observed-paths>
<path mtime="1281735341" >/usr/share/ibus/component/mozc.xml</path>
</observed-paths>
<engines>
<engine>
<name>mozc-jp</name>
<longname>Mozc</longname>
<description>Mozc (Japanese Input Method)</description>
<language>ja</language>
<license></license>
<author></author>
<icon>/usr/share/ibus-mozc/product_icon.png</icon>
<layout>jp</layout>
<hotkeys></hotkeys>
<rank>0</rank>
</engine>
</engines>
</component>
<component>
<name>org.freedesktop.IBus.Pinyin</name>
<description>Pinyin Component</description>
<version>1.3.10</version>
<license>GPL</license>
<author>Peng Huang <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus-pinyin/ibus-engine-pinyin --ibus</exec>
<textdomain>ibus-pinyin</textdomain>
<observed-paths>
<path mtime="1283775049" >/usr/share/ibus/component/pinyin.xml</path>
</observed-paths>
<engines>
<engine>
<name>pinyin</name>
<longname>Pinyin</longname>
<description>Pinyin input method</description>
<language>zh</language>
<license>GPL</license>
<author>Peng Huang <[email protected]>
BYVoid <[email protected]></author>
<icon>/usr/share/ibus-pinyin/icons/ibus-pinyin.svg</icon>
<layout>us</layout>
<hotkeys></hotkeys>
<rank>99</rank>
</engine>
<engine>
<name>bopomofo</name>
<longname>Bopomofo</longname>
<description>Bopomofo input method</description>
<language>zh</language>
<license>GPL</license>
<author>BYVoid <[email protected]>
Peng Huang <[email protected]></author>
<icon>/usr/share/ibus-pinyin/icons/ibus-bopomofo.svg</icon>
<layout>us</layout>
<hotkeys></hotkeys>
<rank>98</rank>
</engine>
</engines>
</component>
<component>
<name>org.freedesktop.IBus.Anthy</name>
<description>Anthy Component</description>
<version>1.2.1</version>
<license>GPL</license>
<author>Peng Huang <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus-anthy/ibus-engine-anthy --ibus</exec>
<textdomain>ibus-anthy</textdomain>
<observed-paths>
<path mtime="1273457399" >/usr/share/ibus/component/anthy.xml</path>
</observed-paths>
<engines>
<engine>
<name>anthy</name>
<longname>Anthy</longname>
<description>Anthy Input Method</description>
<language>ja</language>
<license>GPL</license>
<author>Peng Huang <[email protected]></author>
<icon>/usr/share/ibus-anthy/icons/ibus-anthy.png</icon>
<layout>jp</layout>
<hotkeys></hotkeys>
<rank>99</rank>
</engine>
</engines>
</component>
<component>
<name>org.freedesktop.IBus.Config</name>
<description>GConf Config Component</description>
<version>1.3.7</version>
<license>GPL</license>
<author>Peng Huang <[email protected]></author>
<homepage>http://code.google.com/p/ibus</homepage>
<exec>/usr/lib/ibus/ibus-gconf</exec>
<textdomain>ibus</textdomain>
<observed-paths>
<path mtime="1282316701" >/usr/share/ibus/component/gconf.xml</path>
</observed-paths>
<engines>
</engines>
</component>
</components>
</ibus-registry>
以上
オフライン
ありがとうございます。ですが一先ずごめんなさい。
GNOME環境内での発症を確認したのはibusのアップデート前(1.3.7-1ubuntu3)でのものなので、まずは先日あったアップデート後(1.3.7-1ubuntu4)でも発症するのかを確認してからにします。(件に関連するアップデートではないと思いますが、副次的に解消していることを少し期待しています)
また、私のところでの発症率がどの程度なのかもちょっとわかってなく、これも前提として必要と思いますので、これも知ってからにします。時間かかりますね……。
(uotoraさんのところでは、短期間での検証で判断されているところから察するに、かなりの頻度だったようで)
とりあえず、10.10環境を継続的に使用してみます。
なお、発症を確認できなかった場合は無投稿という形でかえさせていただくと思います。ご了承ください。
(ちなみに、#13は比較されているところを間違われてますよ。mozcの情報は下の方にあります。ざっと見た限りでは差異はないのでは。[mtimeのところはインストール、アップデートした環境で変化するようです])
オフライン
#13についてはご愛嬌程度に考えてください。
当方は12月11日時点では確実に発生していたものが、12日中は発生無し、効果が有ったものと判断しています。
オフライン
uotoraさん、改めてありがとうございました。
こちらでも頻繁に発生するようになってしまいました。治しても発生を繰り返すいたちごっこで大変な状況です。(これ、疲れる…)
ということで、uotoraさんのアドバイス(+α)を行なってみたのですが、結果は残念ながら効果ありませんでした。
もろもろについてはhttps://forums.ubuntulinux.jp/viewtopic … 252#p73252で。
オフライン
当方においては12月12日以降、ファイルを入れ替え後は実に安定しており一度も例の「侵入禁止」マークアイコンの出現はありません。
オフライン
その後ですが、快適に動作しております。ON・OFFのインジケータですが、キーボードの上に「雲」マークのみの出現と思っていましたが、暫くぶり、サブモニタ
を表示させたら、サブモニタの右下に[「雲」+Mozc・「あ」・「→」・「★」]のインジケータが表示されていましたので、メインモニタの上部パネルに引き上げ表示
するようにしてます。
ON・OFFで[「雲」+Mozc・「あ」・「→」・「★」]と「雲」マークが同時に点灯・消灯してます。また[「雲」+Mozc・「あ」・「→」・「★」]から色々設定が出来ます。
オフライン