Debian – Keyboard doesn’t works on XFCE (but it works!)

debianhardwarekeyboardxfce

Before I formatted my notebook, the onboard keyboard worked perfectly on Debian 8 with Gnome 3. Now, after installing Debian 9 with a minimal XFCE, it doesn't work anymore, except on CLI.

I can't even change to TTY because no keys work, except in recovery mode.

Here are some files that I collected about the keyboard settings:

/etc/default/keyboard:

XKBMODEL="pc105"  
XKBLAYOUT="br"  
XKBVARIANT=""  
XKBOPTIONS=""  

BACKSPACE="guess"

/usr/lib/xorg/modules/input:

mouse_drv.so synaptics_drv.so void_drv.so

I have installed the package xserver-xorg-input-kbd during the install, but decided remove it thinking that it was the problem. In both cases the keyboard doesn't work on XFCE.

And no, I don't use any session manager. I just automated the process of login through the systemd and the .profile.

Edit: I installed the package xserver-xorg-input-libinput and the keyboard started to work on XFCE. Case closed. =)

Best Answer

Just to make it clear what the answer is: I was having a similar issue, and I also installed the package xserver-xorg-input-libinput as suggested and the keyboard started to work again.

Related Question