
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
が停止します。
答え2
私の場合、しばらくウェブカメラに問題がありました。システムログを確認すると、ウェブカメラがキーボードとして検出され、接続が失敗することがわかります。 Webカメラからワイヤーを外して問題を解決しました。