If I open a PDF document inside evince (GNOME Document Viewer), how do I get the current page number using DBus?
using zathura I could get the page number using the following command:
busctl get-property --user org.pwmt.zathura.PID-1123767 \
…
Is there any other way to set the properties of the interface in gbdus besides using org.freedesktop.DBus.Properties:
g_dbus_connection_call_sync(conn,
"org.example",
…
I am using BLUEZ and GLIB/D-BUS to connect 2 Raspberry Pi (also a laptop and a Raspberry Pi).
So far I could make fair progress.
EDIT: on good advises from @ukBaz I am using a python client from my laptop, and my C code server on the Raspberry…
I'm implementing C application which should be capable of connecting to external Wi-Fi protected access points using ConnMan via GDbus. So far I dig up that the Agent must be registered with RequestInput callback on "net.connman.Agent" interface in…
I am migrating code from dbus-glib to GDBus as the former is deprecated.
I am not able to find an equivalent function for dbus_connection_setup_with_g_main() in…
The function g_dbus_connection_signal_subscribe works great for telling me when new DBus objects appear (or vanish) with InterfacesAdded signal (or InterfacesRemoved signal). But I need for to know about pre-existing objects/interfaces.
I wrote the…
I was trying to send different datatypes over dbus using gdbus. I am stuck at sending the following datatype : a{ias}. Does anyone send me a snippet or any ways to approach this problem?
I am new to using DBUS and would like to compile a program that uses glib-2.0.
However I get an error. Here is my output from calling make:
g++ -I. -Wall -std=c++11 main.c `pkg-config --cflags --libs glib-2.0 dbus-1
dbus-glib-1` -o main.o
main.c:…
I want to call method RegisterAgent with gdbus but I can't find the proper syntax to do so.
Introspecting on /org/bluez with this command
$ gdbus introspect --system --dest org.bluez --object-path /org/bluez --recurse
shows that method…
I develop a small program in Python3 to test the level of my battery and send a notification when it exceeds a threshold.
This my code:
#!/usr/bin/env python3
import configparser, signal
from subprocess import run
from sys import exit
from time…
I wrote a simple DBus server in Linux using Qt's QDBus. It is a very small amount of code and the core of it is here:
InterfaceDescription::InterfaceDescription()
{
new ifadapter(this); // Cleans itself up
qDebug() << "Creating";
…