Skip to content
Browse files

Update the xdotool command.

  • Loading branch information...
1 parent c9f90cb commit c711f20a6dfc9b9e8759f77d73125eff27dd8a79 @SimonSapin committed Jul 19, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 exyr/pages/2011/inotify-run.markdown
View
9 exyr/pages/2011/inotify-run.markdown
@@ -66,6 +66,15 @@ Let’s combine these with inotify:
Ta-da! Your browser reloads the current page as soon as you hit *Save* in your
text editor. Unfortunately though, Firefox doesn’t seem to respond to xdotool.
+**Update 2012-07-19**: one day the command above just stopped working for me.
+It turns out it only sends F5 to the *first* window that matches the search.
+Sometimes that happens to be one the reloads on F5, sometimes not.
+The new command below fixes this: `--window %@` sends the key to all matching
+windows.
+
+ xdotool search --name Chromium key --window %@ F5
+
+
How it works
------------

0 comments on commit c711f20

Please sign in to comment.
Something went wrong with that request. Please try again.