From 64b06e9b1f0f488683eccbdfd7a8fce25afca6a0 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Mon, 15 Dec 2014 18:57:22 +0100 Subject: Another default terminal fix --- liveusb/airootfs/root/customize_airootfs.sh | 6 ++++-- 1 file 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 -- cgit v1.3.1