home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / scim-bridge-agent / README.Debian < prev   
Encoding:
Text File  |  2008-10-26  |  1.1 KB  |  24 lines

  1. If you want to use scim-bridge, I assume that you have installed relate
  2. packages, like scim-bridge-agent, scim-bridge-client-{gtk,qt}. 
  3. To use it, you shall set your corresponding environment variable, such
  4. as, GTK_IM_MODULE and QT_IM_MODULE. In most recently Debian/Ubuntu, if
  5. you have im-switch installed, you can provide a configure file in 
  6. ~/.xinput.d/<ll_CC>, which contain as below:
  7. ##=================Begain============================================
  8.     XIM=SCIM
  9.     if [ -e /usr/bin/skim ]; then
  10.         XIM_PROGRAM=/usr/bin/skim
  11.     else
  12.         XIM_PROGRAM=/usr/bin/scim
  13.     fi
  14.     XIM_ARGS="-d"
  15.     GTK_IM_MODULE=scim-bridge
  16.     QT_IM_MODULE=scim-bridge
  17.     DEPENDS="scim | skim, scim-bridge-agent, scim-bridge-client-gtk | scim-bridge-client-qt"
  18. ##=================End==============================================
  19. You may open a terminal, and do: locale |grep LANGUAGE, then you will get
  20. the value of ll_CC. In above configure file, we make GTK and Qt programs all
  21. use scim-bridge, but you can decide whether to use them both.
  22.  
  23. If you have any problem, you may contact me: zhengpeng-hou AT ubuntu .com.
  24.