From 4dbbfbc0bad42ff9e59ca3367c16b69ac583d5ba Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 12 Nov 2018 09:28:07 +0100 Subject: [PATCH] main/postmarketos-ui-i3wm: fix lightdm autostart --- main/postmarketos-ui-i3wm/60-lightdm-autologin.conf | 2 +- main/postmarketos-ui-i3wm/APKBUILD | 6 +++--- main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/main/postmarketos-ui-i3wm/60-lightdm-autologin.conf b/main/postmarketos-ui-i3wm/60-lightdm-autologin.conf index 731f2003e..5558523ae 100644 --- a/main/postmarketos-ui-i3wm/60-lightdm-autologin.conf +++ b/main/postmarketos-ui-i3wm/60-lightdm-autologin.conf @@ -2,4 +2,4 @@ [Seat:*] autologin-user=username autologin-user-timeout=0 -autologin-session=xfce +autologin-session=i3 diff --git a/main/postmarketos-ui-i3wm/APKBUILD b/main/postmarketos-ui-i3wm/APKBUILD index df20722af..df401fa20 100644 --- a/main/postmarketos-ui-i3wm/APKBUILD +++ b/main/postmarketos-ui-i3wm/APKBUILD @@ -1,6 +1,6 @@ pkgname=postmarketos-ui-i3wm -pkgver=0.1 -pkgrel=3 +pkgver=0.2 +pkgrel=0 pkgdesc="(X11) Tiling WM (keyboard required)" url="https://i3wm.org" arch="noarch" @@ -19,4 +19,4 @@ package() { "$pkgdir"/usr/share/lightdm/lightdm.conf.d/60-autologin.conf } sha512sums="2165141499a830beb33ee42e410ba39104f3e70cd61507f0607115d421846104659fa7e9d4193b3394f7384fc33c2233269bb61c99d5d8a2368aa83500e54b35 lock.sh -573cce40172c24ad2512c175a44b9fcae5f19dda32e9a8b3c41dc5b80f2063041245372ccfa9df386a2356198bfc4d602f0ac9e1780a163a017fa4467ce925db 60-lightdm-autologin.conf" +60f4e1f3314ce8de6b92a2eb642f199c5ed24a18981958d787f0e876fa629598340cf467ab991dda4e3927ed6b11011dc0357bdcf0e5f1baac444939b4647445 60-lightdm-autologin.conf" diff --git a/main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install b/main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install index 1231c47c7..35c8343f2 100644 --- a/main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install +++ b/main/postmarketos-ui-i3wm/postmarketos-ui-i3wm.post-install @@ -1,4 +1,4 @@ #!/bin/sh -# Enable the login manager on boot +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