* The Extend mapping for Enter/Return was reported to break the key: Disabled it.
* The aliases for Colemak DH had a bug (not actually used so far though)
This commit is contained in:
DreymaR 2022-07-31 17:00:34 +02:00
parent aa5d14060b
commit a8db6e705e
5 changed files with 21 additions and 11 deletions

View File

@ -43,7 +43,7 @@ DreymaR, 2021-10
TODO:
-----
* Rename setxkb --> setkb ?
* Rename setxkb --> setkb? It's easier to type! Would have to update all docs including the Forum topic.
* Make a restore to default layout shortcut? It's only an alias for `setxkb 4n/5n`. Maybe `resetxkb 4/5`?
* To get Extend with the currently active layout, use `setxkbmap -v 9 -option "" -option "misc:extend,lv5:caps_switch_lock,compose:menu"`.
* Add lv5:lalt_switch_lock for LALT-Extend.
@ -59,7 +59,15 @@ TODO:
* A purge option in addition to restore for the install script? So backup dirs etc are removed and the xkb dir restored to original state.
* Update xkb-data and start testing on a Wayland system!
* Update xkb-data and start testing on a Wayland system! Use the GitLab repo as that's the freshest there is.
* A clarification by Peter Hutterer on the mystic .part files in the rules component:
- https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/327#note_1436334
- The parts are numbered to get their sequence in the resulting files right. Only when there are differences, they start with base/evdev.
- There are RMLVO (user interface) and KcCSGST (actual XKB) letter codes. The naming of those .part files is 1234-rmlvo-kccgst.part...
- but with only the relevant bits. So, e.g., `0009-m_g.part` is the model to group mapping of the final rules file. `ml_s.part` is model + layout to symbols.
- It seems that you can make layout commits by editing only the rules/base.xml (and symbols) file(s) though?
* Echo the setxkbmap command when using setxkb.sh, for ease of troubleshooting! Also make the script able to output the command for piping?
* Add a model-less Colemak-CAWS for people who want to switch to QWERTY? Or instructions on how to setxkb it? That's better, I think.
* Problem: Using Google Spreadsheets, hitting Caps Lock (which is mapped to ISO_Level5_Shift) clears the current spreadsheet cell.

View File

@ -148,7 +148,7 @@ xkb_keycodes "colemak_dh" {
alias <LatS> = <AC03>;
alias <LatT> = <AC04>;
alias <LatG> = <AC05>;
alias <LatK> = <AC06>;
alias <LatM> = <AC06>;
alias <LatN> = <AC07>;
alias <LatE> = <AC08>;
alias <LatI> = <AC09>;
@ -159,7 +159,7 @@ xkb_keycodes "colemak_dh" {
alias <LatC> = <AB03>;
alias <LatD> = <AB04>;
alias <LatV> = <AB05>;
alias <LatM> = <AB06>;
alias <LatK> = <AB06>;
alias <LatH> = <AB07>;
};
// <-- DreymaR: Additions to xkb/keycodes/aliases

View File

@ -40,6 +40,7 @@ default xkb_keycodes "evdev" {
<RTRN> = 36;
<CAPS> = 66;
alias <EXT> = <CAPS>; // DreymaR: The Extend modifier is usually on the Caps key
<AC01> = 38;
<AC02> = 39;
<AC03> = 40;

View File

@ -45,6 +45,7 @@ xkb_keycodes "basic" {
<RTRN> = 36;
<CAPS> = 66;
alias <EXT> = <CAPS>; // DreymaR: The Extend modifier is usually on the Caps key
<AC01> = 38;
<AC02> = 39;
<AC03> = 40;

View File

@ -424,13 +424,13 @@ xkb_symbols "lv5" {
Redirect(key=<COMP>,clearmods=LevelFive), Redirect(key=<COMP>,clearmods=LevelFive) , // <MENU>/<COMP>
NoAction() , NoAction() ]
}; // ' "
key <RTRN> { symbols[Group1]=[ NoSymbol , NoSymbol , NoSymbol , NoSymbol ,
Print , Print , // PrtScr
Print , Print ], // PrtScr
actions[Group1]=[NoAction(),NoAction(),NoAction(),NoAction(),
Redirect(key=<PRSC>,clearmods=LevelFive), Redirect(key=<PRSC>,clearmods=LevelFive) , // <PRSC>
NoAction() , NoAction() ]
}; // Return/Enter
// key <RTRN> { symbols[Group1]=[ NoSymbol , NoSymbol , NoSymbol , NoSymbol ,
// Print , Print , // PrtScr
// Print , Print ], // PrtScr
// actions[Group1]=[NoAction(),NoAction(),NoAction(),NoAction(),
// Redirect(key=<PRSC>,clearmods=LevelFive), Redirect(key=<PRSC>,clearmods=LevelFive) , // <PRSC>
// NoAction() , NoAction() ]
// }; // Return/Enter // This mapping breaks the Enter key for some? Not sure why.
// +=======+==============================+=======+
// |=======| Lower Row |=======|