Stand With Ukraine

Wednesday, July 26, 2023

How to set a correct keyboard layout in i3 window manager

Recently I rediscovered for myself the i3 desktop environment, got tired of windows spread here and there, but I am using an Apple aluminum keyboard with french letters and numeric keypad (just used to it), and I just hated that the layout did not correspond to what is marked on the buttons out of the box. To try to find a solution I googled and tried many things. I eventually ended up using
localectl
to set the correct keyboard layout. So below are the steps which might help you out:

1 comment:

Sasha said...

Careful with the lv3:alt_switch, this invalidates the tty shortcut (ctr+alt+F2)