Skip to content

Cannot open file from gvfs mount

Since the latest update to v0.5.0 I cannot open files from a gvfs mount anymore.

The following methods all result in the error message:

The URI “sftp://somehost/file.txt” is not an absolute URI using the “file” scheme

  • opening using file manager
  • mousepad /run/user/1000/gvfs/sftp\:host\=somehost/file.txt
  • mousepad sftp://somehost/file.txt

I tried to trace the error. It seems to exist since 0942edb2, where paths are converted to URIs and back, whereas the back-conversion only supports the file: scheme.