Xdg-open should use kde-open instead of kfmclient

Bug #545044 reported by Ulrik Mikaelsson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xdg-utils (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xdg-utils

In /usr/bin/xdg-open, open_kde attempts to use the kfmclient binary to open the provided URI. Kfmclient is according to Ubuntu package database (http://packages.ubuntu.com/search?searchon=contents&keywords=kfmclient&mode=exactfilename&suite=lucid&arch=any), only available in the konqueror package, and in the kdebase-dbg (only in PATH from the Konqueror package).

Neither of these two packages is a natural requirement for basic xdg-open functionality under a KDE-environment. Currently, unless the user has Konqueror installed, xdg-open falls back to open_generic sidestepping any KDE-configs.

However, KDE does have a similar utility, kde-open, which does the same thing as xdg-open, and should be used instead of kfmclient.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xdg-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Francesco Belladonna (fire-dragon-dol) wrote :

If you need a temporary fix to this issue to get xdg-open to work (lot of tools depend on it), I recommend exporting the environment variable KDE_SESSION_VERSION=5 (or 4 or 6 or whatever is your KDE version). Fixes the problem (this environment variable is entirely missing in my installation)

Revision history for this message
Nicholas Guriev (mymedia) wrote :

In latest KUbuntu live image, that envioronment variable is set out-of-box, and so xdg-utils correctly recognize KDE5, in particular, xdg-open uses kde-open5. I think therefore the bug may be considered fixed.

Changed in xdg-utils (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.