6

I'm using Calibre and it seems that it uses xdg-open to open files. This, even when tried in terminal, only opens nautilus and the file is selected, but not opened. It doesn't matter if I try to open .cbz or .pdf.

This seems fine: /usr/share/applications/defaults.list

application/x-cbr=evince.desktop
application/x-cbz=evince.desktop

Sure when I open the file in Nautilus it opens, but this approach is quite annoying.

César
  • 807
DeusIX
  • 73

2 Answers2

4

I found a solution to the same problem in an answer for another askubuntu question: https://askubuntu.com/a/39602/1943

Basically you have to set Thunar as default file manager for xfce:

http://ubuntuforums.org/showpost.php?p=10884462&postcount=16

Once you do that, xdg-open and gnome-open will avoid using exo-helper to open nautilus. Somehow gnome and xfce get interwoven.

EDIT: the downside is that now Thunar opens instead of nautilus when opening folders. But I find it less frustrating, on the other hand I could uninstall xfce4 if I really don't want it

mkm
  • 3,239
1

Source: Bug #751374 “Dash won't open files anymore” : Bugs : “unity-place-files” package : Ubuntu

See comment #27 in the source thread. I modified the original commands to use sed.

  1. Remove mime entries containing exo as a normal user.

    sed -i '/exo/d' ~/.local/share/applications/mimeapps.list

  2. Update mime desktop database.

    update-desktop-database ~/.local/share/applications

This helped me fix my own Ubuntu/XFCE install without removing XFCE. You may have to modify more (see source thread), but these commands fixed it in my install.

From what I gather in the source thread, the bug may have been fixed for clean installs.

ENG_ACK
  • 35