summarylogtreecommitdiffstats
path: root/ime.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ime.sh')
-rw-r--r--ime.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/ime.sh b/ime.sh
new file mode 100644
index 00000000000..a9a3e9c1bf0
--- /dev/null
+++ b/ime.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# To be copied to /etc/profile.d/ime.sh
+
+# Identify fcitx as a input module for both GTK and QT apps
+XMODIFIERS=@im=fcitx
+GTK_IM_MODULE=fcitx
+QT_IM_MODULE=fcitx
+
+export XMODIFIERS GTK_IM_MODULE QT_IM_MODULE
+echo we set XMODIFIERS GTK_IM_MODULE QT_IM_MODULE in profile.d