I wish to be able to use the AutoType feature of KeePasssXC on my Ubuntu 21.04 system which I believe uses Wayland.
The KeePassXC User Guide states:
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=xcb or start
KeePassXC with the -platform xcb command-line flag.
Issuing the command:
/usr/bin/keepassxc -platform xcb
in the terminal gives the following message:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
How, exactly, does one use the QT_QPA_PLATFORM=wayland
?