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
rbindkeys -e > ~/.rbindkeys.rb
- edit
~/.rbindkeys.rb
- select a keyboard device (see
sudo rbindkeys --evdev-list
) sudo rbindkeys /dev/input/event2
if you selected "/dev/input/event2" as a target keyboard
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - 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
- the enter key cannot be release when