From: Maximilian Friedersdorff Date: Wed, 26 Oct 2016 15:36:13 +0000 (+0100) Subject: Correctly set caps lock as Control_L only! X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=23e5338c24d6f927fde5e0093e32f9abd5d5a2aa;p=max%2Fdotfiles.git Correctly set caps lock as Control_L only! --- diff --git a/X/.xinitrc b/X/.xinitrc index 857c4b0..7897989 100644 --- a/X/.xinitrc +++ b/X/.xinitrc @@ -17,6 +17,8 @@ fi xrdb -merge ~/.Xresources &> /dev/null setxkbmap -variant colemak gb +xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L" +xmodmap -e "add Control = Control_L Control_R" # Set screen layout xrandr --output VGA1 --right-of HDMI1 @@ -29,6 +31,4 @@ feh --bg-scale ~/Pictures/background.jpg& xset -b -setxkbmap -option 'ctrl:nocaps' - exec /usr/bin/ratpoison