… | |
… | |
883 | |
883 | |
884 | You can also use xterm's C<luit> program, which usually works fine, except |
884 | You can also use xterm's C<luit> program, which usually works fine, except |
885 | for some locales where character width differs between program- and |
885 | for some locales where character width differs between program- and |
886 | rxvt-unicode-locales. |
886 | rxvt-unicode-locales. |
887 | |
887 | |
|
|
888 | =head3 I have problems getting my input method working. |
|
|
889 | |
|
|
890 | Try a search engine, as this is slightly different for every input method server. |
|
|
891 | |
|
|
892 | Here is a checklist: |
|
|
893 | |
|
|
894 | =over 4 |
|
|
895 | |
|
|
896 | =item - Make sure your locale I<and> the imLocale are supported on your OS. |
|
|
897 | |
|
|
898 | Try C<locale -a> or check the documentation for your OS. |
|
|
899 | |
|
|
900 | =item - Make sure your locale or imLocale matches a locale supported by your XIM. |
|
|
901 | |
|
|
902 | For example, B<kinput2> does not support UTF-8 locales, you should use |
|
|
903 | C<ja_JP.EUC-JP> or equivalent. |
|
|
904 | |
|
|
905 | =item - Make sure your XIM server is actually running. |
|
|
906 | |
|
|
907 | =item - Make sure the C<XMODIFIERS> environment variable is set correctly when I<starting> rxvt-unicode. |
|
|
908 | |
|
|
909 | When you want to use e.g. B<kinput2>, it must be set to |
|
|
910 | C<@im=kinput2>. For B<scim>, use C<@im=SCIM>. Youc an see what input |
|
|
911 | method servers are running with this command: |
|
|
912 | |
|
|
913 | xprop -root XIM_SERVERS |
|
|
914 | |
|
|
915 | =item |
|
|
916 | |
|
|
917 | =back |
|
|
918 | |
888 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
919 | =head3 My input method wants <some encoding> but I want UTF-8, what can I do? |
889 | |
920 | |
890 | You can specify separate locales for the input method and the rest of the |
921 | You can specify separate locales for the input method and the rest of the |
891 | terminal, using the resource C<imlocale>: |
922 | terminal, using the resource C<imlocale>: |
892 | |
923 | |
893 | URxvt.imlocale: ja_JP.EUC-JP |
924 | URxvt.imlocale: ja_JP.EUC-JP |
894 | |
925 | |
895 | Now you can start your terminal with C<LC_CTYPE=ja_JP.UTF-8> and still |
926 | Now you can start your terminal with C<LC_CTYPE=ja_JP.UTF-8> and still |
896 | use your input method. Please note, however, that you will not be able to |
927 | use your input method. Please note, however, that, depending on your Xlib |
897 | input characters outside C<EUC-JP> in a normal way then, as your input |
928 | version, you may not be able to input characters outside C<EUC-JP> in a |
898 | method limits you. |
929 | normal way then, as your input method limits you. |
899 | |
930 | |
900 | =head3 Rxvt-unicode crashes when the X Input Method changes or exits. |
931 | =head3 Rxvt-unicode crashes when the X Input Method changes or exits. |
901 | |
932 | |
902 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
933 | Unfortunately, this is unavoidable, as the XIM protocol is racy by |
903 | design. Applications can avoid some crashes at the expense of memory |
934 | design. Applications can avoid some crashes at the expense of memory |