Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kui/rbindkeys

key remap with ruby
https://github.com/kui/rbindkeys

Last synced: 3 months ago
JSON representation

key remap with ruby

Awesome Lists containing this project

README

        

# rbindkeys

a key remapper, which is configurable in ruby, for Linux and X Window System

## Installation

Add this line to your application's Gemfile:

gem 'rbindkeys'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rbindkeys

## Usage

1. `rbindkeys -e > ~/.rbindkeys.rb`
2. edit `~/.rbindkeys.rb`
3. select a keyboard device (see `sudo rbindkeys --evdev-list`)
4. `sudo rbindkeys /dev/input/event2` if you selected "/dev/input/event2"
as a target keyboard

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

## TODO

* write documents and publish on rubygem.org
* a daemonize script
* remove @two_storoke and add PrefixBindResolver class
* change BindResolver on input method system
* simplify config file (e.g. `bind_key [:ctrl, :m], :enter`, `bind_key "ctrl+m", "enter"` )
* integrate ibus controller (e.g. `bind_key "alt-grave", "toggle_ibus"` )
* notification when active a prefix key, changing ibus status, etc..
* the LED manipulation does not work for bluetooth devices
* fix bug
* the enter key cannot be release when `rbindkey` is executed

## Other Configurable Key Remappers For Linux

* [x11keymacs](http://yashiromann.sakura.ne.jp/x11keymacs/index-en.html)
* [xfumble](http://endoh-namazu.tierra.ne.jp/xfumble/)
* [私家版 窓使いの憂鬱 Linux & Mac (Darwin) 対応版](http://www42.tok2.com/home/negidakude/)