From 6e0ab5e163a797cb160e8c77a82e7946f6fcc0cc Mon Sep 17 00:00:00 2001 From: HenriDellal Date: Mon, 28 Sep 2020 18:57:07 +0300 Subject: [PATCH] postmarketos-ui-mate: disable lockscreen by default (MR 1608) --- .../postmarketos-ui-mate/001-screensaver.gschema.override | 3 +++ main/postmarketos-ui-mate/APKBUILD | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 main/postmarketos-ui-mate/001-screensaver.gschema.override diff --git a/main/postmarketos-ui-mate/001-screensaver.gschema.override b/main/postmarketos-ui-mate/001-screensaver.gschema.override new file mode 100644 index 000000000..0c7a02050 --- /dev/null +++ b/main/postmarketos-ui-mate/001-screensaver.gschema.override @@ -0,0 +1,3 @@ +[org.mate.screensaver] +lock-enabled=false +picture-filename='/usr/share/wallpapers/postmarketos.jpg' diff --git a/main/postmarketos-ui-mate/APKBUILD b/main/postmarketos-ui-mate/APKBUILD index 28be48900..8ceb30146 100644 --- a/main/postmarketos-ui-mate/APKBUILD +++ b/main/postmarketos-ui-mate/APKBUILD @@ -1,23 +1,27 @@ # Maintainer: Daniele Debernardi pkgname=postmarketos-ui-mate pkgver=1 -pkgrel=10 +pkgrel=11 pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)" url="http://mate-desktop.org/" arch="noarch" license="GPL-3.0-or-later" depends="mate-desktop-environment xorg-server dbus-x11 mesa-egl postmarketos-artwork-wallpapers gtk+2.0 lightdm lightdm-openrc" install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-deinstall $pkgname.post-upgrade" -source="000-system-background.gschema.override 61-lightdm-autologin.conf" +source="000-system-background.gschema.override 001-screensaver.gschema.override 61-lightdm-autologin.conf" options="!check" package() { install -Dm644 "$srcdir"/000-system-background.gschema.override \ "$pkgdir"/usr/share/glib-2.0/schemas/000-system-background.gschema.override + install -Dm644 "$srcdir"/001-screensaver.gschema.override \ + "$pkgdir"/usr/share/glib-2.0/schemas/001-screensaver.gschema.override + install -Dm644 "$srcdir"/61-lightdm-autologin.conf \ "$pkgdir"/usr/share/lightdm/lightdm.conf.d/61-autologin.conf } sha512sums="b4eded3d1aba2086d53507d434da6f2d5aae24fa49c7a8619abb1d81f87898d7a6d813be777a285ce988d78db236bea7507e7868c39fe020e5d23c230dd36242 000-system-background.gschema.override +68c7614bab2f9beadac6a92508c3d63e05938e2746c7314921d4b0c2fc85e7fdca094c1c7c300710ab778a09b76a85158fc806150bc5bf3fce270f51c1d5d65b 001-screensaver.gschema.override 225c4d1bccad4bdacad34958322015147077158b395b8db095b7afd47e18638044780b381124c3b82bf639af66ea565e1763c54ab9599ec13177c289e0d2a000 61-lightdm-autologin.conf"