Skip to content

Instantly share code, notes, and snippets.

@scraperdragon
Created December 2, 2013 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scraperdragon/7748277 to your computer and use it in GitHub Desktop.
Save scraperdragon/7748277 to your computer and use it in GitHub Desktop.
Run a process which spams focus windows silently, like Selenium. And view it if you want to.
Xvfb :99 -ac &
export DISPLAY=:99
# your command here
killall Xvfb
x11vnc -display :99 &
vncviewer localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment