title: Automatic web-page refresh using xdotool - not sending key after window focus
body: <p><strong>Given:</strong> </p>
  
  <p>I have Firefox with the <em>[Firefox Page Title]</em> page open on my Ubuntu computer. </p>
  
  <p><strong>Here is my command:</strong></p>
  
  <pre><code>xdotool search "[Firefox Page Title]" windowactivate --sync key --clearmodifiers ctrl+r
  </code></pre>
  
  <p><strong>Documentation:</strong></p>
  
  <p>xdotool website with documentation/examples is <a href="http://www.semicomplete.com/projects/xdotool/" rel="noreferrer">here</a>.</p>
  
  <p>Example straight from the xdotool website:</p>
  
  <pre><code># As of version 2.20100623, you can do this simpler version of above:
  xdotool search "Mozilla Firefox" windowactivate --sync key --clearmodifiers ctrl+l
  </code></pre>
  
  <p><strong>Notes:</strong></p>
  
  <p>I'm using xdotool version 2.20110530.1.</p>
  
  <p>The command correctly focuses my screen to whatever window title I choose, but it doesn't send the ctrl+r key to the window, as the website doesn't refresh. I receive no error messages from the command. (<em>Refresh shortcut in Firefox is ctrl+r</em>)</p>
  
  <p><strong>Wanted Behavior:</strong></p>
  
  <p>The command will hopefully (when it works) be applied to a web server statistics page that is open 24/7 on my server computer, I'd like it to refresh the page automatically so I can view new traffic to my website without me having to do anything.</p>
  
  <p><strong>EDIT:</strong> I'm open to using other applications that can provide this functionality, if you know of something else that's easy/similar, please provide it as an answer! If I can't get this working I'll default to the next best thing.</p>