home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / scim / README.GTK < prev    next >
Encoding:
Text File  |  2007-03-05  |  2.4 KB  |  41 lines

  1. In GTK+ 2.x applications, you can use SCIM in two different modes, XIM mode or
  2. GTK IM mode.  In order to use GTK IM mode, you need to install package
  3. scim-gtk2-immodule (which depends on scim-modules-socket).  Then the
  4. environment variable GTK_IM_MODULE will be used to determine which mode SCIM
  5. will use.  To use XIM mode, set GTK_IM_MODULE to xim (also remember you need
  6. to set XMODIFIERS to @im=SCIM); to use GTK IM mode, set it to scim.
  7.  
  8. Note that all GTK+ applications should work fine with SCIM in XIM mode, so the
  9. package scim-gtk2-immodule is not essential for using SCIM in GTK+/GNOME
  10. environments.  A big disadvantage of using GTK IM mode is that it may cause
  11. mysterious crashes if the GTK+ application (or some module the application
  12. dynamically loads) is linked to a different version of standard C++ library
  13. (libstdc++) as SCIM is linked to.  For example, Adobe Reader (acroread)
  14. version 7 and the official Mozilla Firefox from mozilla.org are both linked to
  15. libstdc++5, so they will crash if you try to use the SCIM packages in unstable
  16. (which are linked to libstdc++6) with them in GTK IM mode.  For more details,
  17. look at Debian bug #323216 [1].
  18.  
  19. Mainly for this reason, upstream has slightly changed the behavior of SCIM's
  20. GTK IM mode since version 1.4.3.  Until 1.4.2, SCIM claims to be preferred for
  21. GTK IM mode in all locales, so if GTK_IM_MODULE is unset, SCIM will use GTK IM
  22. mode (the same result as GTK_IM_MODULE set to scim) in GTK+ 2.x applications,
  23. which makes GTK IM mode sort of the "default mode".  Since 1.4.3, however,
  24. SCIM no longer claims preferred for GTK IM mode in any locale, so unless
  25. GTK_IM_MODULE is set to scim, SCIM will not use GTK IM mode.  The side effect
  26. of this change, is that if you have been using GTK IM mode with out setting
  27. GTK_IM_MODULE, your SCIM will suddenly stop working after you upgrade to a
  28. version higher than 1.4.2, you need to set GTK_IM_MODULE to scim to resume the
  29. previous behavior.
  30.  
  31. The support for XIM mode in GTK+ 2.x has been significantly improved since the
  32. days of version 2.0.  Although there are still small glitches here an there,
  33. XIM mode is generally quite usable.  Because of the crash bug mentioned above,
  34. as well as the default mode change by upstream, the maintainer now recommends
  35. using XIM mode even in GTK+ applications.  The maintainer himself has been
  36. mainly using XIM mode for a long time, and it had been serving him well. :-)
  37.  
  38. 1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=323216
  39.  
  40. vim:textwidth=78:
  41.