From b55d9750ed9358c10eb2d1f72b8186e08179342f Mon Sep 17 00:00:00 2001 From: Francois B Date: Sun, 27 May 2018 01:38:04 +0200 Subject: [PATCH] lightdm fct bug bix --- tools_functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools_functions.sh b/tools_functions.sh index 427b696..219fb5f 100644 --- a/tools_functions.sh +++ b/tools_functions.sh @@ -35,6 +35,8 @@ function enableUFW () { function enableNumLockX () { checkAndInstallDep apt numlockx numlockx if which lightdm >/dev/null; then + runCmd "sudo touch /etc/lightdm/lightdm.conf.d/70-linuxmint.conf" \ + "creating lightdm config file if necessary" runCmd "sudo cp /etc/lightdm/lightdm.conf.d/70-linuxmint.conf /etc/lightdm/lightdm.conf.d/70-linuxmint.conf.yggbak" \ "backing up lightdm original config file" runCmd "echo -e '\ngreeter-setup-script=/usr/bin/numlockx on' | sudo tee -a /etc/lightdm/lightdm.conf.d/70-linuxmint.conf" \