kbdinfo man page on ElementaryOS
kbdinfo - obtain information about the status of a console
kbdinfo [-C DEVICE] getmode [text|graphics]
kbdinfo [-C DEVICE] gkbmode [raw|xlate|mediumraw|unicode]
kbdinfo [-C DEVICE] gkbmeta [metabit|escprefix]
kbdinfo [-C DEVICE] gkbled [scrolllock|numlock|capslock]
kbdinfo is an interface to KDGETMODE, GKBMODE, GKBMETA and GKBLED
ioctls. Its primary use case is to query the status of the given CON‐
SOLE (or the currently active one, if no -C option is present) from a
If the final value argument is not specified, kbdinfo will print the
result of the desired ioctl to the standard output. Otherwise, the
given value is compared to the actual result, and the utility will exit
with a status code of 0 for a match, 1 otherwise. No text is printed
for this style of invocation.
kbdinfo is Copyright © 2011 Alexey Gladkov <firstname.lastname@example.org>.
This manual page was written by Michael Schutte <email@example.com> for
the Debian GNU/Linux system (but may be used by others).
June 2011 KBDINFO(1)
List of man pages available for ElementaryOS
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome