Archives For November 30, 1999

Want to remap your keyboard or gamepad keys in Ubuntu Linux? It’s easy to do this via Input Remapper.

Input Remapper is a free and open-source tool written in Python 3. With it, you can change the mapping for input devices, including mouse, keyboard, and gamepad.

It works on both X11 and Wayland, and supports for mapping to combined buttons (e.g., Control+A) and programmable macros.

The software has an easy to use interface. Simply start the app, choose the device (e.g., keyboard) to you want to remap, then click add new preset and do:

    1. Click ‘Add’ button in left to add an item.
    2. Click the pencil icon and type a name.
    3. Use “Record” button to record the original keyboard key or key combination.
    4. Choose device to map the input key to.
    5. Finally, type the output key, e.g., letter (a, b, …, z), number (1, 2, …, 9), and/or function keys (Alt_L Control_L Control_R Shift_L Shift_R)

Presets are saved in user’s .config/input-remapper-2/presets folder. You can use them in another machine that can read these “.json” files.

How to Install Input Remapper in Ubuntu:

The software offers official .deb package for Ubuntu / Debian based systems.

Grab the deb package, then open terminal and run command to install it:

sudo apt install ~/Downloads/input-remapper*.deb

It should work on all current Ubuntu releases since it requires only a few python modules.

Once installed, open it from system app launcher and enjoy!

(Optional) For choice, there’s command to remove the tool from Ubuntu:

sudo apt remove --autoremove input-remapper

For Mac users want to change keybinds in Ubuntu Linux or Windows, Kinto is an easy system-wide solution with setup wizard and system tray indicator.

The software description says:

Type in Linux & Windows like it’s a Mac. Seamless copy and paste with all apps and terminals. The zero effort solution.

Kinto works for standard Windows, Apple and Chromebook keyboards. Different to most other re-mappers, it is a complete system-wide remap of your base level modifier keys.

GUI keys:

Physical Ctrl Win/Alt Alt/Cmd Spacebar
Virtual Win/Super* Alt RCtrl Spacebar

Terminal Keys:

Physical Ctrl Win/Alt Alt/Cmd Spacebar
Virtual LCtrl Alt RCtrl Spacebar

How to Install Kinto in Ubuntu:

Make sure you have python 3 installed, then follow the steps to grab the source and set it up.

1. Open terminal and run command to clone the source:

git clone https://github.com/rbreaves/kinto.git

2. Then run command to navigate to kinto folder, and run the setup.py script.

cd kinto && ./setup.py

If everything goes well, a setup wizard will pop-up

Just click on ‘Agree’ button, follow the wizard, hit Enter, and you’re done! The system tray indicator is not enabled by default, you can enable it from the File menu.

see Kinto on github.