diff options
-rw-r--r-- | lib/keyboard.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/keyboard.pm b/lib/keyboard.pm index 3355f31..6da515e 100644 --- a/lib/keyboard.pm +++ b/lib/keyboard.pm @@ -590,7 +590,11 @@ sub setup_install { } else { log::l("ERROR: can not load keymap"); } + setup_install_X11($keyboard); +} +sub setup_install_X11 { + my ($keyboard) = @_; if (-x "/usr/bin/setxkbmap") { _setxkbmap($keyboard) or log::l("setxkbmap failed"); } else { |