# Jason Donenfeld releases kwin-type v0.1 for auto-typing under KWin Wayland

> **Key takeaway:** kwin-type fills a KDE Plasma 6.8+ Wayland workflow gap by using KWin's fake-input protocol to auto-type text from standard input without requiring portals, EIS, or /dev/uinput.

**Published:** 2026-10-26T17:11:02+00:00 
**Source:** Phoronix Benchmarks &amp; Drivers 
**Category:** kernel-os 
**Canonical URL:** https://fosswire.org/news/jason-donenfeld-releases-kwin-type-v01-for-auto-typing-under.html 

## Summary
WireGuard creator Jason Donenfeld has released kwin-type v0.1, a new utility that enables auto-typing text from standard input under the KWin Wayland compositor. The tool addresses a specific usability regression Donenfeld encountered after upgrading to KDE Plasma 6.8 and transitioning from X11 to Wayland, where existing auto-typing solutions were either unavailable or required cumbersome workarounds.

Kwin-type requires KWin 6.8 or newer, which loosened restrictions on the fake-input protocol to allow command-line applications to inject text. The program uses the org_kde_kwin_fake_input D-Bus interface to simulate keystrokes and org_kde_kwin_keystate to handle capslock state detection. Donenfeld initially developed a portal-based alternative called portal-type using libportal and libei, but abandoned it due to complexity including persistent token management for reauthorization.

## KWin protocol changes and implementation details
- **KWin fake-input protocol:** kwin-type relies on org_kde_kwin_fake_input, which in KWin 6.8+ allows CLI applications to inject synthetic keystrokes without requiring elevated privileges or kernel-level input devices.
- **Capslock handling:** The utility queries org_kde_kwin_keystate to detect whether capslock is active, ensuring correct case for auto-typed text rather than blindly sending keycodes.
- **Standard input interface:** The program reads text from stdin and types it character-by-character, matching the behavior of Plasma's floating virtual keyboard for consistency with existing KDE input methods.
- **Rejected alternatives:** Donenfeld evaluated and discarded approaches using /dev/uinput (requires root or udev rules), virtual-keyboard-unstable-v1 (different protocol scope), and libportal+libei with persistent token storage (excessive complexity for a simple task).
- **Version and availability:** v0.1 is distributed through Donenfeld's personal Git repository rather than KDE infrastructure, indicating initial experimental status outside formal KDE release processes.

## Why it matters
For password manager users and developers who relied on X11's xdotool or similar auto-typing utilities, kwin-type provides a migration path to KDE Wayland without requiring the full libei/portal stack that GNOME and other compositors favor. The loosening of fake-input restrictions in KWin 6.8 also signals KDE's pragmatic approach to backward compatibility for power-user workflows, though it raises questions about whether other Wayland compositors will adopt comparable protocols or continue pushing toward centralized input capture through portals.