How to use a variant dictionary (`a{sv}`) in dbus-send

前端 未结 3 1884
梦如初夏
梦如初夏 2021-02-05 18:59

I have some trouble with dbus-send when using a{sv}

Calling a method with in_signature=\'a{ss}\' seems to work using the followin

3条回答
  •  清歌不尽
    2021-02-05 19:31

    You need to compile dbus-send with the following patch.

    https://chromium-review.googlesource.com/#/c/12323/2/sys-apps/dbus/files/dbus-1.4.12-send-variant-dict.patch

    FYR, I uploaded the patched full source at this link.

    https://gitlab.com/mujicion/dbus-send.git

提交回复
热议问题