gswitch v0.4.0
KDE Plasma on Wayland is now fully supported.
Features
- Wayland session environment (
WAYLAND_DISPLAY,XDG_SESSION_TYPE) is detected from the active session and applied in every mode — previously the service only saw X11 variables - Clipboard uses wl-clipboard in Wayland sessions even when XWayland provides a
DISPLAY, so selection conversion sees both native and X11 application selections - Keyboard layouts and the layout-switch key are read from KDE's
kxkbrc— auto-detection no longer depends onsetxkbmap, which is unavailable on Wayland - Tray icon reimplemented over D-Bus StatusNotifier (
fyne.io/systray): fixes a crash on Ubuntu 26.04 and drops thelibayatana-appindicatordependency from DEB/RPM packages
Bug Fixes
- GNOME detect provider returned gsettings schema defaults (
Super+Space) on non-GNOME desktops, shadowing the real layout-switch setting; it is now skipped outside GNOME sessions - systemd unit blocked
wl-copytemp files underProtectSystem=strict;/tmpis now writable for the service
Upgrade notes
DEB/RPM no longer depend on appindicator libraries. Config format is unchanged.