created with make man
This commit is contained in:
parent
ad80a28027
commit
bf2bd752b6
358
pinentry-dmenu.1
358
pinentry-dmenu.1
@ -1,279 +1,335 @@
|
|||||||
.TH PINENTRY-DMENU 1 "DATE" pinentry-dmenu\-VERSION "pinentry-dmenu Manual"
|
.TH "PINENTRY-DMENU" "1" "" "Version-VERSION" "pinentry-dmenu Manual"
|
||||||
|
.hy
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
.PP
|
||||||
pinentry-dmenu - a pinentry program based on dmenu
|
pinentry-dmenu - a pinentry program based on dmenu
|
||||||
.SH DESCRIPTION
|
|
||||||
.B pinentry-dmenu
|
|
||||||
is a dmenu- and pinentry-based passphrase dialog called from the
|
|
||||||
.BR gpg-agent (1)
|
|
||||||
daemon. It is not intended to be invoked directly.
|
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
Set the
|
.PP
|
||||||
.B pinentry-program
|
Set the \f[B]pinentry-program\f[R] in
|
||||||
in
|
\f[I]\[ti]/.gnupg/gpg-agent.conf\f[R] to \f[B]pinentry-dmenu\f[R] to use
|
||||||
.IR ~/.gnupg/gpg-agent.conf
|
the program as the regular dialog for \f[B]gpg-agent\f[R].
|
||||||
to
|
|
||||||
.B pinentry-dmenu
|
|
||||||
to use the program as the regular dialog for
|
|
||||||
.BR gpg-agent .
|
|
||||||
.PP
|
.PP
|
||||||
The configuration is placed in
|
The configuration is placed in
|
||||||
.IR ~/.gnupg/pinentry-dmenu.conf .
|
\f[I]\[ti]/.gnupg/pinentry-dmenu.conf\f[R].
|
||||||
You can change the path to the config file with the environment variable
|
You can change the path to the config file with the environment variable
|
||||||
.IR GNUPGHOME .
|
\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.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BI "monitor = " "-1"
|
\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.
|
pinentry-dmenu is displayed on the monitor number supplied.
|
||||||
|
Monitor numbers are starting from 0.
|
||||||
.TP
|
.TP
|
||||||
.BI "center_width = " "1024"
|
\f[B]center_width\f[R] = \f[I]1024\f[R]
|
||||||
Defines the width for the 'center' menu.
|
Defines the width for the `center' menu.
|
||||||
.TP
|
.TP
|
||||||
.BI "embedded = " "false"
|
\f[B]embedded\f[R] = \f[I]false\f[R]
|
||||||
Embed into window.
|
Embed into window.
|
||||||
.TP
|
.TP
|
||||||
.BI "line_height = " "22"
|
\f[B]line_height\f[R] = \f[I]22\f[R]
|
||||||
Defines menu line of at least 'line_height' pixels tall.
|
Defines menu line of at least `line_height' pixels tall.
|
||||||
.TP
|
.TP
|
||||||
.BI "border_width = " "2"
|
\f[B]border_width\f[R] = \f[I]2\f[R]
|
||||||
Defines the border width for the menu.
|
Defines the border width for the menu.
|
||||||
.TP
|
.TP
|
||||||
.BI "min_password_length = " "32"
|
\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.
|
The minimal space of the password field.
|
||||||
|
This value has affect to the description field after the password field.
|
||||||
.TP
|
.TP
|
||||||
.BI "prompt_fg_alpha = " "255"
|
\f[B]prompt_fg_alpha\f[R] = \f[I]255\f[R]
|
||||||
Defines the prompt foreground alpha value.
|
Defines the prompt foreground alpha value.
|
||||||
Values between
|
Values between \f[I]0\f[R] (transparent) and \f[I]255\f[R] (opaque) are
|
||||||
.IR 0
|
supported.
|
||||||
(transparent) and
|
|
||||||
.IR 255
|
|
||||||
(opaque) are supported.
|
|
||||||
.TP
|
.TP
|
||||||
.BI "prompt_bg_alpha = " "255"
|
\f[B]prompt_bg_alpha\f[R] = \f[I]255\f[R]
|
||||||
Defines the prompt background alpha value.
|
Defines the prompt background alpha value.
|
||||||
.TP
|
.TP
|
||||||
.BI "normal_fg_alpha = " "255"
|
\f[B]normal_fg_alpha\f[R] = \f[I]255\f[R]
|
||||||
Defines the normal foreground alpha value.
|
Defines the normal foreground alpha value.
|
||||||
.TP
|
.TP
|
||||||
.BI "normal_bg_alpha = " "230"
|
\f[B]normal_bg_alpha\f[R] = \f[I]230\f[R]
|
||||||
Defines the normal background alpha value.
|
Defines the normal background alpha value.
|
||||||
.TP
|
.TP
|
||||||
.BI "select_fg_alpha = " "255"
|
\f[B]select_fg_alpha\f[R] = \f[I]255\f[R]
|
||||||
Defines the selected foreground alpha value.
|
Defines the selected foreground alpha value.
|
||||||
.TP
|
.TP
|
||||||
.BI "select_bg_alpha = " "255"
|
\f[B]select_bg_alpha\f[R] = \f[I]255\f[R]
|
||||||
Defines the selected background alpha value.
|
Defines the selected background alpha value.
|
||||||
.TP
|
.TP
|
||||||
.BI "desc_fg_alpha = " "255"
|
\f[B]desc_fg_alpha\f[R] = \f[I]255\f[R]
|
||||||
Defines the description foreground alpha value.
|
Defines the description foreground alpha value.
|
||||||
.TP
|
.TP
|
||||||
.BI "desc_bg_alpha = " "255"
|
\f[B]desc_bg_alpha\f[R] = \f[I]255\f[R]
|
||||||
Defines the description background alpha value.
|
Defines the description background alpha value.
|
||||||
.TP
|
.TP
|
||||||
.BI "position = " """center"""
|
\f[B]position\f[R] = \f[I]\[lq]center\[rq]\f[R]
|
||||||
Defines the osition of the menu.
|
Defines the osition of the menu.
|
||||||
.IR bottom ,
|
\f[I]bottom\f[R], \f[I]center\f[R] and \f[I]top\f[R] are supported.
|
||||||
.I center
|
|
||||||
and
|
|
||||||
.I top
|
|
||||||
are supported.
|
|
||||||
.TP
|
.TP
|
||||||
.BI "font = " """DejaVuSansMono Nerd Font:pixelsize=16:antialias=true:autohint=true"""
|
\f[B]font\f[R] = \f[I]\[lq]DejaVuSansMono Nerd Font:pixelsize=16:antialias=true:autohint=true\[rq]\f[R]
|
||||||
Defines the font or font set used.
|
Defines the font or font set used.
|
||||||
.TP
|
.TP
|
||||||
.BI "prompt = " """"""
|
\f[B]prompt\f[R] = \f[I]\[lq]\[lq]\f[R]
|
||||||
Defines the prompt to be displayed to the left of the input field.
|
Defines the prompt to be displayed to the left of the input field.
|
||||||
.TP
|
.TP
|
||||||
.BI "asterisk = " """*"""
|
\f[B]asterisk\f[R] = \f[I]\[lq]*\[rq]\f[R]
|
||||||
Defines the symbol which is showed for each typed character.
|
Defines the symbol which is showed for each typed character.
|
||||||
.TP
|
.TP
|
||||||
.BI "prompt_fg = " """#cccccc"""
|
\f[B]prompt_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
|
||||||
Defines the prompt foreground color.
|
Defines the prompt foreground color.
|
||||||
.IR #RGB ,
|
\f[I]#RGB\f[R], \f[I]#RRGGBB\f[R] and X color names are supported.
|
||||||
.I #RRGGBB
|
|
||||||
and X color names are supported.
|
|
||||||
.TP
|
.TP
|
||||||
.BI "prompt_bg = " """#4185d7"""
|
\f[B]prompt_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
|
||||||
Defines the prompt background color.
|
Defines the prompt background color.
|
||||||
.TP
|
.TP
|
||||||
.BI "normal_fg = " """#cccccc"""
|
\f[B]normal_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
|
||||||
Defines the normal foreground color.
|
Defines the normal foreground color.
|
||||||
.TP
|
.TP
|
||||||
.BI "normal_bg = " """#000000"""
|
\f[B]normal_bg\f[R] = \f[I]\[lq]#000000\[rq]\f[R]
|
||||||
Defines the normal background color.
|
Defines the normal background color.
|
||||||
.TP
|
.TP
|
||||||
.BI "select_fg = " """#ffffff"""
|
\f[B]select_fg\f[R] = \f[I]\[lq]#ffffff\[rq]\f[R]
|
||||||
Defines the selected foreground color.
|
Defines the selected foreground color.
|
||||||
.TP
|
.TP
|
||||||
.BI "select_bg = " """#4185d7"""
|
\f[B]select_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
|
||||||
Defines the selected background color.
|
Defines the selected background color.
|
||||||
.TP
|
.TP
|
||||||
.BI "desc_fg = " """#cccccc"""
|
\f[B]desc_fg\f[R] = \f[I]\[lq]#cccccc\[rq]\f[R]
|
||||||
Defines the description foreground color.
|
Defines the description foreground color.
|
||||||
.TP
|
.TP
|
||||||
.BI "desc_bg = " """#4185d7"""
|
\f[B]desc_bg\f[R] = \f[I]\[lq]#4185d7\[rq]\f[R]
|
||||||
Defines the description background color.
|
Defines the description background color.
|
||||||
|
|
||||||
.SH USAGE
|
.SH USAGE
|
||||||
pinentry-dmenu is completely controlled by the keyboard.
|
.PP
|
||||||
|
\f[B]pinentry-dmenu\f[R] is completely controlled by the keyboard.
|
||||||
.TP
|
.TP
|
||||||
.B Return
|
\f[B]Return\f[R]
|
||||||
Confirm input
|
Confirm input
|
||||||
.TP
|
.TP
|
||||||
.B Ctrl-Return
|
\f[B]Ctrl-Return\f[R]
|
||||||
Confirm input
|
Confirm input
|
||||||
.TP
|
.TP
|
||||||
.B Shift\-Return
|
\f[B]Shift-Return\f[R]
|
||||||
Confirm input
|
Confirm input
|
||||||
.TP
|
.TP
|
||||||
.B Escape
|
\f[B]Escape\f[R]
|
||||||
Cancel input
|
Cancel input
|
||||||
.TP
|
.TP
|
||||||
.B C\-c
|
\f[B]C-c\f[R]
|
||||||
Escape
|
Escape
|
||||||
|
.PP
|
||||||
.SS Confirm Mode
|
\f[B]\f[BI]Confirm Mode\f[B]\f[R]
|
||||||
.TP
|
.TP
|
||||||
.B Down
|
\f[B]Down\f[R]
|
||||||
Right
|
Right
|
||||||
.TP
|
.TP
|
||||||
.B End
|
\f[B]End\f[R]
|
||||||
Right
|
Right
|
||||||
.TP
|
.TP
|
||||||
.B Home
|
\f[B]Home\f[R]
|
||||||
Left
|
Left
|
||||||
.TP
|
.TP
|
||||||
.B Next
|
\f[B]Next\f[R]
|
||||||
Right
|
Right
|
||||||
.TP
|
.TP
|
||||||
.B Prior
|
\f[B]Prior\f[R]
|
||||||
Left
|
Left
|
||||||
.TP
|
.TP
|
||||||
.B Up
|
\f[B]Up\f[R]
|
||||||
Left
|
Left
|
||||||
.TP
|
.TP
|
||||||
.B g
|
\f[B]g\f[R]
|
||||||
Cancel input
|
Cancel input
|
||||||
.TP
|
.TP
|
||||||
.B G
|
\f[B]G\f[R]
|
||||||
Cancel input
|
Cancel input
|
||||||
.TP
|
.TP
|
||||||
.B h
|
\f[B]h\f[R]
|
||||||
Left
|
Left
|
||||||
.TP
|
.TP
|
||||||
.B j
|
\f[B]j\f[R]
|
||||||
Left
|
Left
|
||||||
.TP
|
.TP
|
||||||
.B k
|
\f[B]k\f[R]
|
||||||
Right
|
Right
|
||||||
.TP
|
.TP
|
||||||
.B l
|
\f[B]l\f[R]
|
||||||
Right
|
Right
|
||||||
.TP
|
.TP
|
||||||
.B n
|
\f[B]n\f[R]
|
||||||
Confirm with no
|
Confirm with no
|
||||||
.TP
|
.TP
|
||||||
.B N
|
\f[B]N\f[R]
|
||||||
Confirm with no
|
Confirm with no
|
||||||
.TP
|
.TP
|
||||||
.B y
|
\f[B]y\f[R]
|
||||||
Confirm with yes
|
Confirm with yes
|
||||||
.TP
|
.TP
|
||||||
.B Y
|
\f[B]Y\f[R]
|
||||||
Confirm with yes
|
Confirm with yes
|
||||||
|
.PP
|
||||||
.SS Pin Mode
|
\f[B]\f[BI]Pin Mode\f[B]\f[R]
|
||||||
.TP
|
.TP
|
||||||
.B End
|
\f[B]End\f[R]
|
||||||
Move cursor to the line end
|
Move cursor to the line end
|
||||||
.TP
|
.TP
|
||||||
.B Home
|
\f[B]Home\f[R]
|
||||||
Move cursor to the line begin
|
Move cursor to the line begin
|
||||||
.TP
|
.TP
|
||||||
.B C\-a
|
\f[B]C-a\f[R]
|
||||||
Home
|
Home
|
||||||
.TP
|
.TP
|
||||||
.B C\-b
|
\f[B]C-b\f[R]
|
||||||
Left
|
Left
|
||||||
.TP
|
.TP
|
||||||
.B C\-d
|
\f[B]C-d\f[R]
|
||||||
Delete
|
Delete
|
||||||
.TP
|
.TP
|
||||||
.B C\-e
|
\f[B]C-e\f[R]
|
||||||
End
|
End
|
||||||
.TP
|
.TP
|
||||||
.B C\-f
|
\f[B]C-f\f[R]
|
||||||
Right
|
Right
|
||||||
.TP
|
.TP
|
||||||
.B C\-g
|
\f[B]C-g\f[R]
|
||||||
Escape
|
Escape
|
||||||
.TP
|
.TP
|
||||||
.B C\-h
|
\f[B]C-h\f[R]
|
||||||
Backspace
|
Backspace
|
||||||
.TP
|
.TP
|
||||||
.B C\-k
|
\f[B]C-k\f[R]
|
||||||
Delete line right
|
Delete line right
|
||||||
.TP
|
.TP
|
||||||
.B C\-u
|
\f[B]C-u\f[R]
|
||||||
Delete line left
|
Delete line left
|
||||||
.TP
|
.TP
|
||||||
.B C\-v
|
\f[B]C-v\f[R]
|
||||||
Paste from primary X selection
|
Paste from primary X selection
|
||||||
|
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
.sp
|
.PP
|
||||||
.if n \{
|
|
||||||
.RS 4
|
|
||||||
.\}
|
|
||||||
.nf
|
|
||||||
monitor = -1;
|
monitor = -1;
|
||||||
center_width = 1024;
|
|
||||||
embedded = false;
|
|
||||||
line_height = 22;
|
|
||||||
border_width = 2;
|
|
||||||
min_password_length = 32;
|
|
||||||
prompt_fg_alpha = 255;
|
|
||||||
prompt_bg_alpha = 255;
|
|
||||||
normal_fg_alpha = 255;
|
|
||||||
normal_bg_alpha = 230;
|
|
||||||
select_fg_alpha = 255;
|
|
||||||
select_bg_alpha = 255;
|
|
||||||
desc_fg_alpha = 255;
|
|
||||||
desc_bg_alpha = 255;
|
|
||||||
position = "center";
|
|
||||||
font = "DejaVuSansMono Nerd Font:pixelsize=16:antialias=true:autohint=true";
|
|
||||||
prompt = "";
|
|
||||||
asterisk = "*";
|
|
||||||
prompt_fg = "#cccccc";
|
|
||||||
prompt_bg = "#4185d7";
|
|
||||||
normal_fg = "#cccccc";
|
|
||||||
normal_bg = "#000000";
|
|
||||||
select_fg = "#ffffff";
|
|
||||||
select_bg = "#4185d7";
|
|
||||||
desc_fg = "#cccccc";
|
|
||||||
desc_bg = "#4185d7";
|
|
||||||
|
|
||||||
.SH AUTHORS
|
|
||||||
.B pinentry-dmenu
|
|
||||||
is a fork of
|
|
||||||
.B dmenu
|
|
||||||
<https://tools.suckless.org/dmenu>
|
|
||||||
and uses the api of
|
|
||||||
.B pinentry
|
|
||||||
, a GnuPG tool.
|
|
||||||
.PD 0
|
.PD 0
|
||||||
.P
|
.P
|
||||||
.PD
|
.PD
|
||||||
.B pinentry-dmenu
|
center_width = 1024;
|
||||||
was written by mrdotx
|
.PD 0
|
||||||
.RI < klassiker@gmx.de >
|
.P
|
||||||
|
.PD
|
||||||
.SH REPORTING BUGS
|
embedded = false;
|
||||||
Report pinentry-dmenu bugs to <BUGREPORT>
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
line_height = 22;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
border_width = 2;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
min_password_length = 32;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
prompt_fg_alpha = 255;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
prompt_bg_alpha = 255;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
normal_fg_alpha = 255;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
normal_bg_alpha = 230;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
select_fg_alpha = 255;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
select_bg_alpha = 255;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
desc_fg_alpha = 255;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
desc_bg_alpha = 255;
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
position = \[lq]center\[rq];
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
font = \[lq]DejaVuSansMono Nerd
|
||||||
|
Font:pixelsize=16:antialias=true:autohint=true\[rq];
|
||||||
|
.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]
|
||||||
|
.SH AUTHORS
|
||||||
|
.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.
|
||||||
|
.PD 0
|
||||||
|
.P
|
||||||
|
.PD
|
||||||
|
\f[B]pinentry-dmenu\f[R] was written by mrdotx
|
||||||
|
<\f[I]klassiker\[at]gmx.de\f[R]>
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR dmenu (1),
|
.PP
|
||||||
.BR dwm (1),
|
\f[B]dmenu\f[R](1), \f[B]dwm\f[R](1), \f[B]gpg-agent\f[R](1)
|
||||||
.BR gpg-agent (1)
|
.SH LICENSE
|
||||||
|
.PP
|
||||||
|
See the LICENSE.md file for the terms of redistribution.
|
||||||
|
Loading…
Reference in New Issue
Block a user