using xdotool to send a keystroke to a window in the scratch pad

asked 2014-04-29 06:55:22 +0000

simao gravatar image

Hello,

I am trying to use the following command to send a space keystroke to a window in the scratchpad:

xdotool key --window $(xdotool search --classname rdio.com) space

But the keystoke is never sent to the window.

If I assign this command to a key combination using bindsym --release it works if the scratchpad is in focus, but not if the window is hidden.

How can I send a space keystroke to a window in the scratchpad?

Thanks

edit retag flag offensive close merge delete