slackbuilds_ponce/misc/ibus/profile.d/ibus.csh
crocket 38eda82fb7 misc/ibus: Fixed incorrect syntax in csh profile script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-03-27 10:38:37 -05:00

17 lines
546 B
Tcsh

#!/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