Files
gcin/xim.d-gcin
Ray chen 9ab5f9e6d3 Accepting request 208036 from home:swyear:branches:M17N
- fix gcin can't over_the_spot, 'cause libreoffice-gnome's lib name changed
  remove the test

OBS-URL: https://build.opensuse.org/request/show/208036
OBS-URL: https://build.opensuse.org/package/show/M17N/gcin?expand=0&rev=49
2013-11-23 14:56:17 +00:00

22 lines
462 B
Plaintext

if ! type -p gcin > /dev/null 2>&1 ; then
echo "gcin is not installed. please run `sudo zypper in gcin`."
return 1
fi
# Force OOo to use gtk-immodule
# so gcin can use on_the_spot mod to insert characters
export OOO_FORCE_DESKTOP=gnome
# Environment Variables
export LC_CTYPE=$LANG
export XMODIFIERS="@im=gcin"
export GTK_IM_MODULE=gcin
export GTK3_IM_MODULE=gcin
export QT_IM_SWITCHER=imsw-multi
export QT_IM_MODULE=gcin
gcin &
# success:
return 0