xdg-open doesn't use kde4 apps

Bug #928680 reported by Ian on 2012-02-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdg-utils (Ubuntu)
Undecided
Unassigned

Bug Description

I use fluxbox for my window manager and Dolphin (from KDE) for my file manager. Dolphin and Nautilus are set to open PDFs with Okular. But xdg-open doesn't find this association, so it falls back to run-mailcap, which launches Evince.

The reason for this seems to be that ~/.local/share/applications/mimeapps.list has the line

application/pdf=kde4-okularApplication_pdf.desktop;evince.desktop

but the actual desktop file is at

/usr/share/applications/kde4/okularApplication_pdf.desktop

Solution:

xdg-open should try replacing dashes ('-') in file names with slashes ('/').

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers