On 15 October 2015 at 08:47, Per Olofsson <pe...@debian.org> wrote: > Which desktop environment (if any) are you using?
Cinnamon, as you see below: > Could you run > > sh -x /usr/bin/xdg-open somefile.djvu Below. More testing shows that the problem only occurs when the djvu has more than one page. With single page djvu files, everything is as it should be. What is also strange, is that although for both single and multipage djvu files, evince-previewer is run, if I just run evince-previewer manually on the multipage djvu, it is also displayed ok. + check_common_commands multi.djvu + [ 1 -gt 0 ] + parm=multi.djvu + shift + [ 0 -gt 0 ] + [ -z ] + unset XDG_UTILS_DEBUG_LEVEL + [ 0 -lt 1 ] + xdg_redirect_output= > /dev/null 2> /dev/null + [ xmulti.djvu != x ] + url= + [ 1 -gt 0 ] + parm=multi.djvu + shift + [ -n ] + url=multi.djvu + [ 0 -gt 0 ] + [ -z multi.djvu ] + detectDE + unset GREP_OPTIONS + [ -n X-Cinnamon ] + DE=cinnamon + [ xcinnamon = x ] + [ xcinnamon = x ] + [ xcinnamon = x ] + [ xcinnamon = xgnome ] + [ xcinnamon = x ] + DEBUG 2 Selected DE cinnamon + [ -z ] + return 0 + open_gnome3 multi.djvu + gvfs-open --help + open_generic multi.djvu + is_file_url_or_path multi.djvu + echo multi.djvu + grep -q ^file:// + echo multi.djvu + egrep -q ^[[:alpha:]+\.\-]+: + return 0 + file_url_to_path multi.djvu + local file=multi.djvu + echo multi.djvu + grep -q ^file:/// + echo multi.djvu + local file=multi.djvu + check_input_file multi.djvu + [ ! -e multi.djvu ] + [ ! -r multi.djvu ] + [ -n :0 ] + xdg-mime query filetype multi.djvu + sed s/;.*// + filetype= + open_generic_xdg_mime multi.djvu + filetype= + xdg-mime query default xdg-mime: mimetype argument missing Try 'xdg-mime --help' for more information. + default= + [ -n ] + which run-mailcap + run-mailcap --action=view multi.djvu (evince-previewer:3460): EvinceView-CRITICAL **: ev_page_cache_get_form_field_mapping: assertion 'EV_IS_PAGE_CACHE (cache)' failed + [ 0 -eq 0 ] + exit_success + [ 0 -gt 0 ] + exit 0