Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Mantas Mikulėnas
On Wed, Aug 19, 2015 at 2:55 PM, Ian Geiser igei...@devonit.com wrote: Greetings, I am struggling with search queries here so I need to ask this outright. what is the role of dbus going forward? Is dbus the preferred way going forward? Or should things really be using sd-bus.h instead? D-Bus

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Ian Geiser
On Wed, Aug 19, 2015 at 2:55 PM, Ian Geiser igei...@devonit.commailto:igei...@devonit.com wrote: Greetings, I am struggling with search queries here so I need to ask this outright. what is the role of dbus going forward? Is dbus the preferred way going forward? Or should things really be

[systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Ian Geiser
Greetings, I am struggling with search queries here so I need to ask this outright. what is the role of dbus going forward? Is dbus the preferred way going forward? Or should things really be using sd-bus.h instead? I manage an embedded product that leverages system heavily at the system

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Simon McVittie
On 19/08/15 14:12, Mantas Mikulėnas wrote: sd-bus has better performance and native kdbus support (and a better API than e.g. dbus-glib), but if you're writing programs in GTK or Qt or EFL, then you'll still want GDBus or QtDBus or Eldbus. To clarify, *everything* has a better API than

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Mantas Mikulėnas
On Wed, Aug 19, 2015 at 4:47 PM, Ian Geiser igei...@devonit.com wrote: On Wed, Aug 19, 2015 at 2:55 PM, Ian Geiser igei...@devonit.com wrote: Greetings, I am struggling with search queries here so I need to ask this outright. what is the role of dbus going forward? Is dbus the preferred

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Ian Geiser
On 08/19/2015 11:32 AM, Mantas Mikulėnas wrote: On Wed, Aug 19, 2015 at 4:47 PM, Ian Geiser igei...@devonit.com mailto:igei...@devonit.com wrote: ...snip... Not quite; …/systemd/private is not even a bus – it's a direct peer-to-peer connection to systemd, providing just that one service.

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Mantas Mikulėnas
On Wed, Aug 19, 2015 at 7:13 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 19/08/15 14:12, Mantas Mikulėnas wrote: The user bus address is ... tried by default in libdbus 1.9, GLib 2.45, and sd-bus; so you don't need to set DBUS_SESSION_BUS_ADDRESS at all, unless you need

Re: [systemd-devel] Systemd --user and the role of DBUS API

2015-08-19 Thread Mantas Mikulėnas
On Wed, Aug 19, 2015 at 7:48 PM, Michał Zegan webczat_...@poczta.onet.pl wrote: I may not understand something, but how does it work when I have things like at-spi2-registryd running on my session? I cannot start one local and one remote gui session, for example? Of course I mean the user bus.