PINENTRY-DMENU(1)

πŸ“¦ version 0.2.2, in nixos 26.05, nixpkgs unstable

🌸 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, #RRGGBB and 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