aboutsummaryrefslogtreecommitdiff
path: root/misc/xvnkb/profile.d/xvnkb.csh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xvnkb/profile.d/xvnkb.csh')
-rw-r--r--misc/xvnkb/profile.d/xvnkb.csh7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/xvnkb/profile.d/xvnkb.csh b/misc/xvnkb/profile.d/xvnkb.csh
new file mode 100644
index 0000000000000..fb54b48630990
--- /dev/null
+++ b/misc/xvnkb/profile.d/xvnkb.csh
@@ -0,0 +1,7 @@
+#!/bin/csh
+# xvnkb.so need to be preloaded for xvnkb to work
+if ( $?LD_PRELOAD ) then
+ setenv LD_PRELOAD ${LD_PRELOAD}:/usr/lib/xvnkb.so
+else
+ setenv LD_PRELOAD /usr/lib/xvnkb.so
+endif