jordansissel / xdotool

fake keyboard/mouse input, window management, and more
Other
3.21k stars 318 forks source link

Wrong input with custom Xmodmap #236

Open Ceda-EI opened 5 years ago

Ceda-EI commented 5 years ago

What I tried

xdotool key Up

Expected Output

Up arrow is pressed

Actual Output

k is pressed

Minimal changes in xmodmap to reproduce the bug

$ diff <(xmodmap -pke) Xmodmap # Current layout is the default
0a1,2
> clear mod5
> add mod5 = Mode_switch ISO_Level3_Shift
38c40
< keycode  45 = k K k K
---
> keycode  45 = k K Up Next
rafaeln commented 5 years ago

I'm facing the same issue.