• You are not logged in.

    Colemak Español/Spanish (script for Linux)

    • Started by DiThi
    • 2 Replies:
    • Reputation: 0
    • Registered: 10-Nov-2012
    • Posts: 1

    Hi, I just copied the Dvorak variant and modified it to be Colemak. I haven't included caps-as-backspace because I haven't managed to enable autorepeat in that key.

    Open a console window, type sudo su, press enter, type your password, enter again, and you should see a # at the end. Copy and paste the entire script below.


    Abre una ventana de consola, escribe sudo su, presiona enter, escribe la contraseña y tras pulsar enter de nuevo deberías ver una # al final. Copia y pega todo el script de abajo.

    #!/bin/sh
    grep colemak /usr/share/X11/xkb/symbols/es||(
    echo "H4sICOQenlACA2NvbGVtYWsxAJ2XbW/bNhCAv/tXHPypBQg0bvqKbgPilyVb3WStvdeiCCjqbHGiRIWUnHhF//uOkuxIdOJaFgLYgqwnd6d7jlQv4yaXXAFXWcTTIkEjxXWMa9u7i4Nru04CrSz0hVaY8LgPX3s9oCPlCX4+N7rIBl9+7M8ynkobwZNR9bOn/XfVz549g7MGGCyKXOq0vEb/BH6YT8eTn+Dr
    Z4CEW1EomSIDbcIFJjItTwIuYqu4jRiEuDSI0Di+fHt3zzqbnAwq1uYYMMA7oXjiMIbAKdoio0i0gZ3DZz1vs54zuCl0jmGgGPCcQX6rH4X5rNM265RBeWMoMM3RYMiAKhSgsXKZEjmiNLdsn/WizXpBddFKufSoglLmUoVYpnpT0LNFsy+ul23WyzIuFxQVzOgY07JsC7lClMsoj+we1qs26xXFkxDN8tSl
    p/NGbnVk9lHW6zbrNYO6BSitiKsFneMK092gHmC9abPeUI7cYKpwkZe8ClJH5hF91ts2623NMu6uuv5CGlEk8N3+Gpy0WSfUq1QXaq6l4St03c7D61AXgUIuinxf3w+qvueZtrnRWYSuV9E61WpOwoXZnuglpR0/xqr6vvIm1LfpPas6KxGBwW2MPNArDHVesxqwsS/kDYOPDERhqGhiDfuPdmBjX8hbBn/C
    oYfP8oSkhvqZOqBusnn5eTDLEzJj8FvZF5weZBZ1i8sTcsngnKrsnmpM5R5XXw5keUL+y+DXo+vlCUldOiUHyWGa2MuOLE/IgsHv5I4hEIMzs5/nszwh1wz+ZrDG9IgcG0Km9RC9rD/V5gFMH3sAPqvq+1KPps7VcFgovHMDllY2zKs5VF3l5Oguq9n3mSqsGzRUeWnjLaQeQO4qrZtFe7A2YCNfSE4lJx7F
    dzbpWLCRLyStFJ8YGFxKWy9queEh7QdM/H2WJyQlOaMGsxE3GdtsGw6NyxOSCjN3410bml7zi6tPlx1y9ISkpMY0qN16MZlfdKyXJyQxLhhEm9666CD3yBeSMrukuJxCk8vzjnF5QlIsE/orjJ7Rkt2R5QkpGfxCqywhrzr3l79CaoIQqx7SV12G9KgpZLmabtZXyalVrbSVStiwsXR/lzV8P5vWcQmBoaStF4PR9ltJqXWspK6uPCzkdHY+bySp0Fq3/iMngehLQXdiousZsT0t8btJDn25/2Pwz5ETf9iSm6bVXwySQuUyUzRjQ7mS9mAhh77cggpGu4Bymyl0tt7mcwjLk3vF4I+jc/TkDhgMj2Z5ctNsfs8gNvwYlic3vb58cOU/Kq6G3EInCXfTNJH0PqfTzqx7uavXF/f4DuE8wGrKXS5ZDIo0pHcCoQ3JGa1pF0tDrdq3PsQqYTIVqiBL+4q2o+r0ieEqv7a3MhfR036PfvU/Ic2xEeAOAAA="|base64 -d|gunzip\
    >> /usr/share/X11/xkb/symbols/es
    x=$(echo "H4sIAHoinlACA3WPzw6CMAzG7z5Fj5hBCP47LQvGiybcfIIKExbZRljR1xcxJBOkl6Zf26+/pilEu+0+CQ/AhpxsIE1XMAaPn9gqNCQ8bS71Ym7NXZUXklqsGPgdg1qK3NZS44PHQzWZKKTLW9WQskZcGzTKVRCcvhtrHvttf5PHf496zGzOzBaYYc6MjkZeWOQ9Ouo+1hD05MqE8FJUwc0SWR0VluAMaApfyKYv/ZrXaMoOS5kp1+O+Adw1kK6hAQAA"|base64 -d|gunzip)
    cd /usr/share/X11/xkb/rules/
    for p in base.xml evdev.xml xfree86.xml xorg.xml
    do echo --- $p 2012-11-10 10:41:49.675640699 +0100
    echo +++ $p 2012-11-10 10:42:02.747640873 +0100
    echo "$x"
    done|patch -p0)

    Edit: Removed line breaks so it's easier to copy.

    Last edited by DiThi (10-Nov-2012 13:07:00)
    Offline
    • 0
    • Reputation: 214
    • From: Viken, Norway
    • Registered: 13-Dec-2006
    • Posts: 5,363

    Check out my sig topic. I have one of those too! ;)

    No idea how you did that script magic though. Patch wizardry.

        Cmk-X-eD-es-lsym-awide-sl_mask.png
        Spanish (Spain) 'Keep Local Symbols' Colemak[eD]

    Last edited by DreymaR (10-Nov-2012 19:48:49)

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

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

    I haven't included caps-as-backspace because I haven't managed to enable autorepeat in that key.

    xset r 66

    Offline
    • 0