Sending keystrokes to a window from shell.
I'm trying to control xmms from the command line. I've got an X10
RemoteMouse and I can run commands by pushing buttons on the remote.
For example, I currently have these keys mapped:
[CD]
Power xmms&
Rew xmms --rew
Play xmms --play
Pause xmms --play-pause
Stop xmms --stop
FF xmms --fwd
.VolUp aumix -w +1
.VolDown aumix -w -1
mute aumix -w 0
But, I'd like more control. For one thing I'd like to be able to skip
ahead and skip back within a song.
Now, the keybindings for xmms offer a lot more options. So, I'm
wondering if there's something that would allow me to send a key to a
specific window in X. That is, can I run something from the command
line to send a right arrow key to the xmms main window?
Otherwise, any other ideas?
Thanks,
--
Bill Moseley
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: