Libxkbcommon 1:1 ruby bindings for libxkbcommon Installation Add this line to your application's Gemfile: gem 'libxkbcommon' And then execute: $ bundle Or install it yourself as: $ gem install libxkbcommon (Re-)Compiling the binding $ rake ffi:generate