Tag: Keyboard

  • Ubuntu Remap keys in the keyboard

    Left Shift key on my keyboard started acting up. It some times work, some times it won’t. I never use the caps lock key on my kayboard, this is just above the shift key. So i decided to use this key as left shift key.

    To re-assign key, you need to edit file /usr/share/X11/xkb/symbols/pc

    Lets take a copy of the file before we edit it

    cp /usr/share/X11/xkb/symbols/pc ~/pc-backup
    

    Edit

    sudo gedit /usr/share/X11/xkb/symbols/pc
    

    Find the line

         key  {	[ Caps_Lock		]	};
    

    This is on line 22

    Replace with

         key  {	[ Shift_L		]	};
    

    Now you need to restart X-Windows by pressing ALT+F2, then type r. You can also just reboot your computer for the new keymap to work. After restart, i can use Caps lock key as my Left Shift key.

    If you want to disable left shift key, you can comment the line

        key  {	[ Shift_L		]	};
    

    by adding // at beginning of the line.

    See Ubuntu

  • Mechanical Keyboard

    Here are some Tenkeyless Mechanical keyboards available in India.

    https://www.thecosmicbyte.com – they have keyboard switches, have keyboard similar to Reddragon.

    https://mdcomputers.in

    https://www.amazon.in

    https://www.flipkart.com

    https://meckeys.com/category/keyboard/80-keyboard/page/1

    https://www.genesispc.in/products/royal-kludge-rk-r87-black

    https://keychron.in/product/gateron-switch-set

    Switch Keys in Ubuntu

    My escape key stopped working. I don’t use the caps lock key much, so I changed capslock to function as escape key.

    sudo vi /etc/default/keyboard

    Find the line that starts with XKBOPTIONS and modify it to include caps:escape:

    XKBOPTIONS="caps:escape"

    Reboot the computer.

    How to Fix Redragon WASD and Arrow Keys Got Swaped

    Press “FN” key (right side of space key, you will find “ALT” key, FN key is next to it) + W