Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xfce4+notebook: arrow&del keys not working normally
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bluescream?
n00b
n00b


Joined: 26 Nov 2002
Posts: 27
Location: Germany

PostPosted: Mon Jun 21, 2021 9:47 pm    Post subject: xfce4+notebook: arrow and del keys not working normally Reply with quote

I have installed Gentoo on a HP Elitebook 835 G7.

When I start a xfce4 session, the arrow keys do not work as expected.
I start a xfce4-terminal, type some text, and when I try to move the cursor with the left key, the cursor does not move.
Instead a popup in the top right corner appears: "energy management: display brightness 100%"
This happens with all arrow keys and with the del key.

When I start "su - -c evtest" in the terminal and select "AT Raw Set 2 keyboard", the arrow and del keys work as expected. Even after quitting evtest. But it seemed that after the lockscreen activated, the unwanted behavior was back.

I found several older threads / bug reports about a single arrow key not working, partially solving the problem with removing the print screen shortcut in xfce.
I removed those keybindings in xfce4, but nothing changed.

As the arrow keys work as expected in sddm or in fluxbox, I assume it's an issue within xfce4.
But currently I am lost and have no idea where to look at.

* xorg-server 1.20.11
* sddm 0.18.1-r3
* fluxbox 1.3.7-r4
* xfce4-meta 4.16-r2

Any hints?
Thanks for help!

PS: On an external USB-keyboard the arrow and del keys work normally. It's only the laptops builtin keyboard with this strange behavior.
_________________
Roses are grey, violets are grey, I'm dead and colorblind.


Last edited by bluescream? on Tue Jun 22, 2021 10:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
bluescream?
n00b
n00b


Joined: 26 Nov 2002
Posts: 27
Location: Germany

PostPosted: Mon Jun 21, 2021 10:37 pm    Post subject: Reply with quote

I checked with xev with the following results:

1. Freshly started xfce4 session; started xev via xfce4-terminal; hit "up"-key; Result:
Code:

FocusOut event, serial 37, synthetic NO, window 0x3000001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x3000001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  106 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   


2. Called "su - -c evtest" in same terminal, selected "AT keyboard"; started xev as before, hit "up"-key; Result:
Code:

KeyPress event, serial 37, synthetic NO, window 0x3000001,
    root 0x6bc, subw 0x0, time 266434, (323,-177), root:(1934,1726),
    state 0x10, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3000001,
    root 0x6bc, subw 0x0, time 266546, (323,-177), root:(1934,1726),
    state 0x10, keycode 111 (keysym 0xff52, Up), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

_________________
Roses are grey, violets are grey, I'm dead and colorblind.
Back to top
View user's profile Send private message
bluescream?
n00b
n00b


Joined: 26 Nov 2002
Posts: 27
Location: Germany

PostPosted: Tue Jun 22, 2021 10:30 pm    Post subject: Reply with quote

It looks like if I found a "solution" or at least a workaround?

I logged out from xfce4 and switched to a text console.
Then I deleted all traces of xfce4 from my $home directory:
Code:
rm -rf ~/.config/xfce4
rm -rf ~/.cache/xfce4
rm -rf ~/.cache/sessions/xfce4*
rm -rf ~/.config/autostart/xfce4*
rm -rf ~/.local/share/xfce4


I still do not know, what went wrong before.
But at least I can now start working with a fresh xfce4 profile with arrow and del keys working.

Thanks for reading.
_________________
Roses are grey, violets are grey, I'm dead and colorblind.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum