<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>i3 FAQ - Individual question feed</title><link>https://faq.i3wm.org/questions/</link><description>Frequently asked questions and answers about the i3 window manager</description><atom:link href="http://faq.i3wm.org/feeds/question/3744/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Tue, 29 Apr 2014 06:55:22 +0000</lastBuildDate><item><title>using xdotool to send a keystroke to a window in the scratch pad</title><link>https://faq.i3wm.org/question/3744/using-xdotool-to-send-a-keystroke-to-a-window-in-the-scratch-pad/</link><description>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
</description><pubDate>Tue, 29 Apr 2014 06:55:22 +0000</pubDate><guid>https://faq.i3wm.org/question/3744/using-xdotool-to-send-a-keystroke-to-a-window-in-the-scratch-pad/</guid></item></channel></rss>