Skip to content
This repository

Turns the spacebar key to another control key.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 Space2Ctrl.cpp
Octocat-spinner-32 s2cctl
README.md

Space 2 Control

This little hack for X turns the spacebar key into another control key when used in combination. When used alone, it behaves like the ordinary space bar on the key release event. Especially useful with Emacs.

Prerequisites:

  • Install X11 and XTEST development packages. On Debian GNU/Linux derivatives:
sudo apt-get install libx11-dev libxtst-dev
  • If the program complains about a missing "XRecord" module, enable it by adding 'Load "record"' to the Module section of /etc/X11/xorg.conf: (This step is unnecessary in most systems) e.g.:
    Section "Module"
            Load  "record"
    EndSection

Install:

make
sudo make install

Arch linux

Space2Ctrl is currently available via the Arch User Repository (AUR) as 'space2ctrl-git'.

Usage:

  • Load Space2Ctrl with "s2cctl start"
  • Unload Space2Ctrl with "s2cctl stop"
Something went wrong with that request. Please try again.