PINENTRY-DMENU(1)
πΈ PINENTRY-DMENU πΈ
okay so welcome to the pinentry-dmenu manual page bestie, this is the whole thing, we're doing it π
β¨ NAME β¨
pinentry-dmenu β a pinentry program with the charm of dmenu π
π DESCRIPTION π
so pinentry-dmenu is this passphrase dialog that's built on dmenu and pinentry, and it gets called by the gpg-agent(1) daemon. that's it, that's the vibe. it is not intended to be invoked directly β like, do not come for it personally, it has a job and it's employed elsewhere π
π¦ SYNOPSIS π¦
okay so the way you actually turn this on: set the pinentry-program in ~/.gnupg/gpg-agent.conf to pinentry-dmenu and then it becomes the regular dialog for gpg-agent. slay.
and the configuration lives in ~/.gnupg/pinentry-dmenu.conf. lowkey important: you can change the path to the config file with the environment variable GNUPGHOME β¨
π OPTIONS π
every single one, no skips, we're thorough in this house π
asterisk = *β defines the symbol that gets showed for each typed character. ur secret little star βbottom = falseβ pinentry-dmenu appears at the bottom of the screen. floor energy π«Άmin_password_length = 32β the minimal space of the password field. heads up: this value has affect to the description field after the password field β so it's not just the password field catching strays πmonitor = -1β pinentry-dmenu is displayed on the monitor number supplied. and monitor numbers are starting from 0, don't forget π₯prompt = ""β defines the prompt to be displayed to the left of the input field. left side main character energy πfont = monospace:size=10β defines the font or font set used. the fit check πprompt_bg = #bbbbbbβ defines the prompt background color. and listen:#RGB,#RRGGBBand X color names are supported πprompt_fg = #222222β defines the prompt foreground color.normal_bg = #bbbbbbβ defines the normal background color.normal_fg = #222222β defines the normal foreground color.select_bg = #eeeeeeβ defines the selected background color.select_fg = #005577β defines the selected foreground color.desc_bg = #bbbbbbβ defines the description background color.desc_fg = #222222β defines the description foreground color.embedded = falseβ embed into window. cozy π§
β USAGE β
pinentry-dmenu is completely controlled by the keyboard. no mouse, no vibes-based clicking, keyboard only bestie.
- Return β confirm input
- Ctrl+Return β confirm input
- Shift+Return β confirm input
- Escape β cancel input
- C-c β escape
π Confirm Mode π
- Down β right
- End β right
- Home β left
- Next β right
- Prior β left
- Up β left
- g β cancel input
- G β cancel input
- h β left
- j β left
- k β right
- l β right
- n β confirm with no
- N β confirm with no
- y β confirm with yes
- Y β confirm with yes
π Pin Mode π
- End β move cursor to the line end
- Home β move cursor to the line begin
- C-a β home
- C-b β left
- C-d β delete
- C-e β end
- C-f β right
- C-g β escape
- C-h β backspace
- C-k β delete line right
- C-u β delete line left
- C-v β paste from primary X selection
π EXAMPLES π
here's a whole config, copy-paste core fr fr, exactly as written:
asterisk= "# ";
prompt = "$";
font = "Noto Sans UI:size=13";
prompt_fg = "#eeeeee";
prompt_bg = "#d9904a";
normal_fg = "#ffffff";
normal_bg = "#000000";
select_fg = "#eeeeee";
select_bg = "#d9904a";
desc_fg = "#eeeeee";
desc_bg = "#d9904a";
π AUTHORS π
so pinentry-dmenu is a fork of dmenu at https://tools.suckless.org/dmenu and it uses the api of pinentry, a GnuPG tool. and pinentry-dmenu itself was written by Moritz LΓΌdecke <ritze@skweez.net>. king behavior π
π«Ά REPORTING BUGS π«Ά
found a bug? report pinentry-dmenu bugs to https://github.com/ritze/pinentry-dmenu β they wanna hear it, no gatekeeping π
π SEE ALSO π
dmenu(1), dwm(1), gpg-agent(1)
and that's the whole page bestie, you ate that π
this was pinentry-dmenu-0.1, from October 2026 β mwah, go secure ur passphrases, ily π¦β¨
π¦ where this page comes from
- nixos 26.05: pinentry-dmenu 0.2.2
- nixpkgs unstable: pinentry-dmenu 0.2.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms