Keybinding to change keyboard layout while running Linux app in wsl2

2021-09-23T12:37:49.193+00:00

Hello,

I run GUI Emacs in wsl2. I would like to ask, is there any way (and how) to add a keybinding to change the keyboard layout while I am using Emacs? Because atm my workflow when I need to change back and forth languages is:

  • change to ubuntu terminal and run setxkbmap -layout gr
  • change back to emacs buffer - write what i need to greek
  • change to ubuntu terminal and run setxkbmap -layout us
  • change back to emacs buffer and keep working

I hope my question is clear enough.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,164 questions
0 comments No comments
{count} votes