netapi
modulesModule for managing keyboards on supported POSIX-like systems using systemd, or such as Redhat, Debian and Gentoo.
salt.modules.keyboard.
get_sys
()¶Get current system keyboard setting
CLI Example:
salt '*' keyboard.get_sys
salt.modules.keyboard.
get_x
()¶Get current X keyboard setting
CLI Example:
salt '*' keyboard.get_x
salt.modules.keyboard.
set_sys
(layout)¶Set current system keyboard setting
CLI Example:
salt '*' keyboard.set_sys dvorak
salt.modules.keyboard.
set_x
(layout)¶Set current X keyboard setting
CLI Example:
salt '*' keyboard.set_x dvorak