summaryrefslogtreecommitdiffstats
path: root/system/hime/hime.csh
diff options
context:
space:
mode:
author YuLin Wu2014-02-11 12:01:15 +0100
committer Erik Hanson2014-02-11 19:15:09 +0100
commita197ce3276ea1303b4c19d3ab22b48538bce85c5 (patch)
treecf597ed4523dc31f8a51db0456f0063aaf6af462 /system/hime/hime.csh
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.csh')
-rw-r--r--system/hime/hime.csh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/hime/hime.csh b/system/hime/hime.csh
new file mode 100644
index 0000000000..825b8b21d4
--- /dev/null
+++ b/system/hime/hime.csh
@@ -0,0 +1,13 @@
+#!/bin/csh
+
+# hime-ime is a chinese-input-method.
+
+[ -x /usr/bin/hime ]
+if ($status == 0) then
+ setenv XMODIFIERS "@im=hime"
+ setenv GTK_IM_MODULE "hime"
+ setenv QT_IM_MODULE "hime"
+ setenv XIM_PROGRAM "/usr/bin/hime -d"
+endif
+
+# /usr/bin/hime -d &