Desktop fix (#2640)

* Update targets-cli-beta.conf

adding the fe-som-rk3399 into the test builds

* Update targets-desktop-beta.conf

Adde FE-SOM-RK3399 to desktop build

* Update packages

added missing puleaudio bluetooth to budgie

* Update packages

rm ok

* fix mate missing lightdm files

* fix budgie themeing
This commit is contained in:
Richard Neese 2021-02-16 11:33:53 -05:00 committed by GitHub
parent 5fef071c22
commit e9a3067791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 6 deletions

View file

@ -35,9 +35,3 @@ cat <<-EOF > "${destination}"/usr/share/gnome-background-properties/armbian.xml
</wallpapers>
EOF
mkdir -p "${destination}"/usr/share/glib-2.0/schemas
cat <<-EOF > "${destination}"/usr/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.override
[org.gnome.desktop.background]
picture-uri='file:///usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg'
show-desktop-icons=true
EOF

View file

@ -4,6 +4,43 @@ if [ -d /etc/armbian/lightdm ]; then cp -R /etc/armbian/lightdm /etc/; 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
# set wallpapper to armbian
keys=/etc/dconf/db/local.d/00-bg
locks=/etc/dconf/db/local.d/locks/background
profile=/etc/dconf/profile/user
install -Dv /dev/null $keys
install -Dv /dev/null $locks
install -Dv /dev/null $profile
echo "[org/budgie/desktop/background]
picture-uri='file:///usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-3840x2160.jpg'
picture-options='zoom'
primary-color='#456789'
secondary-color='#FFFFFF'
[org/budgie/desktop/screensaver]
picture-uri='file:///usr/share/backgrounds/armbian/armbian03-Dre0x-Minum-dark-blurred-3840x2160.jpg'
picture-options='zoom'
primary-color='#456789'
secondary-color='#FFFFFF'" >> $keys
echo "/org/budgie/desktop/background/picture-uri
/org/budgie/desktop/background/picture-options
/org/budgie/desktop/background/primary-color
/org/budgie/desktop/background/secondary-color
/org/budgie/desktop/screensaver/picture-uri
/org/budgie/desktop/screensaver/picture-options
/org/budgie/desktop/screensaver/primary-color
/org/budgie/desktop/screensaver/secondary-color" >> $locks
echo "user-db:user
system-db:local" >> $profile
dconf update
#compile schemas
if [ -d /usr/share/glib-2.0/schemas ]; then
glib-compile-schemas /usr/share/glib-2.0/schemas

View file

@ -1,4 +1,7 @@
# install lightdm greeter
cp -R "${SRC}"/packages/blobs/desktop/lightdm "${destination}"/etc/armbian
# install default desktop settings
mkdir -p "${destination}"/etc/skel
cp -R "${SRC}"/packages/blobs/desktop/skel/. "${destination}"/etc/skel