KeePass2 has the option to select from built in icons for your entries or you can customize with your own icons which are then embedded in your database. I started updating from the built in icons by grabbing the favicons from the relevant websites. While it isn’t very difficult to save these files from your web browser, I was using wget for expediency and simplicity. Motivated by a desire to make the process even more efficient, I wrote a bash shell script: favicon-dl.
It works fine for me, but I have all the default settings in place. It still needs some work on the initial setup process for creating defaults. If you want to use it right now, it will use the folder
~/Pictures/favicon for downloads, and if that folder is not present it will be created even if you answer no to the prompt. I like to keep my scripts in the
~/bin folder since that is in my path, but you can keep it where you like. Make sure that you set the executable bit after you unzip it so that it will run. (e.g.
$ chmod u+x favicon-dl)