[vlc-commits] snap: fix open file dialogs when running on Plasma.

Konstantin Pavlov git at videolan.org
Wed Feb 21 21:22:48 CET 2018


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Wed Feb 21 17:47:22 2018 +0300| [b6a295f958fda8c57976f6eb279b769ba8a56e60] | committer: Konstantin Pavlov

snap: fix open file dialogs when running on Plasma.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b6a295f958fda8c57976f6eb279b769ba8a56e60
---

 extras/package/snap/vlc-snap-wrapper.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/extras/package/snap/vlc-snap-wrapper.sh b/extras/package/snap/vlc-snap-wrapper.sh
index 562dd12534..19d6231b66 100755
--- a/extras/package/snap/vlc-snap-wrapper.sh
+++ b/extras/package/snap/vlc-snap-wrapper.sh
@@ -25,4 +25,10 @@ fi
 
 export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/usr/lib/vlc"
 
+# KDE specific
+## Do not start slaves through klauncher but fork them directly.
+export KDE_FORK_SLAVES=1
+## Neon PATCH! make KIO look for slaves in a dynamic location depending on $SNAP
+export KF5_LIBEXEC_DIR=$SNAP/usr/lib/$ARCH/libexec/kf5
+
 exec $SNAP/usr/bin/vlc "$@"



More information about the vlc-commits mailing list