… | |
… | |
825 | |
825 | |
826 | You can also use xterm's "luit" program, which usually works fine, |
826 | You can also use xterm's "luit" program, which usually works fine, |
827 | except for some locales where character width differs between program- |
827 | except for some locales where character width differs between program- |
828 | and rxvt-unicode-locales. |
828 | and rxvt-unicode-locales. |
829 | |
829 | |
|
|
830 | I have problems getting my input method working. |
|
|
831 | Try a search engine, as this is slightly different for every input |
|
|
832 | method server. |
|
|
833 | |
|
|
834 | Here is a checklist: |
|
|
835 | |
|
|
836 | - Make sure your locale *and* the imLocale are supported on your OS. |
|
|
837 | Try "locale -a" or check the documentation for your OS. |
|
|
838 | |
|
|
839 | - Make sure your locale or imLocale matches a locale supported by your |
|
|
840 | XIM. |
|
|
841 | For example, kinput2 does not support UTF-8 locales, you should use |
|
|
842 | "ja_JP.EUC-JP" or equivalent. |
|
|
843 | |
|
|
844 | - Make sure your XIM server is actually running. |
|
|
845 | - Make sure the "XMODIFIERS" environment variable is set correctly when |
|
|
846 | *starting* rxvt-unicode. |
|
|
847 | When you want to use e.g. kinput2, it must be set to "@im=kinput2". |
|
|
848 | For scim, use "@im=SCIM". Youc an see what input method servers are |
|
|
849 | running with this command: |
|
|
850 | |
|
|
851 | xprop -root XIM_SERVERS |
|
|
852 | |
|
|
853 | * |
|
|
854 | |
830 | My input method wants <some encoding> but I want UTF-8, what can I do? |
855 | My input method wants <some encoding> but I want UTF-8, what can I do? |
831 | You can specify separate locales for the input method and the rest of |
856 | You can specify separate locales for the input method and the rest of |
832 | the terminal, using the resource "imlocale": |
857 | the terminal, using the resource "imlocale": |
833 | |
858 | |
834 | URxvt.imlocale: ja_JP.EUC-JP |
859 | URxvt.imlocale: ja_JP.EUC-JP |
835 | |
860 | |
836 | Now you can start your terminal with "LC_CTYPE=ja_JP.UTF-8" and still |
861 | Now you can start your terminal with "LC_CTYPE=ja_JP.UTF-8" and still |
837 | use your input method. Please note, however, that you will not be able |
862 | use your input method. Please note, however, that, depending on your |
838 | to input characters outside "EUC-JP" in a normal way then, as your input |
863 | Xlib version, you may not be able to input characters outside "EUC-JP" |
839 | method limits you. |
864 | in a normal way then, as your input method limits you. |
840 | |
865 | |
841 | Rxvt-unicode crashes when the X Input Method changes or exits. |
866 | Rxvt-unicode crashes when the X Input Method changes or exits. |
842 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
867 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
843 | design. Applications can avoid some crashes at the expense of memory |
868 | design. Applications can avoid some crashes at the expense of memory |
844 | leaks, and Input Methods can avoid some crashes by careful ordering at |
869 | leaks, and Input Methods can avoid some crashes by careful ordering at |