NameOwnerChanged イベントが毎秒 null 宛先に送信されます。

NameOwnerChanged イベントが毎秒 null 宛先に送信されます。

Running dbus-monitor --system、次のような多くのイベントを表示します。

signal time=1567100862.252579 sender=org.freedesktop.DBus -> destination=(null destination) serial=467227 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
  string ":1.381958"
  string ":1.381958"
  string ""
signal time=1567100863.303822 sender=org.freedesktop.DBus -> destination=(null destination) serial=467228 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
  string ":1.381959"
  string ""
  string ":1.381959"
signal time=1567100863.311397 sender=org.freedesktop.DBus -> destination=(null destination) serial=467229 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
  string ":1.381959"
  string ":1.381959"
  string ""
signal time=1567100863.315985 sender=org.freedesktop.DBus -> destination=(null destination) serial=467230 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
  string ":1.381960"
  string ""
  string ":1.381960"
signal time=1567100863.322069 sender=org.freedesktop.DBus -> destination=(null destination) serial=467231 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
  string ":1.381960"
  string ":1.381960"
  string ""

おおよそ毎秒ごとに新しいイベントが発生します。

通話前に、これらのイベントは発生しないことがわかりましたstartx

私はArch Linux 5.2.9でi3を実行しています。

これは一種のタイマーまたはハートビートDBusが使用するものですか?

ベストアンサー1

これらのイベントの原因は私のi3ステータスバーです。に定義されています~/.config/i3/config

status_command while ~/.config/i3/status.sh; do sleep 1; done

中でstatus.sh私は電話します。upowerノートパソコンの現在のバッテリー情報を確認してください。

呼び出しを削除するとupowerイベントNameOwnerChangedが停止します。

おすすめ記事