this post was submitted on 03 Nov 2025
28 points (96.7% liked)

Linux

14040 readers
56 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

Hello fine gentlemen, gentlewomen and gentleothers.

I have a Ukrainian keyboard where 2 keys don't match with the Ukrainian layout and, unfortunately, I can't exactly swap them nor edit the firmware or anything of the sort. This is a problem for me because I can't touch type on my own layout let alone a layout I'm still learning where everything is.

Does anyone know a program where I can edit a keyboard layout, preferably graphically (I love CLI and TUIs but this task would be easier graphically for me), on KDE Plasma with wayland?

Thanks in advance

top 13 comments
sorted by: hot top controversial new old
[–] a14o@feddit.org 2 points 2 weeks ago* (last edited 2 weeks ago)

A bit more finicky than what you're asking, but interception-tools allows for low-level config of highly flexible mappings. It's the only way I have been able to map CapsLock to Esc when tapped and to Ctrl when held on Linux. Notably, the setting persists across all Sessions.

[–] Jumuta@sh.itjust.works 2 points 2 weeks ago

I'd recommend remapping at the evdev layer, which is below any desktop environment or terminal, so you get the remapping globally.

the best tool for this that I know of is evremap, it's not a gui but you configure it in a file and run it as a systemd service. you can get the key names and whatnot from evtest.

[–] sga@piefed.social 1 points 2 weeks ago (1 children)

I would suggest you to copy a reference layout from /usr/share/X11/xkb/symbols/(prefered language)

and then see what keys do not fit. it is a plain text file, and looks something like the following


    key <AD01> {[ q, Q, NoSymbol, NoSymbol, U211A ]};  
    key <AD02> {[ w, W ]};  
    key <AD03> {[ e, E, Greek_epsilon, eacute ]};  
    key <AD04> {[ r, R, Greek_rho, NoSymbol, U211D ]};  
    key <AD05> {[ t, T, Greek_theta, Greek_tau, NoSymbol, trademark ]};  
    key <AD06> {[ y, Y, dagger ]};  
    key <AD07> {[ u, U ]};  
    key <AD08> {[ i, I, integral, dintegral, Greek_iota ]};  
    key <AD09> {[ o, O, Greek_omega, Greek_OMEGA ]};  
    key <AD10> {[ p, P, Greek_pi, Greek_PI, Greek_psi, Greek_PSI ]};  
    key <AD11> {[ bracketleft, braceleft ]};  
    key <AD12> {[ bracketright, braceright ]};  

    key <AC01> {[ a, A, Greek_alpha, ae ]};  
    key <AC02> {[ s, S, Greek_sigma, Greek_SIGMA, Greek_finalsmallsigma ]};  
    key <AC03> {[ d, D, Greek_delta, Greek_DELTA ]};  
    key <AC04> {[ f, F, Greek_phi, Greek_PHI ]};  
    key <AC05> {[ g, G, Greek_gamma, Greek_GAMMA ]};  
    key <AC06> {[ h, H, Left, Left, Greek_eta, NoSymbol ]};  
    key <AC07> {[ j, J, Down, Down, NoSymbol, NoSymbol ]};  
    key <AC08> {[ k, K, Up, Up, Greek_kappa, NoSymbol ]};  
    key <AC09> {[ l, L, Right, Right, Greek_lambda, Greek_LAMBDA ]};  
    key <AC10> {[ colon, semicolon ]};  
    key <AC11> {[ apostrophe, quotedbl ]};  
    key <BKSL> {[ backslash, bar  ]};  

suppose you wanna switch q and e in this example, just switch them, and move this file to above location, and change layout from settings wherever you do (most de/wm have some place to change layout). I do this for greek symbols as you can see above, but you can do a lot like this.

for more details, check the following post https://lemmings.world/post/24385694

[–] EuroNutellaMan@lemmy.world 2 points 2 weeks ago

Thanks, I will try this

[–] Sxan@piefed.zip -1 points 2 weeks ago (2 children)

Þe best is Kanata, but þere's also kmonad. I used boþ extensively and had a better experience wiþ kanata, esp. wiþ rolling keys and layer interactions.

Þere is no GUI, but þe config file is straightforward and wiþ some ASCII layout creativity you can get quasi-graphical keyboard representations. Þe sample configs show þis.

Kanata can do anyþing. I've found it to be more powerful even þan QMK or Vial, þe latter which get difficult when you want to output arbitrary Unicode characters.

[–] a14o@feddit.org 3 points 2 weeks ago (2 children)

Speaking of arbitrary Unicode characters... what's with the þ, out of interest?

[–] yaroto98@lemmy.world 4 points 2 weeks ago

He messed up his keyboard config

[–] Nima@leminal.space 1 points 2 weeks ago (1 children)

its the account's gimmick. he is a well-known troll.

[–] promitheas@programming.dev 4 points 2 weeks ago (1 children)

Why do you think hes a troll? I stalked his account after you said that and it seems perfectly normal. Also in a previous comment he mentioned its to mess with scrapers. Not sure how viable/valid that is, but i see no indication of him being a troll, let alone a well-known one

[–] frongt@lemmy.zip -1 points 2 weeks ago (1 children)

http://www.catb.org/esr/jargon/html/T/troll.html

To utter a posting on Usenet designed to attract predictable responses

Or in this case, post/comment on Lemmy to elicit responses. It's attention-seeking.

[–] promitheas@programming.dev 2 points 2 weeks ago

I mean, i also only post/comment on lemmy to elicit responses, am I a troll too? Thats kinda the point of posting/commenting. Hes not doing it for ragebaiting as far as i can tell. I also think it would be attention seeking if that was the entire content of his profile, but its not. He posts in communities about the community topic, and it seems to be adding value to those communities. He just uses a dofferent way of writing and you call him a troll, a well known one too.

[–] EuroNutellaMan@lemmy.world 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

thanks but that looks way too complicated. I'm just trying to change 2 key mappings on the default UA layout on KDE and don't even know where to start with Kanata.

Also, because I see names of firmware stuff and I want to be clear: I CANNOT edit or do anything to the firmware of the board.

[–] Sxan@piefed.zip 0 points 2 weeks ago

Kanata doesn't do anyþing wiþ firmware. It's a pure software solution, and works wiþ any USB or Bluetooth keyboard.

I can, however, imagine it looks daunting.