How to get KeePassXC running on Ubuntu 21.04
Solution 1:
KeePassXC 2.6.4 can auto-type (with some minor bugs) in 20.10 with Wayland... so I assume that it should still work in 21.04.
However, KeePassXC is only at version 2.6.2 in the Ubuntu repos, so you have to add the KeePassXC PPA to get version 2.6.4.
Source: https://launchpad.net/~phoerious/+archive/ubuntu/keepassxc
sudo add-apt-repository ppa:phoerious/keepassxc
sudo apt-get update
Then....
sudo apt-get install keepassxc
Update #1:
To use QT_QPA_PLATFORM=wayland, if required, edit your ~/.bash_aliases file and enter a line like export QT_QPA_PLATFORM=wayland
. Log out/in.