Description: This plugin let's you look up your KeepassXC entries and copy the passwords (and usernames as secondary action) to the system clipboard. It also comes with a small CLI tool to query that information manually.
Requirements: - Python 3.8 or higher - KeepassXC installed and configured for Freedesktop.org Secret Service access (See below)
Enable Secret Service in KeepassXC: - Open KeepassXC client - Go to: Tools > Settings > Secret Service Integration - Check "Enable KeepassXC Freedesktop.org Secret Service integration" - for each used database: - Go to: Database > Database Settings > Secret Service integration - Select "Expose entries under this group" - Select the folder that you wish to make available through Secret Service (Select Root if you want to expose all) - Click OK
Usage Instructions: - Launch KRunner. - Enter a search term from the title of the password entry you wish to obtain credentials for - Mouse: can click on the entry you are looking for to copy the password to the clipboard. - Mouse: can click on the icon to the right of the entry to copy the username. - Keyboard: navigate to the entry you want by using the arrow keys. - Keyboard: Press enter to copy the password to the clipboard - Keyboard: Press shift + enter, to copy the username to the clipboard.
config file On first start the plugin will create a config file with default values in ~/.config/krunner-keepassxc/config (~/.config being $XDG_CONFIG_HOME) where you can add a few settings: - trigger word (default: empty) - max number of entries to show (default: 5) - icon (default: object-unlock, you can find possible values in /usr/share/icons/) - totp_as_extra_entry (true / false, default: true): if you have TOTP set up in any entries they will show up as separate result entries with an added TOTP to the name, if this is set to false you will instead get a second action icon to copy the TOTP. Due to krunner limitations this action has no keyboard shortcut and will show up for all entries, even for those without TOTP configured
The config file gets read on startup, which you can trigger manually by running `systemctl restart --user krunner-keepassxc.service`
More info and alternative installation methods here https://github.com/naglfar/krunner-keepassxc/blob/master/README.md
Perhaps you can fix this error:
kf.runner: KRunner D-Bus plugin "krunner-keepassxc" installs the .desktop file ("krunner-keepassxc.desktop") still in the kservices5 folder. Please install it to ${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins.
This is great, thanks to the author!
Some notes for others who may have trouble getting this working:
1. Be sure you have the dependencies installed: xsel, xclip, and python 3.6 .
2. I had to install python-setproctitle additionally.
3. You need to enable Secret Service in two places through the KeepassXC desktop client:
A. Database > Database Settings > Secret Service > Expose entries under this group > [Select group]
B. Tools > Settings > Secret Service > Enable KeepassXC Freedesktop.org Secret Service integration
4. Ensure that the plugin is selected in krunner settings.
To use:
1. Launch krunner.
2. Enter a search term based on the title of the entry you would like credentials for; there is no need for a keyword to use this plugin.
3. Using the mouse, click on the entry you are looking for to copy the password to the clipboard. To copy the username, click on the icon to the right of the entry.
4. If you are a keyboard user, use the arrow keys to navigate to the correct entry. Press enter to copy the password to the clipboard, or press tab, then enter, to copy the username to the clipboard.
Ratings & Comments
3 Comments
Perhaps you can fix this error: kf.runner: KRunner D-Bus plugin "krunner-keepassxc" installs the .desktop file ("krunner-keepassxc.desktop") still in the kservices5 folder. Please install it to ${KDE_INSTALL_DATAROOTDIR}/krunner/dbusplugins.
This is great, thanks to the author! Some notes for others who may have trouble getting this working: 1. Be sure you have the dependencies installed: xsel, xclip, and python 3.6 . 2. I had to install python-setproctitle additionally. 3. You need to enable Secret Service in two places through the KeepassXC desktop client: A. Database > Database Settings > Secret Service > Expose entries under this group > [Select group] B. Tools > Settings > Secret Service > Enable KeepassXC Freedesktop.org Secret Service integration 4. Ensure that the plugin is selected in krunner settings. To use: 1. Launch krunner. 2. Enter a search term based on the title of the entry you would like credentials for; there is no need for a keyword to use this plugin. 3. Using the mouse, click on the entry you are looking for to copy the password to the clipboard. To copy the username, click on the icon to the right of the entry. 4. If you are a keyboard user, use the arrow keys to navigate to the correct entry. Press enter to copy the password to the clipboard, or press tab, then enter, to copy the username to the clipboard.
10 Thank you for making this amazing plugin!