🔒 Replace the default KeePass Windows ME–style tray icon with a wireframe padlock icon to match the style of built-in tray icons in Windows 10 and 11.
APACHE-2.0 License
Replace the default KeePass Windows 98–style tray icon with a wireframe padlock icon to match the style of built-in tray icons in Windows 10 and 11.
KeePassTrayIconLockState.dll
from the latest release.KeePassTrayIconLockState.dll
to the Plugins
directory inside your KeePass installation directory, or a subfolder, such as
C:\Program Files\KeePass Password Safe 2\Plugins\KeePassTrayIconLockState.dll
These same instructions also apply to upgrades of existing plugin installations.
There is no required configuration for this plugin. Optional settings are described below.
To optionally override the Windows 10/11 style wireframe icons that this plugin renders, you can create your own custom icon files in same directory as this plugin's KeePassTrayIconLockState.dll
file. This is useful if you don't like the wireframe icons from this plugin, but you also don't want to fork or reimplement this entire plugin and all its logic just to change a few image resources.
Each of the icon files can contain a 16×16px image for normal DPI (100%) screens as well as a 32×32px image for high DPI (≈200%) screens. If your scaling factor is not represented, such as 150%, you can supply other dimensions as well in the same file, such as 24×24px, otherwise, Windows will scale down the larger image so that it doesn't look blurry.
You can use any icon editing program you want to edit or convert images to ICO files, such as Iconaton. 32-bit color (8bpc with transparency) is supported.
Icon files with the following filenames will be used by this plugin.
icon filename | database state | OS theme | default plugin icon to replace |
---|---|---|---|
opening-lighttaskbar.ico |
opening | light | black padlock and hourglass |
opening-darktaskbar.ico |
opening | dark | white padlock and hourglass |
open-lighttaskbar.ico |
open | light | black padlock |
open-darktaskbar.ico |
open | dark | white padlock |
Any states for which you don't supply an icon file will be rendered with this plugin's built-in wireframe icons, so you don't have to provide all four files if you don't want to.
Changes to these icon files take effect after restarting KeePass.