You are not logged in.
I have installed i3 and using en_US keyboard layout. I accidentally deleted /usr/share/X11/xkb/symbols/us
Since I deleted I can't use any of my keys in i3 X window. If I press mod+enter or any key combination nothing works at all.
Only the power button powers off my laptop. But I can use my keyboard in virtual console.
I tired re-installing all xorg packages and i3 package. I even re-installed xorg-xkb* packages, but still no keys are working.
Is there any way I can recover that file? I tried recovering that file using testdisk but it was empty. Help me guys please, Thank you
Last edited by makundyne (2018-01-22 13:03:59)
Offline
I tried on my own and found a /usr/share/X11/xkb/symbols/us file on pastebin https://pastebin.com/VE9hD3CV
I am very sorry i didnt do that search first, so i wasted a post and precious time of viewers.
Offline
You were on the right track with reinstalling a package, but you chose the wrong one:
$ pacman -Qo /usr/share/X11/xkb/symbols/us
/usr/share/X11/xkb/symbols/us is owned by xkeyboard-config 2.22-1
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline