I've been able to get autokey working correctly under Trixie as follows: - implement patch given here: https://github.com/autokey/autokey/issues/1013#issuecomment-2637464464
- rename all hidden json files in the phrases directory to remove the leading period