Using xmodmap for caps lock -> control, and Xcape for tap caps -> Esc
This commit is contained in:
parent
65d8d54d79
commit
e4b4f9a499
2 changed files with 7 additions and 1 deletions
4
Xmodmap
4
Xmodmap
|
|
@ -1 +1,5 @@
|
||||||
pointer = 1 2 3 5 4 6 7 8 9 10 11 12
|
pointer = 1 2 3 5 4 6 7 8 9 10 11 12
|
||||||
|
|
||||||
|
remove Lock = Caps_Lock
|
||||||
|
keysym Caps_Lock = Control_L
|
||||||
|
add Control = Control_L
|
||||||
|
|
|
||||||
4
xinitrc
4
xinitrc
|
|
@ -1,6 +1,8 @@
|
||||||
xrdb ~/.Xresources &
|
xrdb ~/.Xresources &
|
||||||
setxkbmap -layout dvorak -option ctrl:nocaps
|
setxkbmap -layout dvorak
|
||||||
|
# -option ctrl:nocaps
|
||||||
xmodmap .Xmodmap &
|
xmodmap .Xmodmap &
|
||||||
|
xcape &
|
||||||
urxvtd -q -o -f &
|
urxvtd -q -o -f &
|
||||||
compton &
|
compton &
|
||||||
xsetroot -solid black -cursor_name left_ptr &
|
xsetroot -solid black -cursor_name left_ptr &
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue