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

Konstantin Pavlov git at videolan.org
Wed Feb 21 21:28:07 CET 2018


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

snap: fix open file dialogs when running on Plasma.

(cherry picked from commit b6a295f958fda8c57976f6eb279b769ba8a56e60)

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

 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