5

In my .xbindkeysrc I'm trying to bind Alt+L to the Up arrow key.

xvkbd works okay in some places, but doesn't send anything at all in the terminal. For example:

"xvkbd  -xsendevent -text "\[Up]""
    Alt + l

xdotool works in the terminal, but only sends the Up key once, because I had to add + Release, otherwise it triggers too early or something and always sends nothing:

"xdotool key --clearmodifiers Up"
    Alt + l + Release

Neither of these solutions are very good. I just want J, K, L, ; to be arrow keys while Alt is held down.

Farzher
  • 295

1 Answers1

1

Try:

"xset r off; xdotool keyup --window 0 l key --window 0 --clearmodifiers Up; xset r on"
    Alt + l
midenok
  • 848
  • 1
  • 10
  • 15