diff --git a/main/postmarketos-ui-mate/000-system-background.gschema.override b/main/postmarketos-ui-mate/000-system-background.gschema.override new file mode 100644 index 000000000..7e5cca1ff --- /dev/null +++ b/main/postmarketos-ui-mate/000-system-background.gschema.override @@ -0,0 +1,2 @@ +[org.mate.background] +picture-filename='/usr/share/wallpapers/postmarketos.jpg' \ No newline at end of file diff --git a/main/postmarketos-ui-mate/APKBUILD b/main/postmarketos-ui-mate/APKBUILD index 0a14750df..e6bdc2261 100644 --- a/main/postmarketos-ui-mate/APKBUILD +++ b/main/postmarketos-ui-mate/APKBUILD @@ -1,21 +1,24 @@ pkgname=postmarketos-ui-mate pkgver=1 -pkgrel=1 +pkgrel=2 pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)" url="http://mate-desktop.org/" arch="noarch" license="GPL3+" -depends="mate-desktop-environment xorg-server dbus-x11 mesa-egl" +depends="mate-desktop-environment xorg-server dbus-x11 mesa-egl postmarketos-artwork-wallpapers" makedepends="" install="$pkgname.post-install" subpackages="" -source="start_mate.sh" +source="start_mate.sh 000-system-background.gschema.override" options="!check" package() { # Autostart via autologin on TTY0 (until we have a display manager #656) install -D -m644 "$srcdir"/start_mate.sh \ "$pkgdir"/etc/profile.d/start_mate.sh + install -Dm644 "$srcdir"/000-system-background.gschema.override \ + "$pkgdir"/usr/share/glib-2.0/schemas/000-system-background.gschema.override } -sha512sums="a5a48821538b18069bad6528d488ed2dd5ae7d4f4fa095215c30d5399a41e645300f0c70bef1178be085e5fe8510fb4dda5446585663fd57193e938558b803de start_mate.sh" +sha512sums="a5a48821538b18069bad6528d488ed2dd5ae7d4f4fa095215c30d5399a41e645300f0c70bef1178be085e5fe8510fb4dda5446585663fd57193e938558b803de start_mate.sh +b4eded3d1aba2086d53507d434da6f2d5aae24fa49c7a8619abb1d81f87898d7a6d813be777a285ce988d78db236bea7507e7868c39fe020e5d23c230dd36242 000-system-background.gschema.override" diff --git a/main/postmarketos-ui-mate/postmarketos-ui-mate.post-install b/main/postmarketos-ui-mate/postmarketos-ui-mate.post-install index c87b4e9b1..05afb4571 100644 --- a/main/postmarketos-ui-mate/postmarketos-ui-mate.post-install +++ b/main/postmarketos-ui-mate/postmarketos-ui-mate.post-install @@ -9,4 +9,5 @@ for i in 1 2 3 4 5 6; do sed -i -e "s.$old.$new.g" /etc/inittab done - +# Recompile the schema to apply overwritten settings +glib-compile-schemas /usr/share/glib-2.0/schemas/