I've investigated a bit, this is actually gvfs-open bug.
It uses '[ str1 == str2 ]' to compare strings, which is wrong. When /bin/sh is 
a bash it is ok, bash builtin forgives that mistake, but when /bin/sh is a 
symlink to a dash shell, dash's builtin '[' command fails.
Filled bug https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1720199

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1716470

Title:
  xdg-open doesn't respect gnome3 associations

Status in xdg-utils package in Ubuntu:
  Confirmed

Bug description:
  xdg-open internaly uses "gvfs-open --help" to check if gvfs-open is present 
and functional, but gvfs-open is deprecated in new gnome (3.25.90) and 
"gvfs-open --help" returns with error code = 1.
  gvfs-open still can be used to open files and urls, new way to open 
associated files is "gio open ARG".

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: xdg-utils 1.1.1-1ubuntu2
  ProcVersionSignature: Ubuntu 4.12.0-12.13-generic 4.12.8
  Uname: Linux 4.12.0-12-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Mon Sep 11 23:59:06 2017
  InstallationDate: Installed on 2017-04-10 (154 days ago)
  InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Beta amd64 (20170408)
  PackageArchitecture: all
  SourcePackage: xdg-utils
  UpgradeStatus: Upgraded to artful on 2017-09-10 (1 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1716470/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to