summaryrefslogtreecommitdiff
path: root/misc/xvnkb/profile.d/xvnkb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xvnkb/profile.d/xvnkb.sh')
-rw-r--r--misc/xvnkb/profile.d/xvnkb.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/xvnkb/profile.d/xvnkb.sh b/misc/xvnkb/profile.d/xvnkb.sh
new file mode 100644
index 0000000000..4bebaabd55
--- /dev/null
+++ b/misc/xvnkb/profile.d/xvnkb.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# xvnkb.so need to be preloaded for xvnkb to work
+if [ ! "$LD_PRELOAD" = "" ]; then
+ LD_PRELOAD=$LD_PRELOAD:/usr/lib/xvnkb.so
+else
+ LD_PRELOAD=/usr/lib/xvnkb.so
+fi
+export LD_PRELOAD