Add --inputmethod plasma-keyboard to SDDM Wayland compositor (D-107)

This commit is contained in:
Pavel Isaev 2026-11-11 16:03:27 +03:00
parent 33c25730ce
commit 764234b419

View file

@ -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