diff --git a/build_files/base/07-base-image-changes.sh b/build_files/base/07-base-image-changes.sh index df33959fab6..5ec4480b89b 100755 --- a/build_files/base/07-base-image-changes.sh +++ b/build_files/base/07-base-image-changes.sh @@ -36,6 +36,7 @@ if [[ "${BASE_IMAGE_NAME}" = "kinoite" ]]; then rm -f /etc/profile.d/gnome-ssh-askpass.{csh,sh} # This shouldn't be pulled in rm -f /usr/share/kglobalaccel/org.kde.konsole.desktop systemctl enable kde-sysmonitor-workaround.service + systemctl enable usr-share-sddm-themes.mount # Get Default Font since font fallback doesn't work curl --retry 3 --output-dir /tmp -LO https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/FiraCode.zip diff --git a/system_files/kinoite/usr/lib/systemd/system/usr-share-sddm-themes.mount b/system_files/kinoite/usr/lib/systemd/system/usr-share-sddm-themes.mount new file mode 100644 index 00000000000..c5271f43078 --- /dev/null +++ b/system_files/kinoite/usr/lib/systemd/system/usr-share-sddm-themes.mount @@ -0,0 +1,14 @@ +# Workaround to allow KDE Discover to install sddm themes + +[Unit] +Description=KDE writable sddm workaround +RequiresMountsFor=/usr/share/sddm/themes /var/sddm_themes/themes /var/sddm_themes/themes.work + +[Mount] +Type=overlay +What=overlay +Where=/usr/share/sddm/themes +Options=lowerdir=/usr/share/sddm/themes,upperdir=/var/sddm_themes/themes,workdir=/var/sddm_themes/themes.work + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/system_files/kinoite/usr/lib/tmpfiles.d/usr-share-ssdm-themes.conf b/system_files/kinoite/usr/lib/tmpfiles.d/usr-share-ssdm-themes.conf new file mode 100644 index 00000000000..455f5e51d68 --- /dev/null +++ b/system_files/kinoite/usr/lib/tmpfiles.d/usr-share-ssdm-themes.conf @@ -0,0 +1,2 @@ +d /var/sddm_themes/themes 0750 - - - +d /var/sddm_themes/themes.work 0750 - - - \ No newline at end of file