automate/020_sddm.sh

54 lines
1.2 KiB
Bash

echo "FIXME: Gives a blank screen, disabled until configuration is fixed."
exit 0
sudo apt install -y sddm # sddm-theme-elarun
sudo usermod -a -G video sddm xserver-xephyr
sudo it clone https://github.com/amanre/abstractdark-sddm-theme /usr/share/sddm/themes/abstractdark-sddm-theme
cat <<EOF | sudo tee /etc/sddm.conf >/dev/null
[General]
HaltCommand="/sbin/shutdown -h now"
RebootCommand="/sbin/shutdown -r now"
Numlock=off
InputMethod=
[Theme]
ThemeDir=/usr/share/sddm/themes
Current=abstractdark-sddm-theme
FacesDir=/usr/share/sddm/faces
CursorTheme=
EnableAvatars=
[X11]
ServerPath="/usr/bin/X"
ServerArguments="-nolisten tcp"
XephyrPath="/usr/bin/Xephyr"
XauthPath="/usr/bin/xauth"
SessionDir="/usr/share/xsessions"
SessionCommand="/etc/sddm/Xsession"
SessionLogFile=".local/share/sddm/xorg-session.log"
UserAuthFile=".Xauthority"
DisplayCommand="/usr/share/sddm/scripts/Xsetup"
DisplayStopCommand="/usr/share/sddm/scripts/Xstop"
MinimumVT=7
[Users]
DefaultPath="/bin:/usr/bin"
MinimumUid=1000
MaximumUid=60000
HideUsers=
HideShells=
RememberLastUser=true
RememberLastSession=true
EOF
#cat <<EOF | sudo tee /etc/sddm.conf.d/autologin >/dev/null
#[Autologin]
#User=devuan
#Session=enlightenment.desktop
#Relogin=
#EOF