Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultKeyboard is the default keyboard string // This is what is set in os-core DefaultKeyboard = "us" // RequiredBundle the bundle needed to set keyboard other than the default RequiredBundle = "kbd" )
Variables ¶
This section is empty.
Functions ¶
func IsValidKeyboard ¶
IsValidKeyboard verifies if the given keyboard is valid
func SetTargetKeyboard ¶
SetTargetKeyboard creates a keyboard vconsole.conf on the target
Types ¶
type Keymap ¶
type Keymap struct { Code string // contains filtered or unexported fields }
Keymap represents a system' keymap
func LoadKeymaps ¶
LoadKeymaps loads the system's available keymaps
func (*Keymap) IsUserDefined ¶
IsUserDefined returns true if the configuration was interactively defined by the user
func (*Keymap) MarshalYAML ¶
MarshalYAML marshals Keymap into YAML format
func (*Keymap) UnmarshalYAML ¶
UnmarshalYAML unmarshals Keymap from YAML format
Click to show internal directories.
Click to hide internal directories.