LinuxCommandLibrary

grub-mklayout

create GRUB keyboard layout files

TLDR

Create keyboard layout

$ grub-mklayout -o [layout.gkb] < [layout.ckb]
copy
Convert from console layout
$ ckbcomp [us] | grub-mklayout -o [us.gkb]
copy
Verbose output
$ grub-mklayout -v -o [layout.gkb] < [input]
copy

SYNOPSIS

grub-mklayout [options]

DESCRIPTION

grub-mklayout creates keyboard layout files for GRUB by converting console keyboard maps to GRUB's GKB format. It reads from stdin and produces a binary layout file for use during boot.
The tool enables non-US keyboard layouts in GRUB, allowing users to type passwords and commands in the boot menu using their native keyboard layout.

PARAMETERS

-o, --output FILE

Output GKB file.
-v, --verbose
Verbose mode.
--help
Display help information.

CAVEATS

Part of GRUB package. Requires ckbcomp for console layouts. Limited layout options.

HISTORY

grub-mklayout was developed as part of GNU GRUB 2 to support international keyboard layouts in the boot menu.

SEE ALSO

grub(8), ckbcomp(1), loadkeys(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community