System and processes

The localectl command

Shows or changes the system language and keyboard layout.

Syntax

localectl [status|set-locale ...|set-keymap ...]

Copy-ready examples

$ localectl statusLanguage and keyboard

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • Changing the locale affects the language of dates, numbers and messages.

Related commands

FAQ

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course