question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: No user prompt for snap interfaces that require manual connection

See original GitHub issue

Avoid duplicates

  • I have searched the issues tracker for a bug report similar to mine, in vain

Ferdium Version

6.0.0-nightly-alphrag.52

What Operating System are you using?

Other Linux

Operating System Version

Arch Linux x86_64 5.17.9-arch1-1

What arch are you using?

x64

Last Known Working Ferdium version

none

Expected Behavior

Snap plugs (camera & audio-record) should auto-connect to improve the user experience. When integrating services that use webcam or voice services, these can not be enabled until the user manually runs interface connect for Snap versions of ferdium.

Actual Behavior

Snap plugs (camera & audio-record) require manual connection using snap connect ferdium:camera snap connect ferdium:audio-record EDIT ADD: removeable-media interface added in #227

Steps to reproduce

  1. Install ferdium snap (edge or beta)
  2. run snap connections --all | grep ferdium
  3. Slots for camera & audio-record show -

Debug link

No response

Screenshots

No response

Additional information

The problem was initially outlined in “Additional Information” #214.

This should be addressed by requesting auto-connection from snapcraft reviewers. Ref: https://snapcraft.io/docs/process-for-aliases-auto-connections-and-tracks

Options:

  • ~~Requester creates a forum post in the store-requests category and makes case for change. https://forum.snapcraft.io/c/store-requests~~
  • ~~If auto-connection is not granted, ~~we can have the snap check if the interface is connected via snapctl is-connected <iface> and instruct the user to use the snap connect CLI command or connect via the snap-store/gnome-software GUI.

Once a solution is achieved, the connect commands should be removed from the website download instructions (for snap) https://github.com/ferdium/website/blob/b8db9ae4ac73e6e94b12a50976f3fe3380c7ecf6/pages/download.tsx#L55

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
NathanaelGandhicommented, Jul 8, 2022

@SpecialAro haha yeah, I’m not on that anymore. Bounced around a few different versions, now on the 6.0.0-nightly.92 snap

1reaction
SpecialArocommented, Jul 1, 2022

@NathanaelGandhi , are you using 6.0.0-nightly-alphrag.52 ? You should be using the official version 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Interface management | Snapcraft documentation
Interfaces not connected automatically require the user to make a manual connection (see below), such as the camera, removable-media and audio-record interfaces ......
Read more >
How to connect non-auto-connect snap interfaces at daemon ...
I'm very eager to find a way to connect these 'non-auto' plugs through some other mechanism.
Read more >
A guide to snap permissions and interfaces - Ubuntu
When connecting an interface, the user is prompted to authenticate as an administrator to ensure interface connections cannot be made by users ......
Read more >
Problem with configuring python to use the SNAP-Python ...
Any time I try to follow the instructions that are on the website I have an error when it comes to the snappy...
Read more >
interface connection · Issue #3 · mmtrt/wine-platform - GitHub
I will migrate all my snaps to use new wine platform snaps though I ... not auto connect it as it did for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found