ユーザ用ツール

サイト用ツール


linux:userland:debian_uimfep

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
linux:userland:debian_uimfep [2020/06/14 19:38] – [(3) mozc をインストールします] ogalinux:userland:debian_uimfep [2020/06/21 12:55] (現在) – 作成 oga
行 1: 行 1:
-====== Debian + SSH コンソールでの日本語入力 (uim-mozc) ====== 
- 
- 
-  * 参考にしたページ 
-    * [[http://www.atmarkit.co.jp/ait/articles/1806/28/news043.html|WSLのUbuntu環境を日本語化する]] 
-    * [[https://qiita.com/Pseudonym/items/9ff0e9028dfd6bad5958|uim-fepとuim-anthyの使い方と設定方法]] 
-    * [[http://www.atmarkit.co.jp/ait/articles/1810/26/news035.html|WSLのDebian環境を日本語化する]] 
-    * [[https://matoken.org/blog/2018/10/23/debian-ubuntu-borrows-the-upstream-package/|matoken's meme: Debian, Ubuntu で 上流のパッケージを借りてくる]] 
- 
- 
-==== (1) ソフトウエアを更新して必要なパッケージをインストールします ==== 
- 
- 
-<code bash> 
-$ sudo apt update 
-$ sudo apt upgrade 
-$ sudo apt install task-japanese 
-$ sudo dpkg-reconfigure locales 
-$ source /etc/default/locale 
-$ sudo dpkg-reconfigure tzdata 
-</code> 
- 
-++++旧情報| 
- 
-Buster がリリースされたため不要になりました。 
- 
-==== (2) buster の設定を行います ==== 
- 
-ファイル /etc/apt/preferences を作成し、下記の内容にする。 
- 
-<code> 
-Package: * 
-Pin: release n=buster 
-Pin-Priority: 100 
-</code> 
- 
-ファイル /etc/apt/sources.list を編集し、最後に下記の行を追加する。 
- 
-<code> 
-deb http://deb.debian.org/debian/ buster main 
-</code> 
-++++ 
- 
-==== (3) mozc をインストールします ==== 
- 
- 
-<code bash> 
-$ sudo apt install uim-fep uim-mozc 
-</code> 
- 
- 
- 
-==== (4) 設定ファイルを作ります ==== 
- 
-ファイル **<nowiki>~/.uim</nowiki>** を作成し、中身を下記のように書き込みます。 
- 
-<code scheme> 
-(define default-im-name 'mozc) 
-(define-key generic-on-key? '("<Control> " "<Control>g")) 
-(define-key generic-off-key? '("<Control> " "<Control>g")) 
-</code> 
- 
-この例では日本語切り替え操作を Control + [SPACE] または Control + [G] に設定していますが必要に応じて書き換えてください。 
-Android 9.0 以降は Control + [SPACE] が使えないので注意してください。 
- 
- 
-==== (5) fep を起動します ==== 
- 
-<code bash> 
-$ export LANG=ja_JP.UTF-8 
-$ uim-fep 
-</code> 
- 
-(4) で設定した操作で日本語モードに切り替わります。 
  
  
 +[[userland_uimfep|こちらに移動しました]]
  
linux/userland/debian_uimfep.txt · 最終更新: 2020/06/21 12:55 by oga

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki