calin-darie / extra-keyboard-layouts

To România and beyond!
MIT License
56 stars 34 forks source link

Annoying Capslock Behavior #47

Open FAChenier opened 1 year ago

FAChenier commented 1 year ago

It seems that on most Linux variants, default behaviour of hardware capslock is annoying and undesirable.

Essentially, compared to, for example, Windows or MacOS, Linux (including Android) doesn't do key timing appropriately.

Basically, when caps is toggled off, it stays active for some reason. Example of the effect: "THis sentence. IS broken up. I am also. USing caps for. UPpercase."

TLDR I believe this app would be able to resolve the issue of bad capslock timing.

A fix exists for this on Linux: https://forum.manjaro.org/t/incorrect-caps-lock-key-behaviour-rant-tutorial/60399

It involves editing the keymap file and changing the code block defining the behaviour of the capslock key.

On Android, using Termux to replicate, this is impossible unless rooted (unsure even then). This is where I believe this app can come in handy.

If there is a way to replicate the fix from the forum post linked above, it would be truly wonderful. Since this app technically already messes with keyboard mapping files, I believe this is possibly but my knowledge is too limited to be sure.

I would try to contribute but I am not knowledgeable enough to do so.

(Note: I am using canadian_multilingual_standard on Samsung Tab S8+ up to date as of 2023-08-21 with a Samsung folio keyboard. The capslock issue existed before and after installing the app)

FAChenier commented 1 year ago

Better link. Also my wording is inadequate but my point still stands https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Switching_state_immediately_when_Caps_Lock_is_pressed

Basically, on Android, capslock is toggled off when the caps key is released (actuated then de-actuated)

The desired behaviour is that it is released on press (actuated) to more closely follow behaviour expected from Windows or Mac

jidhub commented 3 months ago

Some keys like space or enter or capslock have delayed effects on some Androids.