diff --git a/adapters/kde-finalize.sh b/adapters/kde-finalize.sh index 5ab1591..ec61cc5 100644 --- a/adapters/kde-finalize.sh +++ b/adapters/kde-finalize.sh @@ -13,7 +13,7 @@ cat > /job/core/etc/sddm.conf.d/20-archipelago-wayland.conf <<'SDDM' [General] DisplayServer=wayland [Wayland] -CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 +CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --inputmethod plasma-keyboard SDDM # Check the merged configuration, not just the presence of our fragment. # sddm --example-config resets to compiled defaults and cannot check precedence. @@ -37,7 +37,8 @@ for path in paths: section = line[1:-1] assert values.get(('Theme', 'Current')) == 'breeze', values assert values.get(('General', 'DisplayServer')) == 'wayland', values -print('SDDM effective configuration: Theme.Current=breeze, DisplayServer=wayland') +assert '--inputmethod plasma-keyboard' in values.get(('Wayland', 'CompositorCommand'), ''), values +print('SDDM effective configuration: Theme.Current=breeze, DisplayServer=wayland, CompositorCommand=inputmethod plasma-keyboard') SDDM_CHECK mkdir -p /job/core/etc/NetworkManager/conf.d /job/core/etc/sudoers.d /job/core/etc/containers /job/core/etc/archipelago printf '[main]\ndns=systemd-resolved\n' > /job/core/etc/NetworkManager/conf.d/20-archipelago.conf