From 5e1da4d5eecb26a2673f7b7e1b6a80ffa518a52d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 12 Dec 2017 09:43:26 -0500 Subject: more keyboard reconfiguring and refactoring including setting the function keys to work even without hardware level remapping --- bin/setup-inputs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 bin/setup-inputs (limited to 'bin/setup-inputs') diff --git a/bin/setup-inputs b/bin/setup-inputs new file mode 100755 index 0000000..aab71a6 --- /dev/null +++ b/bin/setup-inputs @@ -0,0 +1,22 @@ +#!/bin/sh + +# key bindings +setxkbmap -option ctrl:nocaps +setxkbmap -option compose:caps +xmodmap $HOME/.Xmodmap +$HOME/.bin/numkeys on + +# disable trackpoint +xinput set-prop "TPPS/2 IBM TrackPoint" "Device Enabled" 0 + +# tap to click on touchpad +synclient TapButton1=1 +synclient TapButton2=2 +synclient TapButton3=3 + +# restart services that depend on keyboard reconfigurations +if pgrep readproctitle > /dev/null; then + svre xcape + svre kuake + svre xbindkeys +fi -- cgit v1.2.3-54-g00ecf