[Ubuntu] Use Caps Lock as a Control key

Created on November 30, 2026

Set XKBOPTIONS in /etc/default/keyboard to include ctrl:nocaps so the Caps Lock key acts as Control. Restart the computer after editing the file. Keep the layout and model appropriate for your keyboard.

XKBLAYOUT="jp"
BACKSPACE="guess"
XKBMODEL="pc105"
XKBVARIANT=""
XKBOPTIONS="ctrl:nocaps"
Ubuntu