pinentry-dmenu/pinentry-dmenu.1

349 lines
6.1 KiB
Groff
Raw Normal View History

2022-03-12 18:33:32 +00:00
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
2021-11-05 18:48:55 +00:00
.TH "PINENTRY-DMENU" "1" "" "Version-VERSION" "pinentry-dmenu Manual"
.hy
2021-07-26 11:20:50 +00:00
.SH NAME
2021-11-05 18:48:55 +00:00
.PP
2021-07-26 11:29:05 +00:00
pinentry-dmenu - a pinentry program based on dmenu
2021-07-26 11:20:50 +00:00
.SH SYNOPSIS
2021-11-05 18:48:55 +00:00
.PP
Set the \f[B]pinentry-program\f[R] in
\f[I]\[ti]/.gnupg/gpg-agent.conf\f[R] to \f[B]pinentry-dmenu\f[R] to use
the program as the regular dialog for \f[B]gpg-agent\f[R].
2021-07-26 11:20:50 +00:00
.PP
The configuration is placed in
2021-11-05 18:48:55 +00:00
\f[I]\[ti]/.gnupg/pinentry-dmenu.conf\f[R].
2021-07-26 11:20:50 +00:00
You can change the path to the config file with the environment variable
2021-11-05 18:48:55 +00:00
\f[I]GNUPGHOME\f[R].
.SH DESCRIPTION
.PP
\f[B]pinentry-dmenu\f[R] is a dmenu- and pinentry-based passphrase
dialog called from the \f[B]gpg-agent\f[R](1) daemon.
It is not intended to be invoked directly.
2021-07-26 11:20:50 +00:00
.SH OPTIONS
.TP
2021-11-05 18:48:55 +00:00
\f[B]monitor\f[R] = \f[I]-1\f[R]
pinentry-dmenu is displayed on the monitor number supplied.
Monitor numbers are starting from 0.
Value -1 for focused monitor.
2021-07-26 11:20:50 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]center_width\f[R] = \f[I]1024\f[R]
Defines the width for the `center' menu.
Value -1 for full width.
2021-07-27 11:22:27 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]embedded\f[R] = \f[I]false\f[R]
2021-07-26 11:20:50 +00:00
Embed into window.
.TP
\f[B]line_height\f[R] = \f[I]25\f[R]
2021-11-05 18:48:55 +00:00
Defines menu line of at least `line_height' pixels tall.
2021-07-26 11:20:50 +00:00
.TP
\f[B]border_width\f[R] = \f[I]1\f[R]
2021-07-26 16:17:19 +00:00
Defines the border width for the menu.
.TP
2021-11-05 18:48:55 +00:00
\f[B]min_password_length\f[R] = \f[I]32\f[R]
The minimal space of the password field.
This value has affect to the description field after the password field.
2021-07-26 11:20:50 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]prompt_fg_alpha\f[R] = \f[I]255\f[R]
2021-07-28 11:43:42 +00:00
Defines the prompt foreground alpha value.
2021-11-05 18:48:55 +00:00
Values between \f[I]0\f[R] (transparent) and \f[I]255\f[R] (opaque) are
supported.
2021-07-28 11:43:42 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]prompt_bg_alpha\f[R] = \f[I]255\f[R]
2021-07-28 11:43:42 +00:00
Defines the prompt background alpha value.
.TP
2021-11-05 18:48:55 +00:00
\f[B]normal_fg_alpha\f[R] = \f[I]255\f[R]
2021-07-28 11:43:42 +00:00
Defines the normal foreground alpha value.
.TP
2021-11-05 18:48:55 +00:00
\f[B]normal_bg_alpha\f[R] = \f[I]230\f[R]
2021-07-28 11:43:42 +00:00
Defines the normal background alpha value.
.TP
2021-11-05 18:48:55 +00:00
\f[B]select_fg_alpha\f[R] = \f[I]255\f[R]
2021-07-28 11:43:42 +00:00
Defines the selected foreground alpha value.
.TP
2021-11-05 18:48:55 +00:00
\f[B]select_bg_alpha\f[R] = \f[I]255\f[R]
2021-07-28 11:43:42 +00:00
Defines the selected background alpha value.
.TP
2021-11-05 18:48:55 +00:00
\f[B]desc_fg_alpha\f[R] = \f[I]255\f[R]
2021-07-28 11:43:42 +00:00
Defines the description foreground alpha value.
.TP
2021-11-05 18:48:55 +00:00
\f[B]desc_bg_alpha\f[R] = \f[I]255\f[R]
2021-07-28 11:43:42 +00:00
Defines the description background alpha value.
.TP
2021-11-05 18:48:55 +00:00
\f[B]position\f[R] = \f[I]\[lq]center\[rq]\f[R]
2021-11-06 08:18:41 +00:00
Defines the position of the menu.
2021-11-05 18:48:55 +00:00
\f[I]bottom\f[R], \f[I]center\f[R] and \f[I]top\f[R] are supported.
.TP
2022-08-28 07:20:53 +00:00
\f[B]font\f[R] = \f[I]\[lq]DejaVuSansMono Nerd Font Mono:pixelsize=16\[rq]\f[R]
2021-07-27 16:53:48 +00:00
Defines the font or font set used.
2021-07-26 11:20:50 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]prompt\f[R] = \f[I]\[lq]\[lq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the prompt to be displayed to the left of the input field.
.TP
2021-11-05 18:48:55 +00:00
\f[B]asterisk\f[R] = \f[I]\[lq]*\[rq]\f[R]
2021-07-27 16:53:48 +00:00
Defines the symbol which is showed for each typed character.
.TP
2021-11-05 18:48:55 +00:00
\f[B]prompt_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the prompt foreground color.
2021-11-05 18:48:55 +00:00
\f[I]#RGB\f[R], \f[I]#RRGGBB\f[R] and X color names are supported.
2021-07-26 11:20:50 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]prompt_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the prompt background color.
.TP
2021-11-05 18:48:55 +00:00
\f[B]normal_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the normal foreground color.
.TP
2021-11-05 18:48:55 +00:00
\f[B]normal_bg\f[R] = \f[I]\[lq]#000000\[rq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the normal background color.
.TP
2021-11-05 18:48:55 +00:00
\f[B]select_fg\f[R] = \f[I]\[lq]#ffffff\[rq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the selected foreground color.
.TP
2021-11-05 18:48:55 +00:00
\f[B]select_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the selected background color.
.TP
2021-11-05 18:48:55 +00:00
\f[B]desc_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the description foreground color.
.TP
2021-11-05 18:48:55 +00:00
\f[B]desc_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
2021-07-26 11:20:50 +00:00
Defines the description background color.
.SH USAGE
2021-11-05 18:48:55 +00:00
.PP
\f[B]pinentry-dmenu\f[R] is completely controlled by the keyboard.
2021-07-26 11:20:50 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]Return\f[R]
2021-07-26 11:20:50 +00:00
Confirm input
.TP
2021-11-05 18:48:55 +00:00
\f[B]Ctrl-Return\f[R]
2021-07-26 11:20:50 +00:00
Confirm input
.TP
2021-11-05 18:48:55 +00:00
\f[B]Shift-Return\f[R]
2021-07-26 11:20:50 +00:00
Confirm input
.TP
2021-11-05 18:48:55 +00:00
\f[B]Escape\f[R]
2021-07-26 11:20:50 +00:00
Cancel input
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-c\f[R]
2021-07-26 11:20:50 +00:00
Escape
2021-11-05 18:48:55 +00:00
.PP
\f[B]\f[BI]Confirm Mode\f[B]\f[R]
2021-07-26 11:20:50 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]Down\f[R]
2021-07-26 11:20:50 +00:00
Right
.TP
2021-11-05 18:48:55 +00:00
\f[B]End\f[R]
2021-07-26 11:20:50 +00:00
Right
.TP
2021-11-05 18:48:55 +00:00
\f[B]Home\f[R]
2021-07-26 11:20:50 +00:00
Left
.TP
2021-11-05 18:48:55 +00:00
\f[B]Next\f[R]
2021-07-26 11:20:50 +00:00
Right
.TP
2021-11-05 18:48:55 +00:00
\f[B]Prior\f[R]
2021-07-26 11:20:50 +00:00
Left
.TP
2021-11-05 18:48:55 +00:00
\f[B]Up\f[R]
2021-07-26 11:20:50 +00:00
Left
.TP
2021-11-05 18:48:55 +00:00
\f[B]g\f[R]
2021-07-26 11:20:50 +00:00
Cancel input
.TP
2021-11-05 18:48:55 +00:00
\f[B]G\f[R]
2021-07-26 11:20:50 +00:00
Cancel input
.TP
2021-11-05 18:48:55 +00:00
\f[B]h\f[R]
2021-07-26 11:20:50 +00:00
Left
.TP
2021-11-05 18:48:55 +00:00
\f[B]j\f[R]
2021-07-26 11:20:50 +00:00
Left
.TP
2021-11-05 18:48:55 +00:00
\f[B]k\f[R]
2021-07-26 11:20:50 +00:00
Right
.TP
2021-11-05 18:48:55 +00:00
\f[B]l\f[R]
2021-07-26 11:20:50 +00:00
Right
.TP
2021-11-05 18:48:55 +00:00
\f[B]n\f[R]
2021-07-26 11:20:50 +00:00
Confirm with no
.TP
2021-11-05 18:48:55 +00:00
\f[B]N\f[R]
2021-07-26 11:20:50 +00:00
Confirm with no
.TP
2021-11-05 18:48:55 +00:00
\f[B]y\f[R]
2021-07-26 11:20:50 +00:00
Confirm with yes
.TP
2021-11-05 18:48:55 +00:00
\f[B]Y\f[R]
2021-07-26 11:20:50 +00:00
Confirm with yes
2021-11-05 18:48:55 +00:00
.PP
\f[B]\f[BI]Pin Mode\f[B]\f[R]
2021-07-26 11:20:50 +00:00
.TP
2021-11-05 18:48:55 +00:00
\f[B]End\f[R]
2021-07-26 11:20:50 +00:00
Move cursor to the line end
.TP
2021-11-05 18:48:55 +00:00
\f[B]Home\f[R]
2021-07-26 11:20:50 +00:00
Move cursor to the line begin
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-a\f[R]
2021-07-26 11:20:50 +00:00
Home
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-b\f[R]
2021-07-26 11:20:50 +00:00
Left
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-d\f[R]
2021-07-26 11:20:50 +00:00
Delete
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-e\f[R]
2021-07-26 11:20:50 +00:00
End
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-f\f[R]
2021-07-26 11:20:50 +00:00
Right
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-g\f[R]
2021-07-26 11:20:50 +00:00
Escape
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-h\f[R]
2021-07-26 11:20:50 +00:00
Backspace
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-k\f[R]
2021-07-26 11:20:50 +00:00
Delete line right
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-u\f[R]
2021-07-26 11:20:50 +00:00
Delete line left
.TP
2021-11-05 18:48:55 +00:00
\f[B]C-v\f[R]
2021-07-26 11:20:50 +00:00
Paste from primary X selection
.SH EXAMPLES
2021-11-05 18:48:55 +00:00
.PP
2021-07-26 11:20:50 +00:00
monitor = -1;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-28 08:08:24 +00:00
center_width = 1024;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-26 11:20:50 +00:00
embedded = false;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
line_height = 25;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
border_width = 1;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-27 08:10:28 +00:00
min_password_length = 32;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-28 11:43:42 +00:00
prompt_fg_alpha = 255;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-28 11:43:42 +00:00
prompt_bg_alpha = 255;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-28 11:43:42 +00:00
normal_fg_alpha = 255;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-28 11:43:42 +00:00
normal_bg_alpha = 230;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-28 11:43:42 +00:00
select_fg_alpha = 255;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-28 11:43:42 +00:00
select_bg_alpha = 255;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-28 11:43:42 +00:00
desc_fg_alpha = 255;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
2021-07-31 12:56:52 +00:00
desc_bg_alpha = 255;
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
position = \[lq]center\[rq];
.PD 0
.P
.PD
2022-03-12 18:33:32 +00:00
font = \[lq]DejaVuSansMono Nerd Font:pixelsize=16\[rq];
2021-11-05 18:48:55 +00:00
.PD 0
.P
.PD
prompt = \[lq]\[lq];
.PD 0
.P
.PD
asterisk = \[lq]*\[rq];
.PD 0
.P
.PD
prompt_fg = \[lq]#cccccc\[rq];
.PD 0
.P
.PD
prompt_bg = \[lq]#4185d7\[rq];
.PD 0
.P
.PD
normal_fg = \[lq]#cccccc\[rq];
.PD 0
.P
.PD
normal_bg = \[lq]#000000\[rq];
.PD 0
.P
.PD
select_fg = \[lq]#ffffff\[rq];
.PD 0
.P
.PD
select_bg = \[lq]#4185d7\[rq];
.PD 0
.P
.PD
desc_fg = \[lq]#cccccc\[rq];
.PD 0
.P
.PD
desc_bg = \[lq]#4185d7\[rq];
.SH BUGS
.PP
See GitHub Issues:
\f[I]https://github.com/mrdotx/pinentry-dmenu/issues\f[R]
2021-07-26 11:20:50 +00:00
.SH AUTHORS
2021-11-05 18:48:55 +00:00
.PP
\f[B]pinentry-dmenu\f[R] is a fork of \f[B]dmenu\f[R]
<\f[I]https://tools.suckless.org/dmenu\f[R]> and uses the api of
\f[B]pinentry\f[R], a GnuPG tool.
2021-07-26 11:20:50 +00:00
.PD 0
.P
.PD
2021-11-05 18:48:55 +00:00
\f[B]pinentry-dmenu\f[R] was written by mrdotx
<\f[I]klassiker\[at]gmx.de\f[R]>
2021-07-26 11:20:50 +00:00
.SH SEE ALSO
2021-11-05 18:48:55 +00:00
.PP
\f[B]dmenu\f[R](1), \f[B]dwm\f[R](1), \f[B]gpg-agent\f[R](1)
.SH LICENSE
.PP
2021-11-06 08:18:41 +00:00
See the \f[I]LICENSE.md\f[R] file for the terms of redistribution.