pmaports/main/postmarketos-ui-weston/postmarketos-ui-weston.post-install
Antoine Fontaine 67493f8003
main/postmarketos-ui-weston: actually start dbus (!1280)
dbus-launch doesn't get installed automatically. On the other hand,
dbus-run-session does. This version ensures that dbus is also launched
for the graphical demos
2020-06-03 14:17:35 +02:00

7 lines
262 B
Bash

#!/bin/sh
sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/66-autologin.conf
sed -i "s/^Exec=weston$/Exec=dbus-run-session start_weston.sh/g" /usr/share/wayland-sessions/weston.desktop
rc-update add lightdm default