Automatic web-page refresh using xdotool - not sending key after window focus

前端 未结 7 1006
清歌不尽
清歌不尽 2020-12-31 23:52

Given:

I have Firefox with the [Firefox Page Title] page open on my Ubuntu computer.

Here is my command:

7条回答
  •  醉话见心
    2021-01-01 00:18

    The following xdotool command works perfectly for me (switches to the first found Firefox window, refreshes current tab):

    xdotool search "Navigator" windowactivate key 'ctrl+r'
    

    Running Ubuntu 14.04.1 on xdotool 3.20140217.1

提交回复
热议问题