Xdotool: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
export DISPLAY=:0.0 | export DISPLAY=:0.0 | ||
xdotool key A | xdotool key A | ||
If you use the "key" it sends a single key stroke, if you use "type" it sends multiple | |||
xdotool type Some words. | |||
Refresh Google Chrome web browser on a remote computer via this command in ssh shell | Refresh Google Chrome web browser on a remote computer via this command in ssh shell | ||
xdotool search --class Chrome windowactivate --sync %1 key F5 windowactivate $(xdotool getactivewindow) | xdotool search --class Chrome windowactivate --sync %1 key F5 windowactivate $(xdotool getactivewindow) |
Revision as of 11:35, 10 January 2020
Lowercase: xdotool
apt install xdotool
export DISPLAY=:0.0 xdotool key A
If you use the "key" it sends a single key stroke, if you use "type" it sends multiple
xdotool type Some words.
Refresh Google Chrome web browser on a remote computer via this command in ssh shell
xdotool search --class Chrome windowactivate --sync %1 key F5 windowactivate $(xdotool getactivewindow)