Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xte]

The tag has no usage guidance.

0
votes
1answer
142 views

How do I get xbindkeys to separate its modifiers from xte's?

When I do such as this in .xbindkeysrc "xte 'keydown Control_L' 'key W' 'keyup Control_L'" Shift + b:9 it performs the action of ctrl+shift+w instead of just the ctrl+w I expected. Any idea how ...
1
vote
1answer
2k views

Mapping mouse events to key presses using xbindkeys

I want to map various mouse actions to key presses using xbindkeys. All my attempts to do this in my .xbindkeysrc file have failed. Attempts have been made using xte and xdotool. Below is a summary of ...
6
votes
2answers
2k views

Keyboard emulation in Wayland

Is there a way to make xdotool or xte or any other alternative to work in Fedora 26? I'm trying to emulate keypresses (using xbindkeys), e.g. pressing Alt+B would emulate pressing Ctrl+Shift+B. But ...
0
votes
1answer
1k views

How to close epiphany through a script with cron?

I have been making scripts to open and close a specific website with a cronjob on the raspberry Pi. The opening script works perfectly. It is as follows: #!/bin/bash export DISPLAY=:0 && ...
4
votes
1answer
539 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
1answer
950 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 very ...