Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:opensuse_zh
hime
xim.d-hime
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xim.d-hime of Package hime
OLD_PATH=$PATH PATH=/usr/bin:/usr/X11R6/bin:/opt/kde3/bin:$PATH if ! type -p hime > /dev/null 2>&1 ; then echo "hime is not available." PATH=$OLD_PATH return 1 fi #when skim installed, Autostart must be "false". #here we move $HOME/.kde/share/config/skimrc to skimrc.orig.hime case "$WINDOWMANAGER" in *kde*) if type -p skim > /dev/null 2>&1 \ && ! grep -i -q "^[[:space:]]*Autostart.*=.*false" $HOME/.kde/share/config/skimrc then if [ -f $HOME/.kde/share/config/skimrc.orig.hime ] ; then mv -f $HOME/.kde/share/config/skimrc $HOME/.kde/share/config/skimrc.orig.hime chmod 777 $HOME/.kde/share/config/skimrc.orig.hime fi cat > $HOME/.kde/share/config/skimrc << __END [General] Autostart=false __END chmod 777 $HOME/.kde/share/config/skimrc else # do nothing : fi ;; *) # do nothing ;; esac export LC_CTYPE=$LANG export XMODIFIERS="@im=hime" export GTK_IM_MODULE=hime export QT_IM_SWITCHER=imsw-multi if [ -e /usr/$SYS_LIB/qt4/plugins/inputmethods/im-hime.so ]; then export QT_IM_MODULE=hime else export QT_IM_MODULE=xim fi hime & # KDE front-end of Libreoffice seems not support on_the_spot for IM # Force Libreoffice (OOo) to use gtk-immodule export OOO_FORCE_DESKTOP=gnome PATH=$OLD_PATH #success: return 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor