Get KeePassXC Auto-Type working, or replace it, on Hyprland
Arch's keepassxc is 2.7.12 and depends on qt5-base, qt5-x11extras and libxtst (archlinux.org package JSON). The 2.7.12 AutoType.adoc says Auto-Type is disabled under a Wayland compositor and needs QT_QPA_PLATFORM=xcb or -platform xcb. The develop AutoType.adoc describes the portal backend needing the Remote Desktop and Global Shortcuts portals and names xdg-desktop-portal-pyrtal for Hyprland and others. On this workstation xdg-desktop-portal-hyprland is 1.4.1-2 and /usr/share/xdg-desktop-portal/portals/hyprland.portal lists Screenshot, ScreenCast, GlobalShortcuts and InputCapture only. hyprwm/xdg-desktop-portal-hyprland#252 (RemoteDesktop support) is open. /usr/share/omarchy/default/hypr/envs.lua line 13 sets QT_QPA_PLATFORM to wayland;xcb, and qt5-wayland is neither installed nor in Omarchy's package lists, so the xcb fallback claim holds. The upstream desktop file has Exec=keepassxc %f, so the sed produces keepassxc -platform xcb %f. hyprctl clients prints class: and xwayland: within the grep window. Not exercised: KeePassXC is not installed here.
Symptom
KeePassXC's Auto-Type is greyed out or the global Auto-Type shortcut does nothing. On Omarchy, Auto-Type seems to run but nothing gets typed into Chromium, Firefox or the terminal, while it does type into an X11 app or a game.
Cause
Arch's keepassxc is 2.7.12, built on Qt5. KeePassXC 2.7's own documentation says Auto-Type is disabled when it runs on a Wayland compositor and only works with QT_QPA_PLATFORM=xcb or -platform xcb. Under xcb it types through X11, which only reaches XWayland windows, never native Wayland ones. The newer portal-based Auto-Type in KeePassXC's development branch needs the RemoteDesktop and GlobalShortcuts portals, and xdg-desktop-portal-hyprland 1.4.1 implements no RemoteDesktop portal (/usr/share/xdg-desktop-portal/portals/hyprland.portal lists Screenshot, ScreenCast, GlobalShortcuts and InputCapture only). On Omarchy, qt5-wayland is not installed and QT_QPA_PLATFORM is wayland;xcb, so KeePassXC already falls back to xcb: Auto-Type is offered but can only reach XWayland windows, and Omarchy runs browsers and terminals natively on Wayland.
Fix
Check which platform KeePassXC is on:
hyprctl clients | grep -B2 -A12 -i keepassxc | grep -E 'class|xwayland'
# xwayland: 1 means it is on xcb
**For browsers**, use KeePassXC's browser integration instead of Auto-Type: Tools > Settings > Browser Integration, enable it for your browser, then install the KeePassXC-Browser extension.
**For X11 targets (games, Wine, Java apps)**, force xcb so Auto-Type is enabled. On plain Arch this matters if qt5-wayland is installed. A user copy of the desktop entry survives package updates:
cp /usr/share/applications/org.keepassxc.KeePassXC.desktop ~/.local/share/applications/
sed -i 's|^Exec=keepassxc|Exec=keepassxc -platform xcb|' ~/.local/share/applications/org.keepassxc.KeePassXC.desktop
**For native Wayland apps**, there is no working Auto-Type on Hyprland today. Copy fields instead: in KeePassXC, Ctrl+B copies the username and Ctrl+C copies the password. KeePassXC's docs name xdg-desktop-portal-pyrtal as an unofficial stopgap for compositors without a RemoteDesktop portal, untested here.
Verify
With -platform xcb, focus an XWayland window (one showing xwayland: 1 in hyprctl clients) and trigger Auto-Type: the sequence is typed. In a browser, the KeePassXC-Browser icon fills the login form.