Services and System Control

localectl

Views and changes locale and keyboard settings.

localectl manages system locale and keyboard layout on systemd-based systems.

Syntax
localectl [command]

Arguments explained

  • Options adjust output or behavior.
  • Arguments name the files, services, hosts, or values the command should work with.

Common examples

Show locale
localectl

Displays current locale and keymap.

Set locale
sudo localectl set-locale LANG=en_US.UTF-8

Changes system locale settings.

localectl Command
FieldDetails
Commandlocalectl
CategoryServices and System Control
Primary useViews and changes locale and keyboard settings.
Syntaxlocalectl [command]