aboutsummaryrefslogtreecommitdiff
path: root/misc/ibus/profile.d/ibus.csh
blob: 21eb33453efef6859d6b3cfe1f8e92a77147cf60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/csh

# ibus - Intelligent Input Bus for Linux / Unix OS. This is used to support the
# entering of text in non-US-English languages.

[ -x /usr/bin/ibus-daemon ]
if ($status == 0) then
  # Enable legacy X applications to use ibus:
  setenv XMODIFIERS="@im=ibus"
  # Enable Qt/KDE applications to use ibus.
  setenv QT_IM_MODULE="ibus"
  # Enable GTK applications to use ibus:
  setenv GTK_IM_MODULE="ibus"
  # Make ibus start automatically if the "magic key" Ctrl-Space is pressed:
  setenv XIM_PROGRAM="/usr/bin/ibus-daemon -xdrt"
endif