cups-control is missing from connections list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Medium
|
Unassigned |
Bug Description
In the process of figuring out why brave doesn't print. I followed this guide to inform me how snaps work.
https:/
(cups-control actually shows up in this list)
I was intuitively looking for services named "lpr", or "printing", or something with the string "cups" in it. However on my 18.04 system, cups doesn't show up as an available connection.
ppetraki@
It was only until after I knew what the answer looked like was I able to allow brave to print.
Now "cups-control" shows up as an option since I've made the connection.
ppetraki@
cups-control brave:cups-control :cups-control manual
How is someone supposed to be able to reason their way through the problem if snapd is hiding the very connections you need to do the job?
'snap connections' only shows connected interfaces in the system (skips unconnected ones of the system, even if --all flag is given).
However, if you give it brave as an argument, it gives a hint:
$ snap connections brave icon-themes] brave:icon-themes gtk-common- themes: icon-themes - sound-themes] brave:sound-themes gtk-common- themes: sound-themes -
Interface Plug Slot Notes
content[
content[
cups-control brave:cups-control - -
...
It also reports cups-control as potential candidate if you say '--all', which also reports unconnected slots of all installed snaps:
$ snap connections --all sandbox :browser-support - themes: gtk-2-themes - gtk-3-themes] brave:gtk-3-themes gtk-common- themes: gtk-3-themes -
Interface Plug Slot Notes
avahi-observe brave:avahi-observe - -
browser-support brave:browser-
camera brave:camera - -
content - gtk-common-
content[
cups-control brave:cups-control - -
.....
I think what we're missing is a better help from 'snap connections --help'. Without brave installed in this example, the only way to learn about cups-control in the system is with 'snap connections system' ('snap connections --all' hides unconnected system slots by design), or with 'snap interfaces' (which is still present but deprecated).