• You are not logged in.

    Don't mess with Backspace, I need my Ctrl

    • Started by sapphirecat
    • 9 Replies:
    • Reputation: 0
    • From: Jamestown NY USA
    • Registered: 23-Aug-2008
    • Posts: 6

    As a long-time user of machines that put a Control key to the left of A, such as the Amiga and Sun keyboards, I naturally have ctrl/caps swapped on my Kubuntu 8.04 install.

    This usually works just fine, as my Caps key still is Ctrl, but Shift+"Caps" has become Backspace, so half of my Ctrl+Shift+* shortcuts work anymore. Is there a way to undo Colemak's mangling of "Caps"?

    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,364

    Mangling and messing, huh? How about showing a little more kindness and empathy when asking for advice?

    I'd look into the file you're using, whether the console or xkbd one. There's a line in those that govern the CapsLock behaviour and it should be pretty easy for a coder to fix it. If you can't figure out how, ask again.

    Last edited by DreymaR (28-Sep-2008 15:07:12)

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

    Offline
    • 0
    • Reputation: 0
    • From: Jamestown NY USA
    • Registered: 23-Aug-2008
    • Posts: 6

    I meant mangling in the jargon sense, rather than the English connotation. Sorry about that.

    I've managed to find the relevant Colemak definition in «/usr/share/X11/xkb/symbols/us», but I'm wondering if there's a place to change the Caps key that won't get overwritten when Kubuntu upgrades the keyboard files.

    Offline
    • 0
    • Reputation: 0
    • Registered: 31-Dec-2008
    • Posts: 35

    I'm curious about this too. Once my accuracy goes back to 100% I'm expecting to get more use out of the caps key as a replacement of the enter key to take out the rightward movement of the wrist.

    Offline
    • 0
    • Reputation: 1
    • From: New York, New York
    • Registered: 22-Nov-2008
    • Posts: 130

    The enter key in that location would be pretty convenient, but I doubt that I could ever get used to losing my second backspace again. Also getting 100% accuracy would be something hard. Most of the time the best I can get is something like 98% when I concentrate like crazy, and even then sometimes my fingers get naughty

    Colemak typist

    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,364

    Yes, I doubt that most typists will get much above 98%. And a 2% usage means a semi-common key, which ideally should be in a nice position.

    Colemak itself hasn't moved around any non-letter keys apart from the CapsLock, and that one's causing a lot of technical trouble because none of the operating systems 'expect' that kind of thing. It's nice enough if you can implement it; my own CapsLock key is used mostly as the 'Extend/Transpose' key in PKL nowadays, so I can at least quite easily get both Enter (Caps+'o') and Backspace (Caps+';') with it - and a heap of other useful keys too (such as Caps+'UNEI' for arrows). But I've also had it as an SGCAPS modifiers which enabled me to switch to greek characters (which is only useful if you are a bit of a Γρεεκ γεεκ like me, I suppose...).

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

    Offline
    • 0
    • Reputation: 0
    • Registered: 01-Oct-2009
    • Posts: 2

    I've been trying to replace the backspace on the Caps Lock key with Ctrl for hours now but I can't figure out the syntax!

    CapsLock = OEM_1    0    ={backspace}    *{CapsLock}    ={backspace}    ={backspace}    ={backspace}    ; Caps Lock

    What do I replace ={backspace} with to get Ctrl instead? I've tried ={ctrl}, ={control}, ={Ctrl}, ={Control}, but none of them seem to work. I've searched the alternative layout files without success. Please, help!

    Offline
    • 0
    • Reputation: 23
    • From: Belgium
    • Registered: 26-Feb-2008
    • Posts: 482

    On X11, it's "Control_L" (left control key).

    After replacing "BackSpace" with that on the <CAPS> key, you also have to turn it into a modifier key:

    xmodmap -e "add control = Control_L"
    Offline
    • 0
    • Reputation: 23
    • From: Belgium
    • Registered: 26-Feb-2008
    • Posts: 482
    sapphirecat said:

    I've managed to find the relevant Colemak definition in «/usr/share/X11/xkb/symbols/us», but I'm wondering if there's a place to change the Caps key that won't get overwritten when Kubuntu upgrades the keyboard files.

    Just make a copy of that file (eg. "myus") and make changes there.  In your xorg.conf file or setxkbmap commands, just use "myus(colemak)" instead of "us(colemak)"...

    Offline
    • 0
    • Reputation: 0
    • Registered: 01-Oct-2009
    • Posts: 2
    ghen said:

    On X11, it's "Control_L" (left control key).

    After replacing "BackSpace" with that on the <CAPS> key, you also have to turn it into a modifier key:

    xmodmap -e "add control = Control_L"

    But I'm using Portable Keyboard Layout on Windows.

    Offline
    • 0