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.
xmodmap
np, the problem with that though is I can't swap keys ONLY while alt is down. – Farzher May 09 '14 at 14:25