TaskOpenURL

Task Description

Open a local file, folder or URL in the user's preferred application

Analysis

Existing solutions

For URLS:

For local trusted content:

Recent SUSE versions include desktop-launch as described on http://lists.freedesktop.org/pipermail/xdg/2004-August/004489.html

Proposed Solution

See xdg-open in the xdg-utils directory of the Portland CVS module.

See the OpenUrl and ExecuteUrl methods in DAPI, part of the Portland CVS module.

Known Problems

The default configuration of KDE has two "profiles" for Konqueror: "File Management" & "Web Browsing". By default, opening it with "kfmclient" will use the "File Management" and executing the command "konqueror" will use the "Web Browsing" profile. To conform to this duality, it would be necessary to choose. depending on the protocol of the URL, which command to use to open the URL.