This bug was fixed in the package xdg-utils - 1.1.0~rc3+git20150907-1ubuntu2
--------------- xdg-utils (1.1.0~rc3+git20150907-1ubuntu2) wily; urgency=medium [ MestreLion <li...@rodrigosilva.com> ] * debian/patches/filenames-with-spaces.patch: - Fix xdg-icon-resource not handling files with spaces (LP: #1488787) -- Michael Terry <mte...@ubuntu.com> Wed, 16 Sep 2015 16:31:44 -0400 ** Changed in: xdg-utils (Ubuntu) Status: New => Fix Released -- 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/1488787 Title: xdg-icon-resource does not support filenames with spaces Status in Xdg-utils: Confirmed Status in xdg-utils package in Ubuntu: Fix Released Bug description: As reported in an upstream bug, xdg-icon-resource does not handle paths (either filenames or dir names) containing spaces. Example: ~ $ xdg-icon-resource install --novendor --size 48 "./foo bar.png" foobar /usr/bin/xdg-icon-resource: 790: [: /home/xxx/foo: unexpected operator A patch is provided to be applied downstream in Ubuntu as a new upstream release of xdg-utils might take a while (the last one is from 2011!) To manage notifications about this bug go to: https://bugs.launchpad.net/xdg-utils/+bug/1488787/+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