Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
dbus-send などを使用してコマンドラインから dbus 信号を送信する方法はありますか?
このユーティリティdbus-sendを使用して、コマンド ラインから D-Bus リクエストを送信できます。
dbus-send
dbus-send --system --type=signal / com.example.signal_name
または、信号でデータを送信したい場合
dbus-send --system --type=signal / com.example.signal_name string:"hello"
qdbusを使用することもできます。ここにまともなチュートリアルがあります。