diff --git a/main/postmarketos-ui-plasma-bigscreen/60-lightdm-autologin.conf b/main/postmarketos-ui-plasma-bigscreen/60-lightdm-autologin.conf deleted file mode 100644 index 1ff34771d..000000000 --- a/main/postmarketos-ui-plasma-bigscreen/60-lightdm-autologin.conf +++ /dev/null @@ -1,5 +0,0 @@ -# This file gets removed with postmarketos-ui-plasma-bigscreen, even if modified! -[Seat:*] -autologin-user=username -autologin-user-timeout=0 -autologin-session=plasma-bigscreen diff --git a/main/postmarketos-ui-plasma-bigscreen/APKBUILD b/main/postmarketos-ui-plasma-bigscreen/APKBUILD index 41cfc125d..941140640 100644 --- a/main/postmarketos-ui-plasma-bigscreen/APKBUILD +++ b/main/postmarketos-ui-plasma-bigscreen/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Bart Ribbers pkgname=postmarketos-ui-plasma-bigscreen -pkgver=0.1 +pkgver=0.2 pkgrel=0 _commit_configs="757db09c8738b88d59e5d7b35b9939e91a7a31d7" pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs" @@ -17,9 +17,7 @@ depends=" " # Required to launch depends="$depends - lightdm - lightdm-openrc - xorg-server + tinydm " _pmb_recommends=" breeze-icons @@ -28,20 +26,15 @@ _pmb_recommends=" " install="$pkgname.post-install $pkgname.post-upgrade" source="$pkgname-$_commit_configs.tar.gz::https://invent.kde.org/bshah/mycroft-devices/-/archive/$_commit_configs/mycroft-devices-$_commit_configs.tar.gz - 60-lightdm-autologin.conf qtlogging.ini " options="!check" package() { - install -Dm644 "$srcdir"/60-lightdm-autologin.conf \ - "$pkgdir"/usr/share/lightdm/lightdm.conf.d/60-autologin.conf - install -Dm644 "$srcdir"/qtlogging.ini \ "$pkgdir"/etc/xdg/QtProject/qtlogging.ini mv "$srcdir"/mycroft-devices-"$_commit_configs"/overlays/bigscreen/etc/xdg/* "$pkgdir"/etc/xdg } sha512sums="81bda2692c7321337505814ded1eb8b3d22d92090a1a1ad4a3ac37cec95fdb1ce7158c2b1ee7cdf1d12753ded1adf3216ffe9fc64382ed2ea3fed357bf43003f postmarketos-ui-plasma-bigscreen-757db09c8738b88d59e5d7b35b9939e91a7a31d7.tar.gz -9fb85f27ba581babeda96c492ca4884ef89106f7cae427783d70a6f1a3182652ee226bf4e6cf7e5e4b730aa55b806b03d50124264d6c8fb1d7e727700ab6e232 60-lightdm-autologin.conf 341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini" diff --git a/main/postmarketos-ui-plasma-bigscreen/postmarketos-ui-plasma-bigscreen.post-install b/main/postmarketos-ui-plasma-bigscreen/postmarketos-ui-plasma-bigscreen.post-install index a7791b1e4..b1e89f137 100644 --- a/main/postmarketos-ui-plasma-bigscreen/postmarketos-ui-plasma-bigscreen.post-install +++ b/main/postmarketos-ui-plasma-bigscreen/postmarketos-ui-plasma-bigscreen.post-install @@ -1,5 +1,4 @@ #!/bin/sh -sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/60-autologin.conf - -rc-update add lightdm default +rc-update add tinydm default +tinydm-set-session -s /usr/share/wayland-sessions/plasma-bigscreen.desktop