Last active
January 10, 2025 19:27
-
-
Save theodric/1a898b92a52ca39e86c459f3288dcb45 to your computer and use it in GitHub Desktop.
keyd config for the ThinkPad E14 gen2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## E14 (with a fucked-up Fn key) | |
## First part: Mappings to make the keyboard work more like the C13 | |
## Second part: Libinput quirks file to restore the function of disabling the touchpad while typing | |
## twinkpad:/etc/keyd # cat thinky.conf | |
[ids] | |
0001:0001:a38e6885 | |
[main] | |
f1 = back | |
f2 = forward | |
f3 = refresh | |
f4 = f11 | |
f5 = scale | |
f6 = brightnessdown | |
f7 = brightnessup | |
f8 = mute | |
f9 = volumedown | |
f10 = volumeup | |
back = back | |
forward = forward | |
refresh = refresh | |
zoom = f11 | |
scale = scale | |
brightnessdown = brightnessdown | |
brightnessup = brightnessup | |
mute = mute | |
volumedown = volumedown | |
volumeup = volumeup | |
f13=coffee | |
sleep=coffee | |
[meta] | |
f1 = f1 | |
f2 = f2 | |
f3 = f3 | |
f4 = f4 | |
f5 = f5 | |
f6 = f6 | |
f7 = f7 | |
f8 = f8 | |
f9 = f9 | |
f10 = f10 | |
back = f1 | |
forward = f2 | |
refresh = f3 | |
#zoom = f4 | |
#scale = f5 | |
#brightnessdown = f6 | |
#brightnessup = f7 | |
#mute = f8 | |
#volumedown = f9 | |
zoom = f4 | |
#volumeup = f10 | |
[alt] | |
backspace = delete | |
brightnessdown = kbdillumdown | |
brightnessup = kbdillumup | |
f5 = kbdillumdown | |
f6 = kbdillumup | |
up = pageup | |
down = pagedown | |
left = home | |
right = end | |
[ = A-back | |
] = A-forward | |
pagedown = C-] | |
pageup = C-[ | |
[control] | |
f5 = print | |
scale = print | |
## twinkpad:/usr/share/libinput-1.27.0/libinput # cat local-overrides.quirks | |
[Serial Keyboards] | |
MatchUdevType=keyboard | |
MatchName=keyd virtual keyboard | |
AttrKeyboardIntegration=internal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment