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

Package:
evince
Source:
evince
Description:
Document (PostScript, PDF) viewer
Submitter:
Josh Triplett
Date:
2025-07-14 09:15:01 UTC
Severity:
normal
Tags:
#509437#3
Date:
2008-12-22 11:45:43 UTC
From:
To:
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.

- Josh Triplett

#509437#8
Date:
2009-01-23 17:36:45 UTC
From:
To:
Le lundi 22 décembre 2008 à 03:45 -0800, Josh Triplett a écrit :

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?