Questions tagged [dbus]

D-Bus is a message bus system, which allows client programs to call procedures on a service - basically, the machine-local equivalent to XML-RPC and SOAP.

D-Bus is a message bus system, designed to provide ways for programs to communicate with each other. D-Bus uses remote procedures to allow a client to call methods on a "service", and is conceptually similar to XML-RPC and SOAP. D-Bus, however, is designed for use in applications running on a single system. The FAQ offers a comparison to other well known IPC systems, as well as other general questions.

D-Bus is, in addition to an implementation, a specification - the document itself is freely available. In addition, an Introduction To D-Bus gives a high-level overview of how D-Bus is designed.

D-Bus, although used on POSIX systems (usually Linux and the *BSDs), has been ported to Windows and has been officially added to the specification.

D-Bus related questions will typically be how do I accomplish [X] in D-Bus - D-Bus is technical enough that most any question relating to it will be on topic.

1376 questions
-1
votes
1 answer

wpa_supplicant keeping print message to screen

I am start learning Linux(CentOs 5.5 kernel 2.6.35.13). When I try to install a usb wifi stick(TP-Link TL-WN823N,and "lsusb" will show ID 0bda:8178 Realtek Semiconductor Corp..) It work fine in the window interface( ctrl+shift+F7). But when I…
D.tom
  • 21
  • 2
-1
votes
1 answer

C DBus : Fails when calling method returning string

Cant please someone tell me why the code below crashes when executing, (compilation goes OK) it in rotated X environment 90 to left. DBusGConnection *connection; DBusGProxy *proxy; GError *error = NULL; gchar *name = NULL; …
deimus
  • 9,565
  • 12
  • 63
  • 107
-1
votes
1 answer

high-level IPC library needed

Suppose that we have four process A, B, C, and D. Usually, B-D send packets to A and get a reply from A. (The packet represents a simple command, so it is very small) However, sometimes, 'A' broadcasts an event, so that all of B-D should be…
-1
votes
1 answer

Suspend script doesn't pause media players

I have written a script for Elementary OS that pauses all running media players. This is because the sound may be really loud before suspension. Sadly, I can't get it to properly work. #! /bin/sh # # Copyright (c) Jason Anderson 2014
Ertain
  • 67
  • 11
-1
votes
1 answer

Can you separate programms from D-Bus messages with only one service?

e.g. you have three programs P1, P2, P3 and only one service (e.g. "myservice.from.myprogram"). A constellation can be: Messages between P1 and P2 avoiding P3 Messages between P1 and P3 avoiding P2 Please be so kind to inform if there is no…
Earlybite
  • 137
  • 1
  • 1
  • 11
-1
votes
3 answers

How does menu in linux works?

I would like to know how linux handles applications window menus. I am working on a panel application, but for starters I want to list menu items of currently focused window. Where should I start my research? Thanks TLDR (answer): in linux, every…
Daniel Pecher
  • 204
  • 2
  • 10
-1
votes
1 answer

'ruby-dbus' in TTY terminal

i have the next code: #! /usr/bin/env ruby require 'dbus' bus = DBus::SessionBus.instance If i execute this code from desktop, it's fine. But if i execute the code in a TTY1-6 terminal i get this…
Madh
  • 131
  • 1
  • 12
-1
votes
1 answer

Please recommend a good D-Bus tutorial (Linux C GTK+)

Yes, I have done a search yet found only partly working stuff. It seems to be a real maze. E.g.: Why do they even use g_main_loop_run()? Is it really necessary when the GTK+ program has already entered the main loop by gtk_main()? How should the…
tak
  • 25
  • 4
-2
votes
1 answer

Dbus function with a OUT (sbb) param

I would like to call a DBus function with Python3. I made an introspection on it : The first param is…
Seb
  • 1
-2
votes
1 answer

QDBus send int[]

I am currently starting with QDBus. I am trying to send an int array of data to another programm which will do some calculations on the array and is supposed to send it back afterwards. I tried just sending the array starting adress as an int. I…
Robin B
  • 1,066
  • 1
  • 14
  • 32
-2
votes
1 answer

how to Pidgin , Python , whatsapp?

if we have this code for Pidgin used for msn : #!/usr/bin/python import sys, dbus, gobject; bus = dbus.SessionBus() obj = bus.get_object("im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject") purple = dbus.Interface(obj,…
1 2 3
91
92