ubuntu-sererver上でキーボードレイアウトをdvorakに変更する。
google検索では、ubuntu-desktopにおけるキーボードレイアウト変更方法はよく見かける。しかしubuntu-serverにおける方法はあまり見かけない。そこで、chatGPTに聞いてみた。その結果、以下の方法でうまくいくことがわかった。
sudo nano /etc/default/keyboard
・テキストエディタが開いたら、XKBLAYOUT の値を "us" から "dvorak" に変更する。
XKBMODEL="pc105" XKBLAYOUT="dvorak" XKBVARIANT="" XKBOPTION=""
・ファイルを保存してエディタを閉じる。
・リブートして変更を有効にする。
translated with DeepL
Change keyboard layout to dvorak on ubuntu-server.
In google search, I often see how to change keyboard layout on ubuntu-desktop. But I don't see many ways to change keyboard layout on ubuntu-server. So I asked chatGPT about it. As a result, I found that the following method works.
sudo nano /etc/default/keyboard ``` When the text editor opens, change the value of XKBLAYOUT from "us" to "dvorak". Save the file and close the editor. Reboot and let the changes take effect.