this post was submitted on 13 Apr 2024
229 points (84.8% liked)

linuxmemes

20473 readers
871 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

Credit for the answer used in the right panel: https://serverfault.com/a/841150

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 months ago

Miryoku isn't a regular layout. It has things like keys that change what they do depending on whether you tap them or hold them. Maybe it's theoretically possible to implement it as a standard XKB layout, but it would not be fun. Usually, Miryoku is implemented in your keyboard firmware. But if your keyboard doesn't support flashing custom firmware (e.g. builtin laptop keyboard), then you have to use a software solution like kmonad, which is a daemon that has to run as root.

As a sidenote, even for some "standard" keyboard layouts there needs to be background process. For example, Chinese and Japanese have too many characters to fit on a keybaord, so they use something called an Input Method Editor. But those usually don't need root, in contrast to kmonad.