listing all the interfaces / sockets?

Bill Janssen janssen at parc.com
Thu Jun 30 18:38:33 UTC 2016


Mark Shuttleworth <mark at ubuntu.com> wrote:

> On 30/06/16 17:12, Zygmunt Krynicki wrote:
> >
> >> How would I list all the defined interfaces?  How would I know what
> >> parts export which sockets?
> >
> 
> 'snap interfaces' is a useful starting point.

Thanks.

I get this:

$ snap interfaces
Slot                 Plug
:cups-control        -
:firewall-control    -
:gsettings           -
:home                goodstuff
:locale-control      -
:log-observe         -
:mount-observe       -
:network             goodstuff
:network-bind        -
:network-control     -
:network-manager     -
:network-observe     -
:opengl              goodstuff
:pulseaudio          -
:snapd-control       -
:system-observe      -
:timeserver-control  -
:timezone-control    -
:unity7              -
:x11                 -
$

Looks like Zygmunt is right; I don't see anything that looks like
secure-storage or secret-service.

Hmmm, question:  if I'm using :opengl, do I also need to use either
:unity7 or :x11?

What would be nice is a way to list the CORBA IDL (or some equivalent)
for each interface.

Bill

> 'snap interfaces -a' might
> for example show you available but unused slots / plugs.

$ snap interfaces -a
error: unknown flag `a'
$

> 
> Mark




More information about the Snapcraft mailing list