Skip to content

Instantly share code, notes, and snippets.

@madx
Created June 4, 2013 15:09
Show Gist options
  • Save madx/5706650 to your computer and use it in GitHub Desktop.
Save madx/5706650 to your computer and use it in GitHub Desktop.
Refresh Firefox from the command line
OLD_WID=`xdotool getactivewindow | head -1`
WID=`xdotool search --name "Mozilla Firefox" | head -1`
xdotool windowactivate $WID
xdotool key F5
xdotool windowactivate $OLD_WID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment