Fusuma::Plugin::Sendkey Gem Version Build Status

Fusuma plugin that sending virtual keyboard events

  • Emulate keyboard events with evemu-event
  • This plugin is wayland compatible and alternative to xdotool

Installation

Run the following code in your terminal.

Install dependencies

$ sudo apt-get install evemu-tools libevdev-dev ruby-ffi

Install fusuma-plugin-sendkey

$ sudo gem install fusuma-plugin-sendkey

List avaiable keys

$ fusuma-sendkey -l

Run fusuma-sendkey on Terminal

  • fusuma-sendkey can emulate keyboard inputs as a command
  • Combine keys for pressing the same time with +
$ fusuma-sendkey LEFTCTRL+T

Add sendkey properties to config.yml

Add sendkey: property in ~/.config/fusuma/config.yml.

lines beginning from # are comments

swipe:
  3:
    left:
      sendkey: "LEFTALT+RIGHT" # history back
    right:
      sendkey: "LEFTALT+LEFT" # history forward
    up:
      sendkey: "LEFTCTRL+T" # open new tab
    down:
      sendkey: "LEFTCTRL+W" # close tab

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma-plugin-sendkey. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Fusuma::Plugin::Sendkey project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.