salt.modules.keyboard
Module for managing keyboards on supported POSIX-like systems using systemd, or such as Redhat, Debian and Gentoo.
-
Get current system keyboard setting
CLI Example:
salt '*' keyboard.get_sys
salt.modules.keyboard.get_sys()
-
Get current X keyboard setting
CLI Example:
salt '*' keyboard.get_x
salt.modules.keyboard.get_x()
-
Set current system keyboard setting
CLI Example:
salt '*' keyboard.set_sys dvorak
salt.modules.keyboard.set_sys(layout)
-
Set current X keyboard setting
CLI Example:
salt '*' keyboard.set_x dvorak
salt.modules.keyboard.set_x(layout)
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.keyboard.html