Your IP : 216.73.216.48
| Current Path : /etc/profile.d/ |
|
|
| Current File : //etc/profile.d/scim.csh |
#!/bin/csh
# SCIM (Smart Common Input Method platform). This is used to support the
# entering of text in non-US-English languages.
# For SCIM to work, you need to use a UTF-8 locale. Make sure it ends on
# ".UTF-8", not "utf-8"! As an example, you would need to use en_US.UTF-8
# for a US locale (setenv LANG en_US.UTF-8), not en_US.
#
# The locale (LANG variable) is set in /etc/profile.d/lang.csh.
[ -x /usr/bin/scim ]
if ($status == 0) then
# Enable legacy X applications to use scim:
setenv XMODIFIERS "@im=SCIM"
# Let GTK applications like Firefox/Thunderbird use scim as
# default immodule:
setenv GTK_IM_MODULE "scim"
# Enable Qt/KDE applications to use scim (does not work for kde4):
setenv QT_IM_MODULE "scim"
# Make scim start automatically if the "magic key" Ctrl-Space is pressed:
setenv XIM_PROGRAM "/usr/bin/scim -d"
endif
# This ensures scim starts when you logon.
# This will only work if you login through runlevel 4 (graphical login)!!!
# Better is to have it start through Ctrl-Space like configured higher up ^^.
#[ ! `ls /tmp/scim-socket*` ]
#if ($status == 0) then
# /usr/bin/scim -d
#endif