Why isn't this mod available in the usual way? With either setxkbmap or via any of the DE GUIs? It's really way better. Is it http://www.kbd-project.org that should be asked? Or could someone clarify how it is installed?
Why isn't this mod available in the usual way? With either setxkbmap or via any of the DE GUIs? It's really way better. Is it http://www.kbd-project.org that should be asked? Or could someone clarify how it is installed?
Have you found the Big Bag for XKB yet? That's where I try to clarify everything. That, and the Github repo.
I've considered asking the xkb people to add my Big Bag to xkb-data, but haven't yet gotten to the point where I can make a proper pull request.
*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***
Did you implement Colemak-DH as a layout variant, or as a geometry like the Wide mod?
The Wide and Angle mods are geometries so they will affect Extend. Colemak-DH started as a purely "soft" mod but unfortunately now it's a bit of both since I want Ctrl+V to still be Paste both in the layout and Extend positions. So there's a special set of Extend Angle geometries to account for that. Modularity couldn't be maintained completely.
But at heart, the DH mod is still an option for Colemak. So it only changes the necessary keys around, in any layout. Best not use it with a non-Colemak layout then, hehe!
*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***
I'm using the xmodmap [not sure exactly from where] but i think it has all mods. I'm reluctant to sudo on /etc/ so I won't use the bigbag plus iirc it has other things I don't need/want. Can the same config be done in ~/.local/ ?
currently I have this bound to a key but it seems xmodmap is slower to execute than setxkbmap
#!/usr/bin/dash
read lang < /tmp/lang
if [ "$lang" -eq "0" ]; then
setxkbmap -layout bg -variant bds
echo 1 > /tmp/lang
else
xmodmap ~/.xmodmap
echo 0 > /tmp/lang
fi
edited the us layout file
only prob is the caps lock backspace doesn't repeat
halp
Looks like you've changed the default US colemak definition there. I'm not sure about the repeating backspace, but I think it would be a lot easier to just use DreymaR's XKB files, they have been tried and tested.
Using Colemak-DH with Seniply.
But oyo stated above that they don't want to sudo on /etc, with which I do sympathize. I've tried using the local directory option of setxkbmap without success earlier. But I recently heard of a trick someone used to make it work with a local dir: Pipe the print output from setxkbmap to xkbcomp. I'll look into that when I can.
I've had some trouble with key repeat in some distros when using Extend though. Fair warning.
*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***
Oh, fair point, I thought your XKB stuff did already have a local directory mode, but I must have been mistaken.
Using Colemak-DH with Seniply.
It does, but as I remember it people had trouble actually running the layout from the local dir. It's been a while since I checked this though...
*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***
i don't know if ~/.local/share/X11/xkb/symbols/ works, doesn't seem to be read
edited the us layout file
only prob is the caps lock backspace doesn't repeat
an update must have overwritten the us file, i patched it again, it repeats now (edit: bah doesn't work again)
Looks like you've changed the default US colemak definition there.
yes, that allows me use it in gnome; i used the xmodmap as a reference
Hi, Xkb can read files from the home directory, but it needs to recompile/reread keyboard descriptions (via xkbcomp with -I option). I've tried and backspace does repeat (altough I prefer having caps as ctrl). I use a simple script that is run in ~/.xinitrc to ensure it reads my custom layout.
I've created a ~/.config/xkb directory that contains symbols/ and keymap/ directories. Run setxkbmap -layout "us(colemak)" && setxkbmap -print and save the output in ~/.config/xkb/keymap/custom.xkb. Then create a file in symbols/. Let's call it custom. Let everything be as it is, just remap the keys you want. In my case:
You can create a full layout, but I'm lazy so just included us(colemak) and rebound what I wanted. Let't go back and edit ~/.config/xkb/keymap/custom.xkb:
I have a pc105 (uk style) keyboard, so your output from setxkbmap might be different. Also, why custom(colemak)? colemak is the value of xkb_symbols in our file, custom is the name of the file.
My script that I run via "$HOME/.bin/xkb.sh" in my ~/.xinitrc:
(Remember to chmod +x the script). Tested only on Void Linux, but it shouldn't depend on a distro (as long as you run Xorg and not Wayland, of course). I think it should work with any directory, just change the value of $XKBDIR in this script as appropriate. The script can be run in the terminal to change the layout immediately (no need to restart Xorg, lol). Btw. setxkbmap doesn't have to be invoked. The layout should be loaded on its own.
EDIT: Changed the layout a bit, but I highly suggest using your own setup. I'm gonna make some other changes to it, but my goal is to fill my needs, e.g. I'm gonna use backslash as an extra super key.