Questions tagged [dbus-python]

20 questions
0
votes
1 answer

Send nested containers on dbus via ssh without gdbus

I need to send a message to a method with signature (bbb). Monitoring the system calls, I see that the datatype sent to this method is variant:struct. I am able to send simple, not nested, data types with DBUS_SEND = ["dbus-send", "--system",…
Vyacheslav
  • 113
  • 1
  • 9
0
votes
1 answer

using dbus and polkit to run a root privilege python service that calls a root script

I have written a python script that downloads deb files from launchpad, and then calls out to a shell script to use alien to convert the debs to rpms. The shell script uses alien, and so it needs to be run as root. The program uses a thread pool to…
miller the gorilla
  • 860
  • 1
  • 7
  • 19
0
votes
1 answer

PyGObject, dbus python and metaclasses

I want to subclass two python classes: one from PyGObject and one from python3-dbus: import gi from gi.repository import GObject import dbus.service class Test(GObject.Object, dbus.service.Object): pass However I'm receiving following error: $…
Kamil Zaripov
  • 904
  • 11
  • 33
0
votes
0 answers

Interprocess notification replacement using dbus-python

I'm trying to set up notifications for brightness controls that are replaced immediately when a new notification is sent. I've managed to create a test to get this working within the same python process/script but if a new process is run the…
sharktamer
  • 126
  • 9
0
votes
2 answers

ImportError: No module named dbus

I installed Python2.7.12, installed dbus-python-1.2.4, suggesting that the installation is successful, but still can not be used, why? Processing dependencies for dbus-python==1.2.4 Finished processing dependencies for dbus-python==1.2.4 Use…
Donnie
  • 67
  • 8
1
2