Skip to content
r0adrunner edited this page Sep 3, 2012 · 2 revisions

To install Space2Ctrl, cd to the project's directory and compile it using the following command:

g++ -o Space2Ctrl Space2Ctrl.cpp -W -Wall -L/usr/X11R6/lib -lX11 -lXtst

This package also requires the X11 and XTEST development packages. You most probably will have it already installed in your system and can skip this step but if not:

  • Install X11 and XTEST development packages. On Debian GNU/Linux derivatives, $ sudo apt-get install libx11-dev libxtst-dev
  • Enable the XRecord module by adding 'Load "record"' to the Module section of /etc/X11/xorg.conf, e.g.: Section "Module" Load "record" EndSection
Clone this wiki locally