Keys not work on another layout #379
Comments
What do you mean by a layout? A keyboard layout? Tiling layout (floating, monocle, etc.)? |
'ru', 'es', 'fra' etc... Language (not 'us'). Need some univesal keycodes for keys. Or in another Layout u dont change a workspace.
Yes.
Yes. |
Freud in RiverWM create hack... Here: riverwm/river#753 or not... I forgot (I create issue in RiverWM too and guys fix this behavior ;)) But not found today. And I use custom Dvorak for US and Custom Russian Typewriter for RU. Default location of keys did not match... (QWERTY etc) |
I have made a hack that switches the keyboard layout to qwerty us when a mod key is pressed (except shift). After it's released, it goes back to the previous layout. |
Thanks for fast answer and trying fix this problem. nope... I dont use copy/paste in keys ;). I use select/middle button of mouse. And my accords or macros did not work (I think). So, I think, need complex solution of any languages and custom keybindings. All people different. Freud in RiverWM create Array of every keys and keycodes... But in WLROOTS 16 maybe add something, I dont know (Freud committer in WLROOTS). Most my coworker and friends uses another layouts (Colemac, Workman, Neo etc) and use 2-3 languages (and special symbols UTF-8: Š, Ü, ß)... |
Any keyboard layout with any language would work. It doesn't matter that you have a custom keyboard layout.
In this case only 1 keybinding definition is needed, and will work for all layouts. That workes for me, and I don't see any reson why it wouldn't work for you. |
))) Why not? Let's try )) But... my CTRL in another place ;) I use Emacs and I crack my HHKB to 40% keyboard with layers (hello, 'Neo' - https://neo-layout.org). So... All my keys changed. ALT, CAPS, ESC, CTRL, LOGO(WIN) - all this keys are rebinded. For example (Space Cadet - Emacs default https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/Space-cadet.jpg/1920px-Space-cadet.jpg) |
What the hell. It is possible to do this. You would first need to pick a keyboard layout and write your keybindings for it. What keyboard layouts do you use? How different are they form each other? |
Is this the only keyboard layout you use? |
US, RU. And yes. Another WM works fine. |
Alright, so I assume that both layouts you use share the same mod key placements. All you need to do is make keybindings that work for the US layout, |
Ohoh... Sorry for that, but... If DWL later change DWM - u take a fat user base (DB). And maybe need fix this on keycodes, not listen symbols? |
Actually, I'm dumb. Take a look at this patch: https://github.com/djpohly/dwl/wiki/keycodes. |
holy!.. Wow, thanks. Actually - 'dumb' - its me. I use 3 patches and not see this... Crap. Thanks, after testing I close this issue. I read patch, keysum changed on keycode in dwl.c. Thats enough for me. Best regards, Krypciak. |
Ah, and my Eng is terrible, so please, add link on this patch (or say to merge this patch in master branch in Discord) in README, Wiki (key section) or somewhere in documentation. |
I try patch https://github.com/djpohly/dwl/wiki/keycodes. Not working properly. IMO, need something for all keymaps (maybe use xkb, without any external hacks?) |
I just updated the patch, I included the program I used to generate |
Info
dwl version: 0.4 (git)
wlroots version: latest
If I change layout, all keys with LOGO/ALT not work.
Need add keycode or some mechanism.
P.S. SwayWM and RiverWM have a solution and options in config.
The text was updated successfully, but these errors were encountered: