• You are not logged in.

Mod-DH for Colemak

  • Started by stevep99
  • 254 Replies:
  • oyo
  • New member
  • Reputation: 0
  • Registered: 12-Dec-2018
  • Posts: 3

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?

Last edited by oyo (12-Dec-2018 14:41:16)
Offline
  • 0
  • Reputation: 99
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,603

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... ***

Offline
  • 0
  • Reputation: 10
  • From: Belgium
  • Registered: 26-Feb-2008
  • Posts: 438

Did you implement Colemak-DH as a layout variant, or as a geometry like the Wide mod?

Offline
  • 0
  • Reputation: 99
  • From: Oslo, Norway
  • Registered: 13-Dec-2006
  • Posts: 4,603

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!

Last edited by DreymaR (12-Dec-2018 16:28:07)

*** Learn Colemak in 2–5 steps with Tarmak! ***
*** Check out my Big Bag of Keyboard Tricks for Win/Linux/TMK... ***

Offline
  • 0
  • oyo
  • New member
  • Reputation: 0
  • Registered: 12-Dec-2018
  • Posts: 3

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
Offline
  • 0