mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Switch kde-plasma desktop package to support sddm instead of lightdm
This commit is contained in:
@@ -1,22 +1,15 @@
|
||||
# install lightdm greeter
|
||||
cp -R "${SRC}"/packages/blobs/desktop/lightdm "${destination}"/etc/armbian
|
||||
# install sddm greeter theme
|
||||
mkdir -p "${destination}"/usr/share/sddm/themes
|
||||
cp -R "${SRC}"/packages/blobs/desktop/sddm/themes/plasma-chili/ "${destination}"/usr/share/sddm/themes
|
||||
|
||||
# install default desktop settings
|
||||
mkdir -p "${destination}"/etc/skel
|
||||
cp -R "${SRC}"/packages/blobs/desktop/skel/. "${destination}"/etc/skel
|
||||
|
||||
#install cinnamon desktop bar icons
|
||||
mkdir -p "${destination}"/usr/share/icons/armbian
|
||||
cp "${SRC}"/packages/blobs/desktop/desktop-icons/*.png "${destination}"/usr/share/icons/armbian
|
||||
|
||||
# install wallpapers
|
||||
mkdir -p "${destination}"/usr/share/backgrounds/armbian/
|
||||
cp "${SRC}"/packages/blobs/desktop/desktop-wallpapers/*.jpg "${destination}"/usr/share/backgrounds/armbian
|
||||
|
||||
# install wallpapers
|
||||
mkdir -p "${destination}"/usr/share/backgrounds/armbian-lightdm/
|
||||
cp "${SRC}"/packages/blobs/desktop/lightdm-wallpapers/*.jpg "${destination}"/usr/share/backgrounds/armbian-lightdm
|
||||
|
||||
# install logo for login screen
|
||||
mkdir -p "${destination}"/usr/share/pixmaps/armbian
|
||||
cp "${SRC}"/packages/blobs/desktop/icons/armbian.png "${destination}"/usr/share/pixmaps/armbian
|
||||
|
||||
@@ -1,6 +1,2 @@
|
||||
# overwrite stock lightdm greeter configuration
|
||||
if [ -d /etc/armbian/lightdm ]; then cp -R /etc/armbian/lightdm /etc/; fi
|
||||
#if [ -f /etc/lightdm/slick-greeter.conf ]; then sed -i 's/armbian03-Dre0x-Minum-dark-blurred-3840x2160.jpg/armbian-4k-plastic-love-gauss.jpg/g' /etc/lightdm/slick-greeter.conf; fi
|
||||
|
||||
# Disable Pulseaudio timer scheduling which does not work with sndhdmi driver
|
||||
if [ -f /etc/pulse/default.pa ]; then sed "s/load-module module-udev-detect$/& tsched=0/g" -i /etc/pulse/default.pa; fi
|
||||
|
||||
Reference in New Issue
Block a user