diff --git a/patches/xdg-open-lxqt.patch b/patches/xdg-open-lxqt.patch new file mode 100644 index 0000000..9fdc89d --- /dev/null +++ b/patches/xdg-open-lxqt.patch @@ -0,0 +1,17 @@ +diff --git a/xdg-utils/scripts/xdg-open.in b/xdg-utils/scripts/xdg-open.in +index 9817c5f..b570e98 100644 +--- a/xdg-utils/scripts/xdg-open.in ++++ b/xdg-utils/scripts/xdg-open.in +@@ -435,7 +435,11 @@ open_lxde() + file="$(pwd)/$file" + fi + +- pcmanfm "$file" ++ if [ x"$DE" = x"lxqt" ]; then ++ pcmanfm-qt "$file" ++ else ++ pcmanfm "$file" ++ fi + else + open_generic "$1" + fi diff --git a/xdg-utils.spec b/xdg-utils.spec index d1e45f9..bed6911 100644 --- a/xdg-utils.spec +++ b/xdg-utils.spec @@ -1,6 +1,6 @@ Name: xdg-utils Version: 1.1.2 -Release: alt2 +Release: alt3 Summary: A set of command line tools that assist applications with a variety of desktop integration tasks @@ -19,6 +19,7 @@ Patch6: xdg-su-use-gnomesu-for-xfce-if-available.patch Patch7: xdg-open-fix-ifs-use.patch Patch8: xdg-open-kde5.patch Patch9: xdg-su-kde5.patch +Patch10: xdg-open-lxqt.patch BuildArch: noarch @@ -67,6 +68,7 @@ popd #patch7 -p2 #patch8 -p1 %patch9 -p1 +%patch10 -p2 %build %autoreconf