/usr/bin/xmacroplay-keys is in xmacro 0.3pre-20000911-7.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
echo XX $* $#
[ $# -lt 2 ] && { echo "Usage: test <display> <key> [<key> ...]"; exit 1; }
display=$1
shift
{
for key in $*; do
echo "KeyStrPress $key"
echo "KeyStrRelease $key"
done
} | xmacroplay "$display"
|