The xte tag has no wiki summary.
3
votes
1answer
132 views
detect if key is pressed from script
I would like to detect if a key is being pressed when running a script. I have the following script:
#!/bin/bash
sleep 0.5
xte 'str sometext'
I run this script using a shortcut to paste "sometext" ...
2
votes
0answers
153 views
xte and keyboard mapping
I'm trying to fake xinput events with xte:
xte "str $(echo '<ABC@gmail.com>')"
But, I get:
WQBC@g;qil<co;X
That's really weird, I'm using US keyboard and mapping, but xte gives this ...