When setting up Auto-type in #KeepassX you can identify the title of the window in which the password prompt appears (or use the window titl[…]