Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Fix a bug in KDE with xdg-open, use kioclient instead of kde-open for
Browse files Browse the repository at this point in the history
all files, so that .desktop ones open up the app properly
  • Loading branch information
Kris Moore committed Nov 27, 2013
1 parent a5331a7 commit e66bf9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src-sh/pc-extractoverlay/ports-overlay/usr/local/bin/xdg-open
Expand Up @@ -355,8 +355,9 @@ first_word()

open_kde()
{
if kde-open -v 2>/dev/null 1>&2; then
kde-open "$1"

if kioclient -v 2>/dev/null 1>&2; then
kioclient exec "$1"
else
if [ x"$KDE_SESSION_VERSION" = x"4" ]; then
kfmclient openURL "$1"
Expand Down

0 comments on commit e66bf9e

Please sign in to comment.