From 38a9443571a7f17aa87afd2dd83acbe9d470ab1f Mon Sep 17 00:00:00 2001 From: exu Date: Mon, 14 Oct 2024 20:47:54 +0200 Subject: [PATCH] Enable Wayland for SDDM and copy KDE config. --- roles/config/files/etc/sddm.conf.d/10-wayland.conf | 6 ++++++ roles/config/tasks/main.yml | 13 +++++++++++++ roles/packages/tasks/main.yml | 1 + 3 files changed, 20 insertions(+) create mode 100644 roles/config/files/etc/sddm.conf.d/10-wayland.conf diff --git a/roles/config/files/etc/sddm.conf.d/10-wayland.conf b/roles/config/files/etc/sddm.conf.d/10-wayland.conf new file mode 100644 index 00000000..726a437f --- /dev/null +++ b/roles/config/files/etc/sddm.conf.d/10-wayland.conf @@ -0,0 +1,6 @@ +[General] +DisplayServer=wayland +GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell + +[Wayland] +CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --inputmethod maliit-keyboard diff --git a/roles/config/tasks/main.yml b/roles/config/tasks/main.yml index 466babea..41ad02e7 100644 --- a/roles/config/tasks/main.yml +++ b/roles/config/tasks/main.yml @@ -62,6 +62,19 @@ become: true tags: config +- name: Copy config for SDDM (root) + ansible.builtin.copy: + src: "{{ item }}" + dest: "/var/lib/sddm/.config/" + owner: sddm + group: sddm + remote_src: true + loop: + - "~/.config/kwinoutputconfig.json" + - "~/.config/kcminputrc" + become: true + tags: config + - name: x86_64 | Copy files (root) ansible.builtin.copy: src: "{{ item }}" diff --git a/roles/packages/tasks/main.yml b/roles/packages/tasks/main.yml index be0530de..a1e38907 100644 --- a/roles/packages/tasks/main.yml +++ b/roles/packages/tasks/main.yml @@ -93,6 +93,7 @@ - lldb - lldb-mi - lutris # games + - maliit-keyboard # virtual keyboard - man-db # docs - mesa # video driver - mesa-vdpau # VDPAU