From 23e5338c24d6f927fde5e0093e32f9abd5d5a2aa Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 26 Oct 2016 16:36:13 +0100 Subject: [PATCH] Correctly set caps lock as Control_L only! --- X/.xinitrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2