2021-03-15 13:15:10 +00:00
|
|
|
.Dd March 15, 2021
|
2020-05-29 12:24:17 +00:00
|
|
|
.Dt SVKBD 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm svkbd
|
|
|
|
.Nd simple virtual keyboard
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2020-08-02 18:57:05 +00:00
|
|
|
.Op Fl D
|
2020-05-29 12:24:17 +00:00
|
|
|
.Op Fl d
|
|
|
|
.Op Fl g Ar geometry
|
2020-08-02 18:57:05 +00:00
|
|
|
.Op Fl fn Ar font
|
|
|
|
.Op Fl O
|
2020-05-29 12:24:17 +00:00
|
|
|
.Op Fl h
|
2020-08-02 18:57:05 +00:00
|
|
|
.Op Fl H Ar heightfactor
|
|
|
|
.Op Fl l Ar layers
|
|
|
|
.Op Fl s Ar layer
|
2020-05-29 12:24:17 +00:00
|
|
|
.Op Fl v
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2020-08-02 18:57:05 +00:00
|
|
|
is a simple virtual keyboard for X.org, intended to be used in environments, where no
|
2020-05-29 12:24:17 +00:00
|
|
|
keyboard is available.
|
2020-08-02 18:57:05 +00:00
|
|
|
.Sh OPTIONS
|
2020-05-29 12:24:17 +00:00
|
|
|
.Bl -tag -width Ds
|
2020-08-02 18:57:05 +00:00
|
|
|
.It Fl D
|
|
|
|
Debug mode; output verbosely to stderr.
|
2020-05-29 12:24:17 +00:00
|
|
|
.It Fl d
|
|
|
|
Set the _NET_WM_WINDOW_TYPE_DOCK property to hint windowmanagers it is
|
|
|
|
dockable, by default off.
|
2020-08-02 18:57:05 +00:00
|
|
|
.It Fl fn Ar font
|
|
|
|
Defines the font or font set used. e.g. "Monospace:bold:size=20" (an Xft font).
|
2020-05-29 12:24:17 +00:00
|
|
|
.It Fl g Ar geometry
|
|
|
|
Adjust the initial window position or size as specified by the standard X11
|
|
|
|
geometry format.
|
|
|
|
.It Fl h
|
|
|
|
Show the usage information.
|
2020-08-02 18:57:05 +00:00
|
|
|
.It Fl H Ar heightfactor
|
2020-08-04 21:14:38 +00:00
|
|
|
Affects the vertical space taken by the keyboard.
|
|
|
|
One row of keys takes up 1/heighfactor of the screen's total height.
|
2020-08-02 18:57:05 +00:00
|
|
|
.It Fl l Ar layers
|
|
|
|
Comma separated list of layers to enable (by name). If not set, all layers
|
2020-08-04 21:14:38 +00:00
|
|
|
in the layout will be available.
|
|
|
|
The layer names are defined by the layout you compiled.
|
2021-03-15 13:15:10 +00:00
|
|
|
.It Fl n
|
|
|
|
Do not simulate key presses for X
|
|
|
|
.It Fl R
|
|
|
|
Disable press-on-release
|
2020-08-02 18:57:05 +00:00
|
|
|
.It Fl s Ar layer
|
|
|
|
The layer to show on program start-up (by name). If not set, the first
|
|
|
|
layer of the layout will be shown.
|
|
|
|
.It Fl O
|
|
|
|
Disable overlay functionality.
|
2021-03-15 13:15:10 +00:00
|
|
|
.It Fl o
|
|
|
|
Print pressed keys to standard output
|
2020-05-29 12:24:17 +00:00
|
|
|
.It Fl v
|
|
|
|
Show the version information.
|
|
|
|
.El
|
2020-08-02 18:57:05 +00:00
|
|
|
.Sh ENVIRONMENT
|
|
|
|
The following environment variables can be defined, providing
|
2020-08-04 21:14:38 +00:00
|
|
|
an alternative to some of the command line parameters.
|
|
|
|
The command line parameters, however, always take precedence:
|
2020-08-02 18:57:05 +00:00
|
|
|
.Bl -tag -width Ds
|
2020-08-04 21:14:38 +00:00
|
|
|
.It Ev SVKBD_LAYERS
|
2020-08-02 18:57:05 +00:00
|
|
|
Comma separated list of layers to enable (by name). The layer names are defined by the layout
|
|
|
|
you compiled.
|
2020-08-04 21:14:38 +00:00
|
|
|
.It Ev SVKBD_ENABLEOVERLAYS
|
2020-08-02 18:57:05 +00:00
|
|
|
Set this to 0 if you want to disable overlay functionality.
|
2020-08-04 21:14:38 +00:00
|
|
|
.It Ev SVKBD_HEIGHTFACTOR
|
|
|
|
Affects the vertical space taken by the keyboard.
|
|
|
|
One row of keys takes up 1/heighfactor of the screen's total height.
|
2020-08-02 18:57:05 +00:00
|
|
|
.El
|
2021-03-15 13:15:10 +00:00
|
|
|
.Sh XRESOURCES
|
|
|
|
The appearance of svkbd can be configured via xresources:
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Ev svkbd.font
|
|
|
|
An Xft font specification like "Monospace:bold:size=20".
|
|
|
|
.It Ev svkbd.background
|
|
|
|
The background colour for the keycaps (in #rrggbb syntax)
|
|
|
|
.It Ev svkbd.foreground
|
|
|
|
The foreground colour for the keycaps (in #rrggbb syntax)
|
|
|
|
.It Ev svkbd.shiftforeground
|
|
|
|
The foreground colour for the secondary labels (shift layer) on the keycaps
|
|
|
|
.It Ev svkbd.shiftbackground
|
|
|
|
The background colour for the secondary labels (shift layer) on the keycaps
|
|
|
|
.It Ev svkbd.abcforeground
|
|
|
|
.It Ev svkbd.abcbackbround
|
|
|
|
The colour for alphabetical keys
|
|
|
|
.It Ev svkbd.abcshiftbackground
|
|
|
|
.It Ev svkbd.abcshiftforeground
|
|
|
|
The colour for the secondary labels (shift layer) on alphabetical keys
|
|
|
|
.It Ev svkbd.pressforeground
|
|
|
|
.It Ev svkbd.pressforebackground
|
|
|
|
The colour for keys when held pressed
|
|
|
|
.It Ev svkbd.highlightforeground
|
|
|
|
.It Ev svkbd.highlightforebackground
|
|
|
|
The colour for keys when hovering over them or just after release
|
|
|
|
.It Ev svkbd.highlightshiftforeground
|
|
|
|
.It Ev svkbd.highlightshiftforebackground
|
|
|
|
The colour for the secondary label on keys when hovering over them or just
|
|
|
|
after release
|
|
|
|
.It Ev svkbd.overlayforeground
|
|
|
|
.It Ev svkbd.overlaybackground
|
|
|
|
The colour for keys when they are part of an overlay
|
|
|
|
.It Ev svkbd.overlayshiftforeground
|
|
|
|
.It Ev svkbd.overlayshiftbackground
|
|
|
|
The colour for the secondary label on keys when they are part of an overlay
|
|
|
|
.El
|
2021-03-28 13:19:38 +00:00
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
2020-05-29 12:24:17 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr XParseGeometry 3
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An Christoph Lohmann Aq Mt 20h@r-36.net
|
|
|
|
.An Enno Boland Aq Mt gottox@s01.de
|
2020-08-02 18:57:05 +00:00
|
|
|
.An Miles Alan Aq Mt m@milesalan.com
|
|
|
|
.An Maarten van Gompel Aq Mt proycon@anaproy.nl
|
2021-03-15 13:15:10 +00:00
|
|
|
.An Tetrakist Aq Mt tetrakist@mutandum.com
|
|
|
|
.An Stacy Aq Mt stacy@stacyharper.net
|