GithubHelp home page GithubHelp logo

karioki / remaps Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

Ergonomic keyboard mapping using xcape and xmodmap

License: GNU Lesser General Public License v3.0

Shell 100.00%
linux keyboard mapping keyboard-layout dwm i3 xmodmap

remaps's Introduction

Remapping

It's not perfect but I've been using it now for a long time.

So it modifies some keys:

Key Single Press Hold (Modifier)
Space Bar Space Super or Window Key
CapsLock ESC Ctrl
Enter Enter Ctrl
LeftShift Underscore LeftShift
RightShift Dash RightShift

So in a short summary, this will give Control keys access to the pinkies in addition to ESC. And will use two Shift keys for frequently used but hard to reach keys (at least for me, you can use them for other keys). Last but not least the Space Bar act as Super key which can be super useful.

Usage

This will only work with locale set to "en_US.UTF-8". This can be helpful for managing locale. You need to install package xcape first then:

cd <path-to-this-repo>
sh remaps

Add above in your startup programs for daily usage.

Some problems

  • super + space will not work if you some binding to it. You can reassign that binding.
  • Very rarely, in some programs when you type <space> <some-key> this can go wrongly as super + <the-key>. This is mainly due to slow xcape or human error.

Note

If you were using some other mappings or did some modification to this script you may need to reload it properly:

cd <path-to-this-repo>
setxkbmap -layout us -option; killall xcape; sh remaps

Limitation

Works under Linux and Xorg only. Most of the desktop distros should be fine. Dwm and i3 are fine too.

remaps's People

Contributors

karioki avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.