wlc icon indicating copy to clipboard operation
wlc copied to clipboard

[Feature Request] set kbmap per window

Open Unip0rn opened this issue 8 years ago • 4 comments

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.

Unip0rn avatar Jan 15 '17 03:01 Unip0rn

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'.

ljrk0 avatar Jan 15 '17 11:01 ljrk0

Doesn't IMEs already handle this?

Cloudef avatar Jan 15 '17 23:01 Cloudef

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.

gonzote avatar Jan 16 '17 01:01 gonzote

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.

Cloudef avatar Jan 16 '17 12:01 Cloudef