Execute a specific method passing arguments and display the returned value

qdbus

  • Inter-Process Communication (IPC) and Remote Procedure Calling (RPC) mechanism originally developed for Linux.
    More information: <https://doc.qt.io/qt-5/qtdbus-index.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

qdbus {{service_name}} {{/path/to/object}} {{method_name}} {{argument1}} {{argument2}}

click the source code to copy install qdbus on any operating system with command-not-found.com