lightdm fct bug bix
This commit is contained in:
parent
2725277239
commit
b55d9750ed
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ function enableUFW () {
|
||||||
function enableNumLockX () {
|
function enableNumLockX () {
|
||||||
checkAndInstallDep apt numlockx numlockx
|
checkAndInstallDep apt numlockx numlockx
|
||||||
if which lightdm >/dev/null; then
|
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" \
|
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"
|
"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" \
|
runCmd "echo -e '\ngreeter-setup-script=/usr/bin/numlockx on' | sudo tee -a /etc/lightdm/lightdm.conf.d/70-linuxmint.conf" \
|
||||||
|
|
Loading…
Reference in a new issue