summaryrefslogtreecommitdiffstats
path: root/misc/xvnkb/profile.d/xvnkb.sh
diff options
context:
space:
mode:
author Binh Nguyen <binhnguyen@fastmail.fm>2010-10-24 22:15:29 -0400
committer Erik Hanson <erik@slackbuilds.org>2010-10-25 07:55:10 -0500
commit455281380ff95cae6c5909257832830d95301f12 (patch)
tree8e826a4761e1407f72b84b99b8d280d0cf372e0d /misc/xvnkb/profile.d/xvnkb.sh
parente1347bc2f46376629fce901bc8f7338d28a9c17e (diff)
downloadslackbuilds-455281380ff95cae6c5909257832830d95301f12.tar.gz
slackbuilds-455281380ff95cae6c5909257832830d95301f12.tar.xz
misc/xvnkb: Added (Vietnamese keyboard input for X-Window)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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