main/postmarketos-ui-plasma-bigscreen: use tinydm instead of lightdm (MR 1720)
This commit is contained in:
parent
7573f5fce4
commit
dcd8d2ec4e
3 changed files with 4 additions and 17 deletions
|
@ -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
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||||
pkgname=postmarketos-ui-plasma-bigscreen
|
pkgname=postmarketos-ui-plasma-bigscreen
|
||||||
pkgver=0.1
|
pkgver=0.2
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
_commit_configs="757db09c8738b88d59e5d7b35b9939e91a7a31d7"
|
_commit_configs="757db09c8738b88d59e5d7b35b9939e91a7a31d7"
|
||||||
pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs"
|
pkgdesc="(Wayland) 10-feet variant of Plasma, made for big screen TVs"
|
||||||
|
@ -17,9 +17,7 @@ depends="
|
||||||
"
|
"
|
||||||
# Required to launch
|
# Required to launch
|
||||||
depends="$depends
|
depends="$depends
|
||||||
lightdm
|
tinydm
|
||||||
lightdm-openrc
|
|
||||||
xorg-server
|
|
||||||
"
|
"
|
||||||
_pmb_recommends="
|
_pmb_recommends="
|
||||||
breeze-icons
|
breeze-icons
|
||||||
|
@ -28,20 +26,15 @@ _pmb_recommends="
|
||||||
"
|
"
|
||||||
install="$pkgname.post-install $pkgname.post-upgrade"
|
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
|
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
|
qtlogging.ini
|
||||||
"
|
"
|
||||||
options="!check"
|
options="!check"
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm644 "$srcdir"/60-lightdm-autologin.conf \
|
|
||||||
"$pkgdir"/usr/share/lightdm/lightdm.conf.d/60-autologin.conf
|
|
||||||
|
|
||||||
install -Dm644 "$srcdir"/qtlogging.ini \
|
install -Dm644 "$srcdir"/qtlogging.ini \
|
||||||
"$pkgdir"/etc/xdg/QtProject/qtlogging.ini
|
"$pkgdir"/etc/xdg/QtProject/qtlogging.ini
|
||||||
|
|
||||||
mv "$srcdir"/mycroft-devices-"$_commit_configs"/overlays/bigscreen/etc/xdg/* "$pkgdir"/etc/xdg
|
mv "$srcdir"/mycroft-devices-"$_commit_configs"/overlays/bigscreen/etc/xdg/* "$pkgdir"/etc/xdg
|
||||||
}
|
}
|
||||||
sha512sums="81bda2692c7321337505814ded1eb8b3d22d92090a1a1ad4a3ac37cec95fdb1ce7158c2b1ee7cdf1d12753ded1adf3216ffe9fc64382ed2ea3fed357bf43003f postmarketos-ui-plasma-bigscreen-757db09c8738b88d59e5d7b35b9939e91a7a31d7.tar.gz
|
sha512sums="81bda2692c7321337505814ded1eb8b3d22d92090a1a1ad4a3ac37cec95fdb1ce7158c2b1ee7cdf1d12753ded1adf3216ffe9fc64382ed2ea3fed357bf43003f postmarketos-ui-plasma-bigscreen-757db09c8738b88d59e5d7b35b9939e91a7a31d7.tar.gz
|
||||||
9fb85f27ba581babeda96c492ca4884ef89106f7cae427783d70a6f1a3182652ee226bf4e6cf7e5e4b730aa55b806b03d50124264d6c8fb1d7e727700ab6e232 60-lightdm-autologin.conf
|
|
||||||
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini"
|
341f0b866c315f37868ef3e7137cce8b53a0e8e6164e5af71b3e8e2fa68321afbf0652d76124ef84bade1393f701748852ac939aef9daff7e272a0df827780eb qtlogging.ini"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/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 tinydm default
|
||||||
|
tinydm-set-session -s /usr/share/wayland-sessions/plasma-bigscreen.desktop
|
||||||
rc-update add lightdm default
|
|
||||||
|
|
Loading…
Reference in a new issue