0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

さくらのVPSのDebianをVNCコンソールで日本語配列キーボードを使う

Posted at

事象

日本語配列キーボードを使って、Debian on さくらのVPSで「VNCコンソール」から操作しようとしたときに、記号等において意図した入力とならなかった。「シリアルコンソール」からであれば問題なく操作できることは確認できていたが、なんとなく対応してみた。

  • さくらのVPSでVNCコンソール
  • Debian 12(bookwarm) amd64
  • 日本語配列キーボード

さくらのVPSの設定

「VNCコンソールキー配列」を「ja」にする。
sakura1.png

Debianの設定

次の通り設定する。

$ sudo apt install -y console-data console-setup
$ localectl set-keymap --no-convert jp106
$ sudo loadkeys jp106

ここらに反映されている模様。

$ cat /etc/default/keyboard
XKBMODEL="a4techKB21"
XKBLAYOUT="jp"
XKBOPTIONS="terminate:ctrl_alt_bksp"
BACKSPACE="guess"
XKBVARIANT="

$ cat /etc/vconsole.conf
KEYMAP=jp106

これで設定は終わり。あとはアットマーク@や、コロン:がキーボード配列どおりに入力できるかを確認する。

参考

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?