aports/community/lightdm/lightdm.pre-install
Jakob Hauser 37d00e69d4 community/lightdm: change lightdm home directory
Change the home directory of user "lightdm" to make gsettings persistent.
E.g. slick-greeter uses them to store the state of the accessibility
checkboxes in the top bar.
2024-06-25 11:31:15 +00:00

9 lines
150 B
Bash

#!/bin/sh
name=lightdm
addgroup -S $name 2>/dev/null
adduser -S -D -H -h /var/lib/lightdm -s /bin/false -G $name -g $name $name 2>/dev/null
exit 0