DevHeads.net

Procedure to get keytable included in official console and X and wayland keytables.

I use a custom keymapping that I developed to save my hands, and
because it is very efficient. It's strength is that the most used keys
are under the strongest fingers, and that for my typing about 80% of
what I type is on the home row.

The problem is that whenever I have issues with my system, it reverts
to qwerty, and I have to hunt and peck to do things. If it was
official, this wouldn't be a problem, because I could just select it,
the same as one can select dvorak or colemak. Unlike those, I really
rearranged the keys for efficiency, and there are only 2 or 3 keys the
same as qwerty. I used to use qwerty as a touch typist, and I suppose
I could learn to switch back and forth, but qwerty is just so clumsy,
and my hands don't like it.

Does anyone know how I would go about getting my keytable, which I
call uneaf after the left home row, included? Is there an official
procedure, or is it just a submission with a request to a programmer
somewhere.

Comments

Re: Procedure to get keytable included in official console and X

By Alexander Ploumistos at 06/10/2019 - 04:22

Hi Stan,

On Mon, Jun 10, 2019 at 3:53 AM stan via devel
< ... at lists dot fedoraproject.org> wrote:
Over the years I have resorted to different hacks to have my extra
mouse and keyboard keys mapped to either other keys or key
combinations, especially on laptops. With the changes on the stack,
I've had to abandon most of them and for the last few releases, I've
been using evdevremapkeys[0] and its fork[1], their main difference
being N:N key mappings. It loads a yaml file with your mappings and
remaps input events on the fly. I haven't been able to run it as a
daemon, so I just launch a terminal at the beginning of my session and
run it from there. It would be great if our DEs had a gui tool that
allowed the same functionality, but for now this is adequate.

0. <a href="https://github.com/philipl/evdevremapkeys" title="https://github.com/philipl/evdevremapkeys">https://github.com/philipl/evdevremapkeys</a>
1. <a href="https://github.com/pronobis/evdevremapkeys" title="https://github.com/pronobis/evdevremapkeys">https://github.com/pronobis/evdevremapkeys</a>

Re: Procedure to get keytable included in official console and X

By Vitaly Zaitsev ... at 06/10/2019 - 10:01

On Mon, 10 Jun 2019 10:22:02 +0200

Thanks.

This is a great idea, but not really needed by me, except perhaps with
wayland, that doesn't do custom keytables. Once the system is running,
I just put my console keymap in /usr/lib/kbd/keymaps/xkb/, and then if
it doesn't pick up the kernel command option or the /etc/default
change, I can run loadkeys in an /etc/rc.d/rc.local.

For X, I just put the X keymapping in /usr/share/X11/xkb/symbols/ with
an .Xkbmap pointing to it in my home directory. The location changes
from release to release, sometimes it has to be a stanza in the us
keytable in the symbols directory.

But, none of these are available with the official release kernels, so
do not help when things go south (a grub prompt, install, etc.) The
daemon above suffers the same limitations. It is a solution to a
problem I already have a workaround for after the system is up and
running.

The ultimate solution is to buy a programmable keyboard, but even the
ergonomic programmable keyboards I have looked at have the same brain
dead left hand keys sloping off to the north west instead of the north
east like they should if they were to be as ergonomic as the right hand
keys. And, they are pricey [1] to buy on spec and then find that they
are terrible to use.

1. I understand why; it is expensive to build a mold, and custom
electronics boards, and they don't have the mass demand to spread that
cost around.

Re: Procedure to get keytable included in official console and X

By Zbigniew =?utf-... at 06/10/2019 - 03:24

On Sun, Jun 09, 2019 at 06:03:34PM -0700, stan via devel wrote:
Keyboard mappings are managed by the kbd project [1, 2],
but actual non-legacy keymaps are converted from xkeyboard mappings [3, 4].
(The idea is that it is best if the same mapping is available in the
graphical environment and on the console).
If you want to add a new mapping, I'd talk with the xkeyboard upstream.

[1] <a href="https://github.com/legionus/kbd" title="https://github.com/legionus/kbd">https://github.com/legionus/kbd</a>
[2] <a href="https://src.fedoraproject.org/rpms/kbd" title="https://src.fedoraproject.org/rpms/kbd">https://src.fedoraproject.org/rpms/kbd</a>
[3] <a href="http://www.freedesktop.org/wiki/Software/XKeyboardConfig" title="http://www.freedesktop.org/wiki/Software/XKeyboardConfig">http://www.freedesktop.org/wiki/Software/XKeyboardConfig</a>
[4] <a href="https://src.fedoraproject.org/rpms/xkeyboard-config" title="https://src.fedoraproject.org/rpms/xkeyboard-config">https://src.fedoraproject.org/rpms/xkeyboard-config</a>

Zbyszek

Re: Procedure to get keytable included in official console and X

By Vitaly Zaitsev ... at 06/10/2019 - 10:07

On Mon, 10 Jun 2019 07:24:21 +0000

Thanks a lot. I suspect there are some hurdles, but this gets me
started. I have both console and X keymappings, and the console keymap
is a converted X keymap that was built at the time they became
related.