ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
linux:keyboard

Keyboard

loadkeys

仮想端末上で指定したキーボードテーブルの読み込み(一時的)
キー配列が間違っている場合や一時的に変更したい場合などに便利.

$ sudo loadkeys jp106
Loading /usr/share/keymaps/i386/qwerty/jp106.kmap.gz
$ sudo loadkeys us
Loading /usr/share/keymaps/i386/qwerty/us.kmap.gz

keymap fileがない場合

$ sudo loadkeys jp106
cannot open file jp106

は導入する

$ sudo apt install console-data
$ find /usr/share/keymaps -type f | wc -l
239

dumpkeys

キーボードテーブルの書き出し. 書き出したものを編集して,loadkeys で読み込むなどして利用する.

showkey

キーボードのスキャンコード,キーコードを調べる.

$ sudo showkey 
kb mode was ?UNKNOWN?
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
keycode  28 release
akeycode  30 press
keycode  30 release
keycode  57 press
keycode  57 release
 keycode  29 press
^Ccaught signal 2, cleaning up...

コメント

コメントを入力. Wiki文法が有効です:
   ___    _  __  _____  _____   ___ 
  / _ |  / |/ / / ___/ / ___/  / _ \
 / __ | /    / / /__  / (_ /  / ___/
/_/ |_|/_/|_/  \___/  \___/  /_/
 
linux/keyboard.txt · 最終更新: 2020/07/03 17:44 by matoken