LoginSignup
5
3

More than 5 years have passed since last update.

Debian8 コンソールで日本語利用(fbterm)

Last updated at Posted at 2015-10-01

参考にしたサイト

http://www.geocities.jp/xsybr354/debian/wheezy/console.html
http://d.hatena.ne.jp/baku4893/20130304/p1

起動時にエラー

[input] can't change kernel keymap table, all shortcuts will NOT work! see SECURITY NOTES section of man page for solution.

対処方法

chmod u+s /usr/bin/fbterm

セキュリティ的には、上記方法は良くないのかもしれませんが、
ノートパソコンで、個人利用のためOKかと。。。

追加ユーザでfbtermを起動するとエラー

can't open framebuffer device!
↑Debianをインストール時に作成するユーザでは起こらない。
追加したユーザにのみ起こる。

対処方法

usermod -G video [追加したユーザ]

fbtermの設定

一度 fbtermを起動させると。.fbtermrcが作成される。

変更箇所は以下。
font-size=12

font-size=18

color-foreground=7

color-foreground=2

fbterm上で、日本語入力

$ fbterm
$ uim-fep

or

$ fbterm -- uim-fep
↑個人的には、こちら。。

日本語入力の設定

インストール時に、LXDEのライブCDを利用しました。
X-Windowsとコンソールを同居させるため、以下のファイルを編集。

$ vi .uim.d/customs/custom-global-keys1.scm

(define generic-on-key '("zenkaku-hankaku" "<IgnoreShift><Control>\\"))
(define generic-on-key? (make-key-predicate '("zenkaku-hankaku" "<IgnoreShift><Control>\\")))
(define generic-off-key '("zenkaku-hankaku" "<IgnoreShift><Control>\\"))
(define generic-off-key? (make-key-predicate '("zenkaku-hankaku" "<IgnoreShift><Control>\\")))

追加した部分

""<IgnoreShift><Control>\\""

上記追加が終わったら、fbtermを起動させて
[Ctrl] + \
キーで日本語入力のOn/Off出来るか確認する。

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3