Skip to content

How do I set complete localization while still in chroot?

I want to install Arch in a way, that I set the complete localization while still in chroot. So after the first reboot, the system will start in the DE and have the right language/keymap.

So of course this is partly possible by setting locale.conf, locale.gen and vconsole.conf but not for X11. Using localectl in chroot will give me an error, that local keyboard configuration is not supported on this system. I could just manually edit the 00-keyboard.conf, but it's a lot to write.

Is there an easier way of setting the X11 keayboard layout in chroot?

Edited 15 Feb 2022. We only hold this version.

0 points4 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 25% up
Kind
Text
ID
smp034

Author

89
posts
196
comments
15
media
View profile
No comments archived yet. Reddit counts 4.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.