差分
この文書の現在のバージョンと選択したバージョンの差分を表示します。
次のリビジョン | 前のリビジョン | ||
vps:030-070locale [2017/07/07 07:41] admin 作成 |
vps:030-070locale [2017/07/07 07:58] (現在) admin |
||
---|---|---|---|
ライン 1: | ライン 1: | ||
======言語設定====== | ======言語設定====== | ||
- | =====locale設定===== | + | =====locale設定(初期)===== |
#dpkg-reconfigure locales | #dpkg-reconfigure locales | ||
+ | |||
+ | 次のitemを選択 | ||
*C.UTF-8 | *C.UTF-8 | ||
*en_US.UTF-8 UTF-8 | *en_US.UTF-8 UTF-8 | ||
*ja_JP.UTF-8 | *ja_JP.UTF-8 | ||
- | default: en_US.UTF-8 UTF-8 | + | デフォルトを設定 |
+ | *default: en_US.UTF-8 UTF-8 | ||
+ | |||
+ | =====keyboard===== | ||
+ | # dpkg-reconfigure keyboard-configuration | ||
+ | <code> | ||
+ | Change Keyboard Layout 「Generic 105-key (Intl) PC」>「Japanese - Japanese (OADG 109A) 」 | ||
+ | その他 (The degault for the kyrboard layout / No Compose key/ Ctrl+Alt+Del to shutdown X server) | ||
+ | </code> | ||
+ | |||
+ | =====タイムゾーン===== | ||
+ | <code> | ||
+ | # dpkg-reconfigure tzdata | ||
+ | </code> | ||
+ | |||
+ | |||
+ | =====locale再設定(JP)===== | ||
+ | #dpkg-reconfigure locales | ||
+ | |||
+ | 次のitemを選択 | ||
+ | *C.UTF-8 | ||
+ | *en_US.UTF-8 UTF-8 | ||
+ | *ja_JP.UTF-8 | ||
+ | |||
+ | デフォルトを設定 | ||
+ | *default: ja_JP.UTF-8 | ||
+ | |||
+ | =====LANG設定===== | ||
+ | # update-locale LC_ALL=”ja_JP.UTF-8” | ||
+ | # update-locale LANG=”ja_JP.UTF-8” | ||
+ | # update-locale LANGUAGE=”ja_JP.UTF-8” | ||
+ | # dpkg-reconfigure locales | ||
+ | # reboot | ||
+ | # vi /etc/default/locale | ||
+ | <code> | ||
+ | LANG=”ja_JP.UTF-8” | ||
+ | LANGUAGE=”ja_JP.UTF-8” | ||
+ | LC_ALL=”ja_JP.UTF-8” | ||
+ | </code> | ||
+ | # locale-gen ja-JP.UTF-8 | ||
+ | # dpkg-reconfigure locales | ||
+ | # reboot | ||
+ | |||
+ | =====X日本語化===== | ||
+ | |||
+ | ====IMインストール==== | ||
+ | # apt-get install uim uim-anthy | ||
+ | # apt-get install fonts-vlgothic | ||
+ | |||
+ | ====IM選定==== | ||
+ | IMはiBusでなくuimが良さそう | ||
+ | # apt-get install ibus-anthy (これはダメ) | ||
+ | # apt-get install ibus-mozc (これはどうでしょう?) | ||
+ | # apt-get install uim uim-anthy (こっち) | ||
+ | |||
+ | |||
+ | (参考) | ||
+ | http://blog.goo.ne.jp/koregaiya/e/f083564297315f5b79a5cea3b353e291 | ||
+ | |||
+ | ====uim toolbarの選択==== | ||
+ | # update-alternatives --config uim-toolbar | ||
+ | uim-toolbar-systray はアイコン表示がおかしい | ||
+ | uim-toolbar-gtk ならOK | ||
+ | |||
+ | ====uxtermの設定==== | ||
+ | |||
+ | # vi .Xdefaults | ||
+ | <code> | ||
+ | xterm*ximFont: -misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0 | ||
+ | </code> | ||
+ | |||
+ | (参考) | ||
+ | http://www.xmisao.com/2013/08/17/uim-xim-and-xterm-japanese-configuration.html | ||
+ | |||
+ | |||