Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xkbprint(1) [debian man page]

XKBPRINT(1)						      General Commands Manual						       XKBPRINT(1)

NAME
xkbprint - print an XKB keyboard description SYNOPSIS
xkbprint [options] source [ output_file ] 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. 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. -grid res Print a grid with resmm resolution over the keyboard. -if fontName Specifies an internal PostScript type 1 font to dump to the specified output file or to fontName.pfa, if no output file is speci- fied. No keyboard description is printed if an internal font is dumped. -label type Specifies the labels to be printed on keys; legal types are: none, name,code,symbols. -lc <locale> Specifies a locale in which KeySyms should be resolved. -level1 Generate level 1 PostScript. -level2 Generate level 2 PostScript. -lg group Print symbols in keyboard groups starting from group. -ll level Print symbols starting from shift level level. -mono Generate black-and-white image of keyboard (default). -n num Print num copies. -nkg num Print the symbols in num keyboard groups. -npk num Number of keyboard images to print on each page; for EPS files, this specifies the total number of keyboard images to print. -o file Write output to file. -Rdirectory Use directory as the root directory; all path names are interpreted relative to directory. -pict which 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. -w level Sets warning level (0 for no warning, 10 for all warnings). SEE ALSO
X(7),xkbcomp(1) COPYRIGHT
Copyright 1995, Silicon Graphics Computer Systems Copyright 1995, 1998 The Open Group See X(7) for a full statement of rights and permissions. AUTHOR
Erik Fortune, Silicon Graphics X Version 11 xkbprint 1.0.3 XKBPRINT(1)

Check Out this Related Man Page

XKBCOMP(1)						      General Commands Manual							XKBCOMP(1)

NAME
xkbcomp - compile XKB keyboard description SYNOPSIS
xkbcomp [option] source [ destination ] DESCRIPTION
The xkbcomp keymap compiler converts a description of an XKB keymap into one of several output formats. The most common use for xkbcomp is to create a compiled keymap file (.xkm extension) which can be read directly by XKB-capable X servers or utilities. The keymap com- piler can also produce C header files or XKB source files. The C header files produced by xkbcomp can be included by X servers or utili- ties that need a built-in default keymap. The XKB source files produced by xkbcomp are fully resolved and can be used to verify that the files which typically make up an XKB keymap are merged correctly or to create a single file which contains a complete description of the keymap. The source may specify an X display, or an .xkb or .xkm file; unless explicitly specified, the format of destination depends on the format of the source. Compiling a .xkb (keymap source) file generates a .xkm (compiled keymap file) by default. If the source is a .xkm file or an X display, xkbcomp generates a keymap source file by default. If the destination is an X display, the keymap for the display is updated with the compiled keymap. The name of the destination is usually computed from the name of the source, with the extension replaced as appropriate. When compiling a single map from a file which contains several maps, xkbcomp constructs the destination file name by appending an appropriate extension to the name of the map to be used. OPTIONS
-a Show all keyboard information, reporting implicit or derived information as a comment. Only affects .xkb format output. -C Produce a C header file as output (.h extension). -dflts Compute defaults for any missing components, such as key names. -Idir Specifies top-level directories to be searched for files included by the keymap description. After all directories specified by -I options have been searched, the current directory and finally, the default xkb directory (usually /usr/lib/X11/xkb) will be searched. To prevent the current and default directories from being searched, use the -I option alone (i.e. without a directory), before any -I options that specify the directories you do want searched. -i deviceid If source or destination is a valid X display, load the keymap from/into the device with the specified ID (not name). -l List maps that specify the map pattern in any files listed on the command line (not implemented yet). -m name Specifies a map to be compiled from an file with multiple entries. -merge Merge the compiled information with the map from the server (not implemented yet). -o name Specifies a name for the generated output file. The default is the name of the source file with an appropriate extension for the output format. -opt parts Specifies a list of optional parts. Compilation errors in any optional parts are not fatal. Parts may consist of any combination of the letters c, g,k,s,t which specify the compatibility map, geometry, keycodes, symbols and types, respectively. -Rdir Specifies the root directory for relative path names. -synch Force synchronization for X requests. -version Print version number. -w lvl Controls the reporting of warnings during compilation. A warning level of 0 disables all warnings; a warning level of 10 enables them all. -xkb Generate a source description of the keyboard as output (.xkb extension). -xkm Generate a compiled keymap file as output (.xkm extension). SEE ALSO
X(7) COPYRIGHT
Copyright 1994, Silicon Graphics Computer Systems and X Consortium, Inc. See X(7) for a full statement of rights and permissions. AUTHOR
Erik Fortune, Silicon Graphics X Version 11 xkbcomp 1.2.4 XKBCOMP(1)
Man Page