summaryrefslogtreecommitdiff
path: root/system/hime/hime.sh
diff options
context:
space:
mode:
authorYuLin Wu <drm343@gmail.com>2014-02-11 18:01:15 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-11 12:15:09 -0600
commita197ce3276ea1303b4c19d3ab22b48538bce85c5 (patch)
treecf597ed4523dc31f8a51db0456f0063aaf6af462 /system/hime/hime.sh
parente9b5cc6b7b2a629a19bce75d3ff6389d0ceabd21 (diff)
downloadslackbuilds-a197ce3276ea1303b4c19d3ab22b48538bce85c5.tar.gz
system/hime: Added (input method).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/hime/hime.sh')
-rw-r--r--system/hime/hime.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/hime/hime.sh b/system/hime/hime.sh
new file mode 100644
index 0000000000..75815d15f2
--- /dev/null
+++ b/system/hime/hime.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# hime-ime is a chinese-input-method.
+
+if [ -x /usr/bin/hime ]; then
+ export XMODIFIERS="@im=hime"
+ export GTK_IM_MODULE="hime"
+ export QT_IM_MODULE="hime"
+ export XIM_PROGRAM="/usr/bin/hime -d"
+fi
+
+# /usr/bin/hime -d &