wlc
wlc copied to clipboard
[Feature Request] set kbmap per window
Idea is to make it possible to set kbmap to something different on different windows. Usecase is german writing where you will want to have german layout on maybe everything except where you code. So you get american layout for your editors and german for everything else (or similar) also translators might like it, when translating from russian to english (just an example) where they change the set of letters used.
Sure this is a nice idea, but as you just happened to mention German vs US layout, at least for that use-case there exists the us altgr-intl
layout. You have a standard US layout but eg. type 'ü' with "Alt Gr" / "right Alt" + 'y'.
Doesn't IMEs already handle this?
alternate use-case: games that provide no options for configuring keyboard controls could be customized by changing the layout. xkb already provides for a global list of layouts to switch through, but a layout specific to one program would just clutter up the global list.
this will probably be something that would need to wait until #6 is implemented anyway, and might be fairly easy depending on how that's done.
Yep solving #6 makes this possible. However IME's should already be able to do switching. Though there is no IME support for wayland native programs implemented yet, don't remember if the protocol for that was even in wayland-protocols.