Skip to main content

Dmenu frontend for Keepass databases

Project description


PyPI - Python Version PyPI GitHub contributors

Fully featured Dmenu/Rofi/Bemenu/Wofi frontend for autotype and managing of Keepass databases.

Inspired in part by Passhole, but more dmenu and less command line focused.


pip install --user keepmenu

Ensure ~/.local/bin is in your $PATH. Run keepmenu and enter your database path, keyfile path, and password.

For full installation documention see the [installation docs][docs/].

Full Documentation

Installation - Configuration - Usage


  1. Python 3.7+
  2. Pykeepass >= 4.0.0 and pynput
  3. Dmenu, Rofi, Wofi or Bemenu
  4. (optional) Pinentry
  5. (optional) xdotool (for X), ydotool or wtype(for Wayland).


  • Supports .kdbx databases, not .kdb.
  • Auto-type username and/or password on selection. No clipboard copy/paste involved.
  • Background process allows selectable time-out for locking the database.
  • Multiple databases can be unlocked and switched on the fly.
  • Use a custom Keepass 2.x style auto-type sequence.
  • Type, view or edit any field.
  • Open the URL in the default web browser.
  • Non U.S. English keyboard languages and layouts supported via xdotool or wtype(for Wayland).
  • Edit notes using terminal or gui editor.
  • Add and Delete entries.
  • Add, delete, rename and move groups.
  • Hide selected groups from the default and 'View/Type Individual entries' views.
  • Configure the characters and groups of characters used during password generation.
  • Optional Pinentry support for secure passphrase entry.
  • Keepass field references are supported.
  • Display and manage expired passwords.
  • Add, edit and type TOTP codes.
  • Add, edit, type and delete custom attributes.


  • GPLv3


keepmenu [-h] [-a AUTOTYPE] [-d DATABASE] [-k KEY_FILE]

  • Run keepmenu or bind to keystroke combination.
  • Enter database path on first run.
  • Start typing to match entries.
  • Configure config.ini as desired.
  • More detailed usage information.


To run tests in a venv: make test


  • To install keepmen in a venv: make

  • Build man page from Markdown source: make man

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keepmenu-1.3.1.tar.gz (42.1 kB view hashes)

Uploaded source

Built Distribution

keepmenu-1.3.1-py3-none-any.whl (61.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page