-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom XKB layout #13700
Comments
@CaptaiNiveau Forgive me, I'm new to this -- I don't have all the original context, I've never tried to used Colemak and it's been two two decades since I used a custom XKB on Linux. But I want to understand the issue you're having. Could you please edit your description so I might better understand the scope of your issue and have a good chance of being able to reproduce it? (steps to reproduce, etc). Truly ExpainItLikeIm5 and I will do my best. We want to try and support Linux users and a diversity of configurations where possible, but I want to be upfront, I can make no promises. In the future please imagine the real human being reading your words (me!). Even if you feel wronged, opening a new issue with a 1000 word block quote is coming in pretty hot. It's extremely unlikely to generate your desired response, but let's try and de-escalate a bit and take another crack at it. |
Oh, no worries, this is in good faith :) The way you configure your keyboard layout heavily depends on your Desktop Environment (DE), even if all of them actually use XKB under the hood (both X11 and all Wayland compositors I know of use it). I'm running Hyprland and the XKB config is just a few lines in its input config. If you check Dreymars repo I linked above, there's more detailed information on how to use Colemak/Extend on the most popular DEs (KDE Plasma, Gnome). For this issue, you don't have to switch QWERTY for Colemak, just activate Extend. If you tell me which DE you're on, I can tell you how to, in case you get stuck. I spent a while optimizing my keyboard and trying to figure out how to actually make these layouts work in Linux (issues with key repeat, XWayland etc.), so I totally understand where you're coming from ^^ If you're running in an X11 session, it's a lot easier to apply this layout using the I'm happy to help you with whatever you're getting stuck with. It's probably easier if you tell me which DE (think KDE Plasma/Gnome/XFCE) you're using and if you're in a Wayland or X11 session ( Btw, I'm totally happy that you're supporting Linux at all, no need to de-escalate. Thanks for open-sourcing this awesome project ^^ |
I had a similar issue to you, and I fixed mine with #13931 Check to see if that works for you too if you're using X11. I don't have Wayland so didn't check/touch that. Incidentally, I also use Colemak and multiple groups/layers, tho I made it from scratch. |
Nice, I compiled it from main (using the aur) and it seems to work properly, even from hyprland :D Btw, what do your layers look like? I got a Framework and want to use its QMK abilities to create even better layers - I'd love to take some inspiration ^^ |
Cool if it works for you now, but if you are indeed on Wayland then I doubt it's because of my patch! My fix was exclusively for X11 client. Maybe some other patch got in there. Re keymap: My keymap isn't fancy, it's bespoke out of practicality. I used the Norwegian-ish layout as the base for non-A-Z when I switched to Colemak since I generally like it better than US and I needed So step by step I kept moving stuff off of the digit row since it's many painful miles away. My home row's third layer (AltGr or RAlt) is Of course, AltGr RWin[ Shift] gives yet two more layers... I originally set it up for Greek and stuff like that, but two modifiers side by side is beyond painful and everything without obvious mnemonics I don't recall anyway. At some point I want to clean it up and maybe try latched/locked modifiers for other alphabets (Greek or math-variants like 𝖆𝖇𝖈𝕒𝕓𝕔 etc.). More and more keyboards put the braindead |
Check for existing issues
Describe the bug / provide steps to reproduce it
This (locked) issue still exists and I'm running into it, using Colemak Extend from Dreymar. Specifically, the Extend layer causes some key combinations to not be picked up by zed.
Examples:
The issue disappears for ':' (Qwerty p/P, Colemak ;/:) if I comment out the following lines from the Extend config file located at
xkb-data_xmod/xkb/symbols/extend
in the repo:wev produces the correct results and without the extend layer zed reads these keys correctly. Changing to default QWERTY instead of Colemak doesn't change this issue, as long as Extend is still active.
Environment
Zed: v0.141.3 (Zed)
OS: Linux Wayland arch unknown
Memory: 58.7 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log
The text was updated successfully, but these errors were encountered: