change up the sed command so lightdm autologin works for xfce spin

This commit is contained in:
Adam Miller 2012-09-18 11:52:35 -05:00
parent 7b1eb31c55
commit 47cee69cb9
1 changed files with 2 additions and 2 deletions

View File

@ -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