title: Programmatically launching standalone Adobe flashplayer on Linux/X11
body: <p>The standalone flashplayer takes no arguments other than a .swf file when you launch it from the command line. I need the player to go full screen, no window borders and such. This can be accomplished by hitting ctrl+f once the program has started. I want to do this programmatically as I need it to launch into full screen without any human interaction.</p>
  
  <p>My guess is that I need to some how get a handle to the window and then send it an event that looks like the "ctrl+f" keystroke. </p>
  
  <p>If it makes any difference, it looks like flashplayer is a gtk application and I have python with pygtk installed.</p>
  
  <p><b>UPDATE</b> (the solution I used... thanks to ypnos' answer):</p>
  
  <pre><code>./flashplayer http://example.com/example.swf &amp; sleep 3 &amp;&amp; ~/xsendkey -window "Adobe Flash Player 10" Control+F
  </code></pre>