File xim.d-gcin of Package gcin.2064

if ! type -p gcin > /dev/null 2>&1 ; then
    echo "gcin is not installed. please run `sudo zypper in gcin`."
    return 1
fi

# If libreoffice-gnome was installed, force OOo to use gtk-immodule
# so gcin can use on_the_spot mod to insert characters
if [ -f /usr/lib/libreoffice/program/gconfbe1.uno.so ] || [ -f /usr/lib64/libreoffice/program/gconfbe1.uno.so ] ; then
  export OOO_FORCE_DESKTOP=gnome
fi

# 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
openSUSE Build Service is sponsored by