… | |
… | |
1138 | .PP |
1138 | .PP |
1139 | You can also use xterm's \f(CW\*(C`luit\*(C'\fR program, which usually works fine, except |
1139 | You can also use xterm's \f(CW\*(C`luit\*(C'\fR program, which usually works fine, except |
1140 | for some locales where character width differs between program\- and |
1140 | for some locales where character width differs between program\- and |
1141 | rxvt\-unicode\-locales. |
1141 | rxvt\-unicode\-locales. |
1142 | .PP |
1142 | .PP |
|
|
1143 | \fII have problems getting my input method working.\fR |
|
|
1144 | .IX Subsection "I have problems getting my input method working." |
|
|
1145 | .PP |
|
|
1146 | Try a search engine, as this is slightly different for every input method server. |
|
|
1147 | .PP |
|
|
1148 | Here is a checklist: |
|
|
1149 | .IP "\- Make sure your locale \fIand\fR the imLocale are supported on your \s-1OS\s0." 4 |
|
|
1150 | .IX Item "- Make sure your locale and the imLocale are supported on your OS." |
|
|
1151 | Try \f(CW\*(C`locale \-a\*(C'\fR or check the documentation for your \s-1OS\s0. |
|
|
1152 | .IP "\- Make sure your locale or imLocale matches a locale supported by your \s-1XIM\s0." 4 |
|
|
1153 | .IX Item "- Make sure your locale or imLocale matches a locale supported by your XIM." |
|
|
1154 | For example, \fBkinput2\fR does not support \s-1UTF\-8\s0 locales, you should use |
|
|
1155 | \&\f(CW\*(C`ja_JP.EUC\-JP\*(C'\fR or equivalent. |
|
|
1156 | .IP "\- Make sure your \s-1XIM\s0 server is actually running." 4 |
|
|
1157 | .IX Item "- Make sure your XIM server is actually running." |
|
|
1158 | .PD 0 |
|
|
1159 | .ie n .IP "\- Make sure the ""XMODIFIERS""\fR environment variable is set correctly when \fIstarting rxvt\-unicode." 4 |
|
|
1160 | .el .IP "\- Make sure the \f(CWXMODIFIERS\fR environment variable is set correctly when \fIstarting\fR rxvt\-unicode." 4 |
|
|
1161 | .IX Item "- Make sure the XMODIFIERS environment variable is set correctly when starting rxvt-unicode." |
|
|
1162 | .PD |
|
|
1163 | When you want to use e.g. \fBkinput2\fR, it must be set to |
|
|
1164 | \&\f(CW\*(C`@im=kinput2\*(C'\fR. For \fBscim\fR, use \f(CW\*(C`@im=SCIM\*(C'\fR. Youc an see what input |
|
|
1165 | method servers are running with this command: |
|
|
1166 | .Sp |
|
|
1167 | .Vb 1 |
|
|
1168 | \& xprop -root XIM_SERVERS |
|
|
1169 | .Ve |
|
|
1170 | .IP "*" 4 |
|
|
1171 | .PP |
1143 | \fIMy input method wants <some encoding> but I want \s-1UTF\-8\s0, what can I do?\fR |
1172 | \fIMy input method wants <some encoding> but I want \s-1UTF\-8\s0, what can I do?\fR |
1144 | .IX Subsection "My input method wants <some encoding> but I want UTF-8, what can I do?" |
1173 | .IX Subsection "My input method wants <some encoding> but I want UTF-8, what can I do?" |
1145 | .PP |
1174 | .PP |
1146 | You can specify separate locales for the input method and the rest of the |
1175 | You can specify separate locales for the input method and the rest of the |
1147 | terminal, using the resource \f(CW\*(C`imlocale\*(C'\fR: |
1176 | terminal, using the resource \f(CW\*(C`imlocale\*(C'\fR: |
… | |
… | |
1149 | .Vb 1 |
1178 | .Vb 1 |
1150 | \& URxvt.imlocale: ja_JP.EUC-JP |
1179 | \& URxvt.imlocale: ja_JP.EUC-JP |
1151 | .Ve |
1180 | .Ve |
1152 | .PP |
1181 | .PP |
1153 | Now you can start your terminal with \f(CW\*(C`LC_CTYPE=ja_JP.UTF\-8\*(C'\fR and still |
1182 | Now you can start your terminal with \f(CW\*(C`LC_CTYPE=ja_JP.UTF\-8\*(C'\fR and still |
1154 | use your input method. Please note, however, that you will not be able to |
1183 | use your input method. Please note, however, that, depending on your Xlib |
1155 | input characters outside \f(CW\*(C`EUC\-JP\*(C'\fR in a normal way then, as your input |
1184 | version, you may not be able to input characters outside \f(CW\*(C`EUC\-JP\*(C'\fR in a |
1156 | method limits you. |
1185 | normal way then, as your input method limits you. |
1157 | .PP |
1186 | .PP |
1158 | \fIRxvt-unicode crashes when the X Input Method changes or exits.\fR |
1187 | \fIRxvt-unicode crashes when the X Input Method changes or exits.\fR |
1159 | .IX Subsection "Rxvt-unicode crashes when the X Input Method changes or exits." |
1188 | .IX Subsection "Rxvt-unicode crashes when the X Input Method changes or exits." |
1160 | .PP |
1189 | .PP |
1161 | Unfortunately, this is unavoidable, as the \s-1XIM\s0 protocol is racy by |
1190 | Unfortunately, this is unavoidable, as the \s-1XIM\s0 protocol is racy by |