我已经安装了Ubuntu 18.04 LTS。
我将USB闪存插入笔记本电脑。它已自动安装到/ media / username / DISKLABEL并在Nautilus中打开。我可以读写对象。
如何从作为Snap安装的应用程序访问它?
我尝试了以下应用程序如按扣gedit
,arduino-mhall119
,organize-my-files
。如果我导航到/ media文件夹,所有这些都向我显示错误:
活动的Snap 接口的输出如下:
$ snap interfaces | grep -v ".*-$"
Slot Plug
:browser-support organize-my-files
:core-support core:core-support-plug
:cups-control gedit
:desktop gedit,organize-my-files
:desktop-legacy gedit,organize-my-files
:gsettings gedit,organize-my-files
:home arduino-mhall119,gedit,organize-my-files
:network arduino-mhall119,gedit,organize-my-files,pulsemixer
:opengl organize-my-files
:pulseaudio organize-my-files,pulsemixer
:unity7 arduino-mhall119,gedit,organize-my-files
:wayland gedit
:x11 arduino-mhall119,organize-my-files,pulsemixer
gnome-3-26-1604:gnome-3-26-1604 gedit
gtk-common-themes:gtk3-themes gedit
gtk-common-themes:icon-themes gedit
gtk-common-themes:sound-themes gedit
- arduino-mhall119:serial-port
- gedit:avahi-observe
- gedit:mount-observe
更新:
- 将mount-observe连接到Gedit
snap connect gedit:mount-observe
并没有帮助。 - 似乎我们需要带有
removable-media
接口支持的特殊Snap 。
snap connect some-snap-name:removable-media