Skip to content

Instantly share code, notes, and snippets.

@cobalamin
Last active August 29, 2015 14:16
Show Gist options
  • Save cobalamin/949399ffc29525c55ff8 to your computer and use it in GitHub Desktop.
Save cobalamin/949399ffc29525c55ff8 to your computer and use it in GitHub Desktop.
xcape shiftparens on Fedora 21

Clone the xcape repo, install its dependencies:

yum install gcc make libX11-devel libXtst-devel libXi-devel

then make, and move xcape to /usr/local/bin.

Create/Edit /etc/gdm/PostLogin/Default, with the minimum content of:

#!/bin/sh
xcape -e 'Shift_L=Shift_L|parenleft;Shift_R=Shift_R|parenright'

You can delete the cloned xcape repo folder if you want, or keep it to pull updates and make again in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment