You are not logged in.

#1 2022-11-05 10:57:05

prayner96
Member
Registered: 2022-03-06
Posts: 72

[SOLVED] Switching keyboard layout using keyboard shortcut

I am using Arch Linux with Qtile window manager.

I have a US Colemak-DH keyboard layout embedded inside

~/.bashrc

.

setxkbmap us -variant colemak_dh

However, when I plug in my external keyboard (ergodox ez) with its own keyboard layout mapped, I want to be able to switch back to US standard international layout on my keyboard using a keyboard shortcut.

Do I need to install a program to get this running?

In Windows, the equivalent would be to type WIN + TAB.

Last edited by prayner96 (2022-11-05 16:32:47)

Offline

#2 2022-11-05 11:03:24

progandy
Member
Registered: 2012-05-17
Posts: 5,318

Re: [SOLVED] Switching keyboard layout using keyboard shortcut

You can configure multiple layouts and a toggle key:
https://wiki.archlinux.org/title/Xorg/K … rd_layouts


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2022-11-05 16:32:31

prayner96
Member
Registered: 2022-03-06
Posts: 72

Re: [SOLVED] Switching keyboard layout using keyboard shortcut

Using progandy's guidance to the Arch Wiki, I was able to figure out the solution:

setxkbmap "us,us" -variant "intl,colemak_dh" -option grp:switch 

Offline

Board footer

Powered by FluxBB