keybinder is a library for registering global keyboard shortcuts. Keybinder works with GTK-based applications using the X Window System.
The library contains:
- A C library, libkeybinder
- Lua bindings, lua-keybinder
- Python bindings, python-keybinder
- An examples directory with programs in C, Lua, Python and Vala.
Included in Debian and Ubuntu under the package name python-keybinder
Code is hosted at github.com: keybinder (important: was moved from engla/python-keybinder)
Source tarball: keybinder-0.2.2.tar.gz (317 K)
- Add pkg-config file contributed by Jérôme Guelfucci
- Add Vala example and .vapi file to examples/
- Make lua-keybinder installable (this is experimental), using ax_lua.m4
Compile and Installation Notes
If you don't have the neccessary dependencies, and don't want to build the python bindings, you have to explicitly disable them using the --disable-python option with configure.
It is possible you need to tell configure where Lua includes are to be found using (adjusting the path appropriately):
./configure CPPFLAGS=-I/usr/include/lua5.1
If you want to compile with reduced library linking, configure using:
CC="cc -Wl,--as-needed" ./configure
History
This library originates in Tomboy and has been widely reused without having a separate release. This package has taken the python bindings from the Deskbar Applet project, and broken it out to a standalone project. The library was subsequently rewritten in major parts.
The module is licenced under the GNU General Public License v2 (or at your option, any later version), see the included file COPYING for details.