How to Enable Global Autotype in KeePassXC (Fedora)
This article describes how to enable global autotype in KeePassXC on Fedora Linux 42 Workstation Edition.
Instructions
Install KeePassXC via Software App from Fedora Linux RPM.
According to the documentation at https://keepassxc.org/docs/KeePassXC_UserGuide#_auto_type :
Auto-Type will be disabled when run with a Wayland compositor on Linux. To use Auto-Type in this environment, you must set
QT_QPA_PLATFORM=xcbor start KeePassXC with the-platform xcbcommand-line flag.
sudo nano /usr/share/applications/org.keepasscx.KeePassXC.desktop
Warning: Probably this is not the best way, as this file probably will be overwritten with the next update of the RPM. This is only a reminder for me to reproduce this and perhaps improve on this solution in the future.
Search for the line starting with Exec which for me looked like this:
Exec=keepassxc %f
Add the -platform xcb so that it looks like this:
Exec=keepassxc -platform xcb %f
