Network-manager dbus slot

Does the network-manager snap provide a dbus slot so that my app can control it directly? Right now I’m bundling network manager into my snap, but that seems a little unnecessary. I’d rather just send it commands over dbus.

The slot name + some examples would be appreciated. I can’t find any info on it.

Is there something you want to do that connecting to the existing network-manager slot doesn’t allow?

The NM snap provides a plug that can be used by other application (and “implements” a slot). What you would need in your application is to connect to NM’s plug (network-manager interface). An example of that: .

That will let you send dBus messages from your application to the NM daemon installed by the network-manager snap.