aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvas Vasuki विश्वासः2020-03-04 21:14:22 +0530
committerGitHub2020-03-04 21:14:22 +0530
commit14bb775c1164a60f8cfcd383d58dc01d7c780c9f (patch)
treef0f312270b4c7cf55092fabe2dc3b0c96c98f2aa
parent472f36a669ed591f9c9c5eb56d8bc78a797edcb7 (diff)
downloadaur-14bb775c1164a60f8cfcd383d58dc01d7c780c9f.tar.gz
Create 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 000000000000..a9a3e9c1bf07
--- /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