2010-05-13 00:59:27 +02:00
|
|
|
#!/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:
|
2011-03-27 17:38:37 +02:00
|
|
|
setenv XMODIFIERS "@im=ibus"
|
2010-05-13 00:59:27 +02:00
|
|
|
# Enable Qt/KDE applications to use ibus.
|
2011-03-27 17:38:37 +02:00
|
|
|
setenv QT_IM_MODULE "ibus"
|
2010-05-13 00:59:27 +02:00
|
|
|
# Enable GTK applications to use ibus:
|
2011-03-27 17:38:37 +02:00
|
|
|
setenv GTK_IM_MODULE "ibus"
|
2010-05-13 00:59:27 +02:00
|
|
|
# Make ibus start automatically if the "magic key" Ctrl-Space is pressed:
|
2011-03-27 17:38:37 +02:00
|
|
|
setenv XIM_PROGRAM "/usr/bin/ibus-daemon -xdrt"
|
2010-05-13 00:59:27 +02:00
|
|
|
endif
|
|
|
|
|