summaryrefslogtreecommitdiffstats
path: root/kde/post-install/sddm-qt5.post-install
blob: a99ec44377b16d123638c608acd8c1ca276f0a1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Remove PAM related stuff:
rm -rf $PKG/etc/pam.d

## Set the KDE4 theme 'elarun' as default, it gives the user more options:
#sed -i -e "s/^CurrentTheme.*/CurrentTheme=elarun/" $PKG/etc/sddm.conf 
# Set the KDE5 theme 'breeze' as default, integrates better with Plasma 5:
sed -i -e "s/^CurrentTheme.*/CurrentTheme=breeze/" $PKG/etc/sddm.conf 

# SDDM follows the systemd convention of starting the first graphical session
# on tty1.  We prefer the old convention where tty1 through tty6
# are reserved for text consoles:
cat <<EOT >> $PKG//etc/sddm.conf

[XDisplay]
MinimumVT=7
EOT

# Do not clobber existing configuration files:
mv $PKG/etc/sddm.conf{,.new}