Bug#509437: evince: Cannot easily open file with name containing ':' from the command-line

Josselin Mouette joss at debian.org
Fri Jan 23 17:36:45 UTC 2009


Le lundi 22 décembre 2008 à 03:45 -0800, Josh Triplett a écrit :
> I tried to open a postscript file named "f498e23-979-hd\:-hc.ps" on the
> command-line, and got an error message from evince.  I managed to puzzle
> out that evince choked on the colon.  (It would have helped if it said
> something like "unknown URI scheme 'f498e23-979-hd:'".)  Using the open
> dialog inside evince, or prefixing the name with ./ , convinces evince
> to open the file rather than guessing at a URI scheme.

This is not a problem limited to evince. Any application that accepts
URIs (exec=foo %U in foo.desktop) is bound to fail when you load such
files from the command line.

I don’t know how it is possible to fix this. Maybe the shell completion
could prepend a ./ in this case?

-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090123/ab0c2573/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list