From ccc8a16c127fef39fe2e3db86cf1b971d0180518 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 14 Oct 2013 00:44:57 -0400 Subject: move key rebindings to before services are started in particular, xcape breaks if you rebind keys after it has already been started --- xinitrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xinitrc b/xinitrc index f00f528..79993e1 100644 --- a/xinitrc +++ b/xinitrc @@ -1,10 +1,12 @@ #!/bin/sh +# these have to all happen before xcape is started +setxkbmap -option ctrl:nocaps +setxkbmap -option compose:caps +xmodmap $HOME/.Xmodmap + pidof svscan || (svscan $HOME/.services 2>&1 | readproctitle $USER ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................) & -setxkbmap -option ctrl:nocaps # disables caps lock -setxkbmap -option compose:caps # sets caps key to compose -xmodmap $HOME/.Xmodmap synclient HorizEdgeScroll=1 upower -e -- cgit v1.2.3-54-g00ecf