summaryrefslogtreecommitdiff
path: root/liveusb
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2014-12-15 18:57:22 +0100
committerYuval Adam <yuv.adm@gmail.com>2014-12-15 18:57:22 +0100
commit64b06e9b1f0f488683eccbdfd7a8fce25afca6a0 (patch)
treec57d2b94cc3e7a1a53ab5c5d769c4317463af433 /liveusb
parent628c0d25f3adc22bd5166ce3e2255409c2c5a1a5 (diff)
Another default terminal fix
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