How do you send keyboard input to a program?
That is, under a Linux GUI, is there a good manual (programmable) way, or tool, of simulating keyboard input on a running pr
xdotool does have a way of sending keystrokes if limited to a focused window:
xdotool
WID=`xdotool search "Mozilla Firefox" | head -1` xdotool windowactivate $WID xdotool key ctrl+l