Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. # Default im-config mode (see im-config(8))
  2.  
  3. if [ "$XDG_CURRENT_DESKTOP" = 'Unity' -o "$XDG_CURRENT_DESKTOP" = 'MATE' -o "${XDG_CURRENT_DESKTOP##*:}" = 'GNOME' ]; then
  4. # Start best input method unless overridden below
  5. IM_CONFIG_DEFAULT_MODE=auto
  6. else
  7. # Start best input method only if CJKV environment and not overridden below
  8. IM_CONFIG_DEFAULT_MODE=cjkv
  9. fi
  10.  
  11. # Set locale dependent preferred IM over standard auto mode
  12. if [ "${XDG_CURRENT_DESKTOP##*:}" != 'GNOME' -a "${XDG_CURRENT_DESKTOP%%:*}" != 'GNOME-Flashback' ]; then
  13. IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx:ja_JP,fcitx:ko_KR,fcitx:vi_VN,fcitx"
  14. fi
  15.  
  16. # User and system wide configuration is normally done via im-config program.
  17. # The above IM_CONFIG_PREFERRED_RULE sets locale dependent preferred IM
  18. # override rule. If you wish to use uim over ibus just for ja_JP,
  19. # add :ja_JP,uim at the end of the above list.
  20.  
  21. # Trace commands for debug
  22. # (This may cause problem configuration file generated under console mode)
  23. #IM_CONFIG_SETMODE="-x"
  24.  
  25. # Verbose output for debug (uncomment following)
  26. #IM_CONFIG_VERBOSE="true"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement