Score:0

How to add specific levels to keyboard layout

sy flag

I'm trying to modify my keyboard layout.

I found the way to set one key to 8 different chars (with Shift+, Shift+AltGr+ etc), adding

include "level3(ralt_switch)

or similar commands to /usr/share/X11/xkb/symbols/<layout_file>. But I work a lot with programs which have large number of hotkeys, and thus I can't use most symbols.

What I want is to set my numeric keypad to be such "modifier keys":

<Numpad 1> + a = α
<Numpad 2> + a = æ
etc

But /usr/share/X11/xkb/symbols/level3 and level5 allows only AltGr, RightCtrl and few more keys to be "modifiers". And I yet don't understand what their content actually means, and can I add more than 2^3 levels or not (The ideal variant for me is 20 levels: basic, Shift+, Numpad1..9+ , Shift+Numpad1..9+, which gives 2*10)

So

  1. Is it possible to create more than 2^3 levels?
  2. Is it possible to "call" them not as bitmask of few (M1, M2, M1+M2, M3, M3+M1, M3+M2, M3+M1+M2...), but less finger-breaking (S, M1, M1+S, M2, M2+S, M3, M3+S...)?

OS: Ubuntu 22.04.1

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.