summaryrefslogtreecommitdiffstats
path: root/perl-install/keyboard.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/keyboard.pm')
-rw-r--r--perl-install/keyboard.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index 9065dddf7..44bc7aabf 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -8,6 +8,7 @@ use strict;
#- misc imports
#-######################################################################################
use common qw(:common :system :file);
+use detect_devices;
use run_program;
use commands;
use log;
@@ -333,6 +334,7 @@ sub write {
setVarsInSh("$prefix/etc/sysconfig/keyboard", { KEYTABLE => keyboard2kmap($keyboard),
KBCHARSET => $charset,
REMOVE_MOD_META_L => "",
+ DISABLE_WINDOWS_KEY => detect_devices::isLaptop() ? "yes" : "",
BACKSPACE => $isNotDelete ? "BackSpace" : "Delete" });
run_program::rooted($prefix, "dumpkeys > /etc/sysconfig/console/default.kmap") or log::l("dumpkeys failed");
}