logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xkbprint - print an XKB keyboard description

Author

       Erik Fortune, Silicon Graphics

X Version 11                                     xkbprint 1.0.6                                      XKBPRINT(1)

Description

       The  xkbprint  command  generates  a printable or encapsulated PostScript description of the XKB keyboard
       description specified by source.  The source can be any compiled  keymap  (.xkm)  file  that  includes  a
       geometry  description  or an X display specification.  If an output_file is specified, xkbprint writes to
       it.  If no output file is specified, xkbprint creates replaces the extension of the source file with  .ps
       or  .eps  depending  on  the requested format.  If the source is a non-local X display (e.g.:0), xkbprint
       appends the appropriate prefix to the display specification, replacing the colon  with  a  dash.   For  a
       local display, xkprint uses server-n where n is the number of the display.

Name

       xkbprint - print an XKB keyboard description

Options

-?,-help
               Prints a usage message.

       -color  Print  using the colors specified in the geometry file;  by default, xkbprint prints a black-and-
               white image of the keyboard.

       -dflts  Attempt to compute default names for any missing components, such as keys.

       -diffs  Show symbols only where they are explicitly bound.

       -eps    Generate an encapsulated PostScript file.

       -fit    Fit the keyboard image on the page (default).

       -full   Print the keyboard at full size.

       -gridres
               Print a grid with res mm resolution over the keyboard.

       -iffontName
               Specifies an internal PostScript type 1  font  to  dump  to  the  specified  output  file  or  to
               fontName.pfa,  if no output file is specified.  No keyboard description is printed if an internal
               font is dumped.

       -labeltype
               Specifies the labels to be printed on keys;  valid types are: none, name, code, and symbols.

       -lc<locale>
               Specifies a locale in which KeySyms should be resolved.

       -level1 Generate level 1 PostScript.

       -level2 Generate level 2 PostScript.

       -lggroup
               Print symbols in keyboard groups starting from group.

       -lllevel
               Print symbols starting from shift level level.

       -mono   Generate black-and-white image of keyboard (default).

       -nnum  Print num copies.

       -nkgnum
               Print the symbols in num keyboard groups.

       -npknum
               Number of keyboard images to print on each page; for EPS files, this specifies the  total  number
               of keyboard images to print.

       -ofile Write output to file.

       -Rdirectory
               Use directory as the root directory; all path names are interpreted relative to directory.

       -pictwhich
               Controls  use  of  pictographs instead of keysym names where available.  which can be any of all,
               none, or common (default).

       -synch  Forces synchronization for X requests.

       -version
               Print out the program version and exit.

       -wlevel
               Sets warning level (0 for no warning, 10 for all warnings).

See Also

X(7), xkbcomp(1)

Synopsis

xkbprint [options] source [ output_file ]

See Also