I'm trying to find out the best way to acquire the unique D-Bus address of an object in the D-Bus system bus using the GDBus library on Linux.
Here are version numbers of the libraries I am using:
# ls /usr/lib |grep -e dbus -e glib -e…
I'm trying to send a two dimendional array of strings over dbus.( I'm using the gdbus api, with gdbus-codegen).
I have defined the dbus interface as follows.
…
I'm trying to set the Interval property of a BLE thermometer, and running into some issues.
I've tested setting properties such as the WimaxEnabled property in NetworkManager:
$ gdbus call --system --dest org.freedesktop.NetworkManager…
With gdbus codegen, a struct/object is defined as a complete type in the xml like below
However, if the same struct is used at multiple places, repeating the type…
I've been asked to create a dbus interface to a program that uses SocketCAN to communicate to a set of control units on a car (that's just background info and not relevant to the question). The original concept was to use a listener interface that…
I created simple dbus service that emits signal with dynamically allocated data argument:
file_name = g_strdup("myfile");
...
...
g_signal_emit_by_name (object, "mysignal", file_name);
g_free(file_name);
In this case signal listeners may receive…
I cannot find any examples on how to use gdbus to get the position and rect size of a window.
I am able to get the window's pid using code from other stackoverflow questions, but there is no way to get that window's current position relative to the…
Under org.Nemo.FileOperations there are methods named: CopyFile, CopyURIs, MoveURIs. How can I use these methods (i am looking for cli commands which use dbus-send or any equivalent)?
My aim is to listen a tcp port for dbus connection from a remote machine. I read the dbus related documents. Offical documents say don't change the default configurations under /usr/share/dbus-1. Instead of changing session.conf, i added a config…
I am developing an application where I want to set network changes detector. In order to achieve that I have tried to create connection to GDBus in background thread, but i cant make it work.
Could someone tell me what I am doing wrong?
This is my…