![]() yaml configuration file for this snap app.Īs per Bernard Wei' answer, snap files are mounted as read-only so to modify them, you will need to unsquash it, modify the files and then re-make the squashfs file. We will be adding removable-media after x11 in the. Note that the above output does not show the removable-media interface, but it does show a list of other interfaces started with cups-control and ending with x11. Check to see which connections are enabled using snap connections freeplane-mindmapping, which should result is something like:.If you get the error message error: snap "freeplane-mindmapping" has no plug named "removable-media", then emovable-media plug is not enabled in that snap app.If you do not get any error messages, then removable-media is enabled and STOP HERE: your work is done! Try connecting to removable media using sudo snap connect freeplane-mindmapping:removable-media.This showed the snap name is freeplane-mindmapping with version number. Search for the exact installed snap app name using snap list | grep freeplane.Part 1: Check for removable-media support I will use freeplane in the instructions below - please replace it with the equivalent for your snap app. I had to do this for the freeplane (mind-mapping app) snap and a similar process should work for other snaps as well. If you are unlucky enough to need a snap that does not have removable-media support, then you can try adding it as per the instructions below. The snap app needs to have removable-media plug enabled in order to access USB storage and other drives. If an application falls into one of these categories and removable-media is not automatically connected to the application, please contact the publisher and ask them to request an auto-connection to removable-media. Media recorders such as a screencast program, a webcam program, OBS Studio or a podcast recording application.Media players/viewers such as video players like VLC media player or image viewing programs.Media editors such as photo editors like gimp, video editors like OpenToonz or audio editors like Audacity.Major browsers such as Brave, Firefox and Chromium.This is allowed for applications that fall into the following categories. It is possible for publishers to request that their Snap is automatically connected to the removable-media interface. Most Snaps show how to contact the publisher run snap info snap-name and look at the contact field for an email address or a URL. In this case, you should contact the publisher and ask them to add the removable-media interface to the plugs of the Snap. This means the publisher of the package has not indicated that the application can use removable media. Sometimes, this command fails with the following message: error: snap "snap-name" has no plug named "removable-media" If not, you can manually connect it using the following command: snap connect snap-name:removable-media Some snaps are automatically connected to it. To access USB storage from a snap, it needs a connection to removable-media. ![]() The bug about snap command named " snap should provide functionality to find packages with needed plug or connector" was filed to launchpad as bug 1776938. It is hard to find packages by supported plugs - so I created issue "Add ability for parametric Snap search with filters (plugs, such as removable-media and so on)" about snapcraft.io site. So if the application does not have auto-connect of removable-media we need to connect it manually with: snap connect some-snap-name:removable-mediaīut not all applications have this plug/interface in YAML-manifest. ![]() One can find other Snaps released by SnapCrafters with the following GitHub search link.
0 Comments
Leave a Reply. |