forked from srbala/fedora-kickstarts
change up the sed command so lightdm autologin works for xfce spin
This commit is contained in:
parent
7b1eb31c55
commit
47cee69cb9
|
@ -78,8 +78,8 @@ mkdir -p /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml
|
|||
cp /etc/xdg/xfce4/panel/default.xml /home/liveuser/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
|
||||
|
||||
# set up lightdm autologin
|
||||
sed -ei '|^#autologin-user=|autologin-user=liveuser|' /etc/lightdm/lightdm.conf
|
||||
sed -ei '|^#autologin-user-timeout=0|autologin-user-timeout=10|' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user=/autologin-user=liveuser/' /etc/lightdm/lightdm.conf
|
||||
sed -i 's/^#autologin-user-timeout=0/autologin-user-timeout=10/' /etc/lightdm/lightdm.conf
|
||||
|
||||
# Show harddisk install on the desktop
|
||||
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
|
||||
|
|
Loading…
Reference in New Issue