• You are not logged in.

    Colemak in Ubuntu Without Caps Remap?

    • Started by Viett
    • 4 Replies:
    • Reputation: 0
    • Registered: 25-Nov-2010
    • Posts: 3

    I'm looking to use Colemak in Ubuntu without remapping Caps Lock. Is this possible?

    Thanks,
    Viett

    Offline
    • 0
    • Reputation: 0
    • From: Ann Arbor, MI
    • Registered: 25-Sep-2008
    • Posts: 36

    Use xmodmap.

    Offline
    • 0
    • Reputation: 0
    • Registered: 25-Nov-2010
    • Posts: 3

    I tried fiddling around with xmodmap. I can use it to remap the caps lock to certain functions, but I cannot "unmap" it from backspace. For example, I can map caps lock to caps lock using xmodmap, but then hitting the caps lock key will both toggle caps lock and hit backspace.

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

    xmodmap -e 'keycode 66 = Caps_Lock'
    xmodmap -e 'add Lock = Caps_Lock' 
    xset -r 66

    The first two (the part between quotes) can be put in an .Xmodmap file in your homedir, I think Gnome will load them automatically.  If not, run "xmodmap .Xmodmap" in your startup script.

    Alternatively, you can edit the layout files directly (make a copy, or download the original one from the Colemak website, so system updates won't overwrite your changes).

    Offline
    • 0
    • Reputation: 0
    • Registered: 25-Nov-2010
    • Posts: 3

    Good suggestion modifying the layout itself. I commented out the Caps remap and it works perfectly. I had trouble finding the xkb/symbols directory, though. Apparently it's in /usr/share/X11, unlike many guides suggested.

    Offline
    • 0