Created
February 22, 2016 08:28
-
-
Save Codesleuth/3e6dd8cde9f8705397e3 to your computer and use it in GitHub Desktop.
Refresh a Chromium window on Raspberry Pi via SSH with F5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh $1 -Y -t 'export DISPLAY=:0.0 | |
xdotool key --window "$(xdotool search --onlyvisible --class chromium | head -n 1)" F5' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mostly derived from here: http://unix.stackexchange.com/questions/87831/how-to-send-keystrokes-f5-from-terminal-to-a-process