You are not logged in.

#1 2017-05-02 01:06:10

rhomheow
Member
Registered: 2017-05-02
Posts: 19

[SOLVED] Keyboard not responding in xfce4

I installed the xfce4 desktop environment successfully but then everytime i run it, my keyboard stops responding. Any help on how i can fix this?

Last edited by rhomheow (2017-05-11 22:21:16)

Offline

#2 2017-05-02 08:44:54

alex.theoto
Member
From: Athens Greece
Registered: 2014-11-30
Posts: 307

Re: [SOLVED] Keyboard not responding in xfce4

Can you enter into tty? When you press numlock does the led on your keyboard turn on-off?
Check the logs.

Offline

#3 2017-05-02 09:32:46

rhomheow
Member
Registered: 2017-05-02
Posts: 19

Re: [SOLVED] Keyboard not responding in xfce4

No. I can't enter into tty. No key on the keyboard responds at all.

Offline

#4 2017-05-02 09:39:05

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: [SOLVED] Keyboard not responding in xfce4

how do you run it and how did you configure your keyboard?

Offline

#5 2017-05-02 19:53:06

rhomheow
Member
Registered: 2017-05-02
Posts: 19

Re: [SOLVED] Keyboard not responding in xfce4

Today i tried again and my keyboard-light button was working. I was able to turn my back light on and off. However, no other key was working. My mouse too works fine. I put startxfce4 in the .xinitrc file and so used the startx command to start it.

Offline

#6 2017-05-02 21:40:52

seth
Member
Registered: 2012-09-03
Posts: 63,078

Re: [SOLVED] Keyboard not responding in xfce4

Try replacing xf86-input-libinput with xf86-input-evdev (install the latter and add some /etc/X11/xorg.conf.d/11-keyboard.conf)

Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard     "yes"
    Option              "XkbModel" "evdev"
    Option              "XkbRules" "xorg"
    Option              "XkbKeycodes" "evdev"
    Driver                "evdev"
EndSection

The three options may be required for reasonable input behavior.
Also try to ssh into the machine to inspect dmesg and maybe the xorg log.

Offline

#7 2017-05-05 22:42:04

rhomheow
Member
Registered: 2017-05-02
Posts: 19

Re: [SOLVED] Keyboard not responding in xfce4

Tried this. System told me that "MatchisKeyboard" could not be recognized. However, when I commented that line out, the DE loaded and I could enter tty but then my mouse also stopped responding.

seth wrote:

Try replacing xf86-input-libinput with xf86-input-evdev (install the latter and add some /etc/X11/xorg.conf.d/11-keyboard.conf)

Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard     "yes"
    Option              "XkbModel" "evdev"
    Option              "XkbRules" "xorg"
    Option              "XkbKeycodes" "evdev"
    Driver                "evdev"
EndSection

The three options may be required for reasonable input behavior.
Also try to ssh into the machine to inspect dmesg and maybe the xorg log.

Offline

#8 2017-05-06 06:52:09

seth
Member
Registered: 2012-09-03
Posts: 63,078

Re: [SOLVED] Keyboard not responding in xfce4

Yes, thus "MatchIsKeyboard" and btw. not "MatchisKeyboard" - case matters.
What's the exact error message?

Offline

#9 2017-05-08 19:15:30

rhomheow
Member
Registered: 2017-05-02
Posts: 19

Re: [SOLVED] Keyboard not responding in xfce4

I edited the keyboard.conf file again and it worked this time. Thank you so much.

seth wrote:

Yes, thus "MatchIsKeyboard" and btw. not "MatchisKeyboard" - case matters.
What's the exact error message?

Offline

#10 2017-05-08 19:39:34

seth
Member
Registered: 2012-09-03
Posts: 63,078

Re: [SOLVED] Keyboard not responding in xfce4

So is there a pending problem with the keyboard input or did this fix the the initial problem as well?
(In case, please always remember to mark a thread as solved - to hint others; and in this case me as well ;-)

Offline

#11 2017-05-11 19:43:43

rhomheow
Member
Registered: 2017-05-02
Posts: 19

Re: [SOLVED] Keyboard not responding in xfce4

[SOLVED] No this fixed all the problems. Thank you.

seth wrote:

So is there a pending problem with the keyboard input or did this fix the the initial problem as well?
(In case, please always remember to mark a thread as solved - to hint others; and in this case me as well ;-)

Offline

#12 2017-05-11 20:37:36

seth
Member
Registered: 2012-09-03
Posts: 63,078

Re: [SOLVED] Keyboard not responding in xfce4

No, you got to edit the first posts title ;-)

Offline

#13 2017-05-11 22:21:36

rhomheow
Member
Registered: 2017-05-02
Posts: 19

Re: [SOLVED] Keyboard not responding in xfce4

Done

seth wrote:

No, you got to edit the first posts title ;-)

Offline

Board footer

Powered by FluxBB