summaryrefslogtreecommitdiff
path: root/liveusb
diff options
context:
space:
mode:
Diffstat (limited to 'liveusb')
-rwxr-xr-xliveusb/airootfs/root/customize_airootfs.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/liveusb/airootfs/root/customize_airootfs.sh b/liveusb/airootfs/root/customize_airootfs.sh
index c7061f5..80609cf 100755
--- a/liveusb/airootfs/root/customize_airootfs.sh
+++ b/liveusb/airootfs/root/customize_airootfs.sh
@@ -2,9 +2,11 @@
systemctl enable vboxservice
# Create the amenthes user, fix permissions on home dir and default terminal
-useradd -m -G wheel -s /bin/bash amenthes
+useradd -G wheel -s /bin/bash amenthes
chown -R amenthes:amenthes /home/amenthes
-sed -i 's/\(terminal=\)/\1lxterminal/' /home/amenthes/.config/libfm/libfm.conf
+
+# Fix the libfm default terminal
+sed -i '2iterminal=lxterminal' /etc/xdg/libfm/libfm.conf
# Setup the lxdm config
sed -i 's/^# \(autologin=.*\)/\1/' /etc/lxdm/lxdm.conf # uncomment autlogin conf