Skip to content

Commit

Permalink
Fixes #489
Browse files Browse the repository at this point in the history
  • Loading branch information
Torxed committed May 23, 2021
1 parent 84ee318 commit 7daaf11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion archinstall/lib/installer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .disk import *
from .hardware import *
from .locale_helpers import verify_x11_keyboard_layout
from .locale_helpers import verify_keyboard_layout, verify_x11_keyboard_layout
from .mirrors import *
from .storage import storage
from .user_interaction import *
Expand Down Expand Up @@ -547,6 +547,8 @@ def set_x11_keyboard_language(self, language: str) -> bool:
self.log(f"Invalid x11-keyboard language specified: {language}", fg="red", level=logging.ERROR)
return False

from .systemd import Boot

with Boot(self) as session:
session.SysCommand(["localectl", "set-x11-keymap", '""'])

Expand Down

0 comments on commit 7daaf11

Please sign in to comment.