xkbmap

package
v0.0.0-...-e5c115e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLayout

func SetLayout(layout string) error

SetLayout sets the keyboard layout.

Types

type Info

type Info struct {
	Rules  string
	Model  string
	Layout string
}

Info contains information about the current keyboard layout.

func Query

func Query() (Info, error)

Query retrieves keyboard information using setxkbmap -query.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL