You are not logged in.

#1 2018-01-22 12:34:57

makundyne
Member
Registered: 2018-01-21
Posts: 2

[SOLVED]accidentally deleted xkb/symbols/us file, no key works in i3

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

#2 2018-01-22 13:03:39

makundyne
Member
Registered: 2018-01-21
Posts: 2

Re: [SOLVED]accidentally deleted xkb/symbols/us file, no key works in i3

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

#3 2018-01-22 13:11:05

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: [SOLVED]accidentally deleted xkb/symbols/us file, no key works in i3

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

Board footer

Powered by FluxBB