This is an automated archive.
The original was posted on /r/ubuntu by /u/West-Papaya on 2023-08-29 19:21:42+00:00.
Hello everyone, I am running Ubuntu 22.04 on Wayland. After updating from 20.04 and Xorg my entire setup was borked, so I had to have a crash course on all things Linux. I now have a decent grasp of what’s happening, but I cannot for the life of me figure out how to have custom keyboard layout that works for both normal usage and when I ssh into my machine. Since Wayland uses xkb
to work with keyboards, and there is also a way to use input
in sway config, I had to use both. Since just setting input
in sway config wasn’t working for xwayland apps like browsers. So when I login to my machine everything works fine, but when I ssh into it, my custom keyboard is not there since xkb
doesn’t work. I want to use mosh which doesn’t support XForwarding.
What are my options to set the custom keyboard layout in non-interactive shells/ ssh?